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