A class in Root.Township, the global namespace.
Marks an object with a SurfaceDefinition, which sets how embeddables (like arrows and knives) stick into it. Objects without one use the default definition.
Constructors
| Member | What it is |
|---|
Surface() | Unity makes components itself; use AddComponent or spawn a prefab instead of new. |
Fields
2 private and internal fields
Properties
| Member | What it is |
|---|
static SurfaceDefinition DefaultDefinition { get; } | The SurfaceDefinition/Default resource, loaded on first use; used when no Surface is found in the hit object's parents. |
SurfaceDefinition Definition { get; } | This surface's definition (embed multiplier and whether direction must line up). |