private void Start() { rend = GetComponent <Renderer>(); startColor = rend.material.color; buildManager = buildManager.instance; }
//i'll be honest i dont think this is used. void Awake() { if (instance = null) { return; } instance = this; }
void Awake() { if (instance != null) { Debug.LogError("more then one buildManager is presented!"); } instance = this; }
private void Awake() { if (instance != null) { return; } instance = this; }
private void Awake() { if (instance != null) { Debug.LogError("More than one build manager"); } instance = this; }
void Awake() { if (instance != null) { Debug.LogError("More than once buildManager in scene!"); return; } instance = this; }
private void Awake() { if (instance != null) { Debug.LogError("Multiple Build Managers"); return; } instance = this; }
void inSetup() { aiMap = GetComponent <AIMap> (); GameObject temp = GameObject.Find("resourceManager"); GameObject temp2 = GameObject.Find("Building Manager"); rManager = temp.GetComponent <resourceManager> (); mManager = temp.GetComponent <marketManager> (); bManager = temp2.GetComponent <buildManager> (); pInterval = progressInterval; gInterval = garrisonInterval; cu_Interval = cleanupInterval; m_Interval = mineInterval; _state = State.Idle; }
void Start() { buildManager = buildManager.instance; }
void Awake() { instance = this; }
void Start() { rend = GetComponent <Renderer>(); defaultColor = rend.material.color; bm = buildManager.instance; }
// Use this for initialization void Start() { GameObject temp = GameObject.FindGameObjectWithTag("buildManager"); bManager = temp.GetComponent <buildManager> (); }
private void Start() { bManager = buildManager.instance; }
private void Start() { buildManager = buildManager.instance; standardCost.text = string.Format("${0}", standardTurret.turretCost); missileCost.text = string.Format("${0}", missileTurret.turretCost); }