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