Ejemplo n.º 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();
 }
Ejemplo n.º 2
0
 // Use this for initialization
 void Start()
 {
     controller = controller.GetComponent <karakterController>();
     menuScript = menuScript.GetComponent <menuScripts>();
 }
 // Use this for initialization
 void Start()
 {
     kcs = karakterComp.GetComponent <karakterController>();
     baslangicMesafesi = (transform.position - karakterComp.transform.position).magnitude;
 }