// 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>(); }
// Start is called before the first frame update void Start() { image = GetComponent <RawImage>(); fc = faith.GetComponent <Faith_controller>(); }
private void Start() { fc = faith.GetComponent <Faith_controller>(); isDead = false; }
// Start is called before the first frame update void Start() { fc = faith.GetComponent <Faith_controller>(); anim = GetComponent <Animator>(); }