void Awake() { if (instance != null) { Debug.LogError("There is more build manager in the scene !"); return; } instance = this; }
private void Start() { buildManager = turretBuildManager.instance; }
void Start() { rend = GetComponent <Renderer>(); startColor = rend.material.color; buildManager = turretBuildManager.instance; }