コード例 #1
0
 // Use this for initialization
 void Start()
 {
     playerMove         = FindObjectOfType <PlayerMove>();
     playerAttack       = FindObjectOfType <PlayerAttack>();
     inputAttackCheacck = FindObjectOfType <InputAttack.InputAttackCheacck>();
     followCamera       = FindObjectOfType <FollowCamera>();
 }
コード例 #2
0
 private void Start()
 {
     //smartPhoneUICtrl = FindObjectOfType<SmartPhoneUICtrl>();
     playerAttack       = FindObjectOfType <PlayerAttack>();
     inputAttackCheacck = FindObjectOfType <InputAttack.InputAttackCheacck>();
 }