void Start() { Player = FindObjectOfType<KiritoController>(); }
void Start() { player = FindObjectOfType<KiritoController>(); camera = FindObjectOfType<ExactCameraFollow>(); currentscene = Application.loadedLevelName; }
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; }
void Start() { player = FindObjectOfType<KiritoController>(); rectYes = saoYes.GetComponent<RectTransform>(); rectNo = saoNo.GetComponent<RectTransform>(); }
void Start() { player = FindObjectOfType<KiritoController>(); camera = FindObjectOfType<ExactCameraFollow>(); currentscene = Application.loadedLevelName; SAOHP = GameObject.Find("SAOHealthBar"); }