Esempio n. 1
0
 // Start is called before the first frame update
 void Start()
 {
     fc      = faith.GetComponent <Faith_controller>();
     isRight = fc.isRight;
     offset  = new Vector2(Mathf.Abs(offset.x), offset.y);
     FindPlayer(isRight);
     ccamera = myCamera.GetComponent <Camera>();
 }
Esempio n. 2
0
 // Start is called before the first frame update
 void Start()
 {
     image = GetComponent <RawImage>();
     fc    = faith.GetComponent <Faith_controller>();
 }
Esempio n. 3
0
 private void Start()
 {
     fc     = faith.GetComponent <Faith_controller>();
     isDead = false;
 }
Esempio n. 4
0
 // Start is called before the first frame update
 void Start()
 {
     fc   = faith.GetComponent <Faith_controller>();
     anim = GetComponent <Animator>();
 }