Esempio n. 1
0
    private void Start()
    {
        raycastController = GetComponent <IRayCastController>();
        emitterLeft       = touchControllerLeft.GetComponentInChildren <IParticleEmitter>();
        emitterRight      = touchControllerRight.GetComponentInChildren <IParticleEmitter>();

        shootSoundLeft  = audioControl.FindAudioClipByName("Shoot_2").AudioClip;
        shootSoundRight = audioControl.FindAudioClipByName("Shoot_1").AudioClip;
    }