Esempio n. 1
0
 void Start()
 {
     Player = FindObjectOfType<KiritoController>();
 }
Esempio n. 2
0
 void Start()
 {
     player = FindObjectOfType<KiritoController>();
     camera = FindObjectOfType<ExactCameraFollow>();
     currentscene = Application.loadedLevelName;
 }
Esempio n. 3
0
 void Start()
 {
     player = FindObjectOfType<KiritoController>();
     saoYes = SAOMenu.saoMenu.saoYes;
     saoNo = SAOMenu.saoMenu.saoNo;
     SAOMessageBox = SAOMenu.saoMenu.SAOMessageBox;
 }
 // Use this for initialization
 void Start()
 {
     player = FindObjectOfType<KiritoController>();
     myRigidBody = GetComponent<Rigidbody2D>();
     facingRight = player.isRight;
 }
Esempio n. 5
0
 void Start()
 {
     player = FindObjectOfType<KiritoController>();
     rectYes = saoYes.GetComponent<RectTransform>();
     rectNo = saoNo.GetComponent<RectTransform>();
 }
Esempio n. 6
0
 void Start()
 {
     player = FindObjectOfType<KiritoController>();
     camera = FindObjectOfType<ExactCameraFollow>();
     currentscene = Application.loadedLevelName;
     SAOHP = GameObject.Find("SAOHealthBar");
 }