Beispiel #1
0
 public void ShowRallyPoint(Vector3 position)
 {
     transform.position = position + hideDelta;
     GLU.terminal       = GLU.screen;
     if (currentRallyPointCoroutine != null)
     {
         GLU.StopCoroutine(currentRallyPointCoroutine);
     }
     if (currentRallyCircleCoroutine != null)
     {
         GLU.StopCoroutine(currentRallyCircleCoroutine);
     }
     currentRallyPointCoroutine  = GLU.StartCoroutine(SmoothMoveTo(position));
     currentRallyCircleCoroutine = GLU.StartCoroutine(ShowRallyCircle(position + new Vector3(0, 0.001f, 0)));
 }