PointTowardsEachotherPart
A class in Root.Township, the global namespace.
Generation part that makes the last objects spawned by two spawner parts point towards each other.
Constructors
| Member | What it is |
|---|
PointTowardsEachotherPart() | Unity makes components itself; use AddComponent or spawn a prefab instead of new. |
Fields
2 private and internal fields
Methods
| Member | What it is |
|---|
override void GenerateDynamic(GenerationCore core) | If both spawned objects have an IPointTowards, points each at the other's origin. |