Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
public void SwapPosition(UnitComponent other) { Tile thisTile = currentTile; Tile otherTile = other.currentTile; StartCoroutine(movementComponent.MovingDirectlyTo(otherTile)); StartCoroutine(other.GetComponent <MovementComponent>().MovingDirectlyTo(thisTile)); }