Struct GhostConnectionPosition
Add this component to each connection to determine which tiles the connection should prioritize. This will be passed as argument to the built-in scale function to compute Importance. See GhostDistanceImportance implementation.
Inherited Members
Namespace: Unity.NetCode
Assembly: solution.dll
Syntax
public struct GhostConnectionPosition : IComponentData, IQueryTypeParameter
Fields
| Name | Description |
|---|---|
| Position | Position of the tile in world coordinates |
| Rotation | Currently not updated by any systems. Made available for custom importance implementations. |
| ViewSize | Currently not updated by any systems. Made available for custom importance implementations. |