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