Example #1
0
 public void OrbToPlayer()
 {
     orbP.startColor      = new Color(1, 0, 0, 1);
     distanceTravelled    = 0;
     orb.velocity         = Vector3.zero;
     orb.transform.parent = player.transform;
     red      = 1.0f;
     green    = 0.92f;
     blue     = 0.016f;
     launched = false;
     orbScript.OnReturned();
     orbInd.Deactivate(orbInd.gameObject);
     StartCoroutine(CooldownTime());
 }