Example #1
0
 // Use this for initialization
 void Awake()
 {
     firePoint  = transform.Find("ProjectileSource");
     cooldownUI = cooldownUI.GetComponent <RadialCoolDown>();
     if (firePoint == null)
     {
         Debug.Log("No ProjectileSource found under Player/Staff!");
     }
 }
Example #2
0
 // Use this for initialization
 void Awake()
 {
     cooldownUI = cooldownUI.GetComponent <RadialCoolDown>();
 }