Ejemplo n.º 1
0
 void SpawnIndicator(string str, Color color)
 {
     if (currentIndicator)
     {
         currentIndicator.Kill();
         currentIndicator = null;
     }
     currentIndicator = GameController.Instance.textController.SpawnText(str, transform.position, color, 2, parent: transform);
 }