// Use this for initialization void Start() { playerUp = 12f; layerText.text = playerUp.ToString(); myManager = myBuildManager.Instance; myWaves = WavesBehaviour.Instance; }
void Awake() { if (Instance != null) { Debug.Log("More than one BuildManager in scene"); return; } Instance = this; }
// Use this for initialization void Start() { myManager = myBuildManager.Instance; }