Exemple #1
0
 private void Start()
 {
     controller = controller.GetComponent <karakterController>();
     music();
     gamePause = false;
     if (araMenu.activeSelf)
     {
         araMenu.SetActive(false);
     }
     if (!gamePause)
     {
         Time.timeScale = 1.0f;
     }
     setSceneTexts();
 }
Exemple #2
0
 // Use this for initialization
 void Start()
 {
     controller = controller.GetComponent <karakterController>();
     menuScript = menuScript.GetComponent <menuScripts>();
 }