Example #1
0
        private IEnumerator PlaceUnitOnGridCoroutine(Vector3 xzPosition)
        {
            yield return(new WaitForEndOfFrame());

            transform.position = Grid.PerformIntersectionWithTerrainSurface(xzPosition);
        }