// Use this for initialization void Start() { playerMove = FindObjectOfType <PlayerMove>(); playerAttack = FindObjectOfType <PlayerAttack>(); inputAttackCheacck = FindObjectOfType <InputAttack.InputAttackCheacck>(); followCamera = FindObjectOfType <FollowCamera>(); }
private void Start() { //smartPhoneUICtrl = FindObjectOfType<SmartPhoneUICtrl>(); playerAttack = FindObjectOfType <PlayerAttack>(); inputAttackCheacck = FindObjectOfType <InputAttack.InputAttackCheacck>(); }