Esempio n. 1
0
 void Start()
 {
     mCool = minionCooldown.getInstance();
     faith = faithHud.getInstance();
 }
Esempio n. 2
0
 public static faithHud getInstance()
 {
     if(instance == null)
         instance = (faithHud)FindObjectOfType(typeof(faithHud));
     return instance;
 }
Esempio n. 3
0
 // Use this for initialization
 void Start()
 {
     manager = UnitManager.getInstance();
     faith = faithHud.getInstance ();
     StartCoroutine("CoStart");
 }
Esempio n. 4
0
 void Awake()
 {
     manager = UnitManager.getInstance();
     hud = faithHud.getInstance();
     //Invoke("destroy", duration);
 }
Esempio n. 5
0
 void Awake()
 {
     faith = faithHud.getInstance();
     cool = minionCooldown.getInstance();
 }