コード例 #1
0
 private void Start()
 {
     rodAttack      = GetComponent <FishingRodMove>();
     umbrellaAttack = GetComponent <UmbrellaMove>();
     fireworkAttack = GetComponent <FireworkMove>();
     canToggle      = true;
 }
コード例 #2
0
        //private AudioManager am;


        private void Start()
        {
            rodMove = GetComponentInParent <FishingRodMove>();
            //am = GameObject.FindGameObjectWithTag("AudioManager").GetComponent<AudioManager>();
        }