Wwise-301

Intégration de Wwise pour Unity

Page d'accueil de la certification Acheter l'examen

Leçon 5

Masquer la table des matières (0bookmark) Ajouter un signet Vidéos connexes Faire le test


Table des matières

  •  Installation of Wwise
    •  Lesson 1: Adding Sound
      •  Lesson 2: Ambiences
        •  Lesson 3: SoundBank Management
          •  Lesson 4: Posting Events from Script
            •  Lesson 5: Controlling Game Syncs from Script
              •  Controlling Game Syncs from Script
                •  Setting States using the AkState Component
                  •  Setting Game Parameters using Wwise-Types
                    •  Setting a Switch using a Wwise-Type
                      •  Understanding Global and Game Object Scope
                        •  Component or Script
                          •  Reference Scripts
                            •  Setting Game Parameters using Wwise-Types: SetTimeOfDayRTPC
                              •  Setting a Switch using a Wwise-Type: PostWwiseEvent
                            •  Lesson 6: Using Effects on Regions
                              •  Lesson 7: Callbacks
                                •  Lesson 8: Advanced Music System
                                  •  Lesson 9: Making Your Own Adventure Game

                                    Setting a Switch using a Wwise-Type: PostWwiseEvent

                                    (go to Setting a Switch using a Wwise-Type)

                                    using System.Collections;
                                    using System.Collections.Generic;
                                    using UnityEngine;
                                        
                                    public class PostWwiseEvent : MonoBehaviour {
                                        public AK.Wwise.Event MyEvent;
                                        public void PlayFootstepSound(){
                                            PlayerManager.foot_L.GetMaterial().SetValue(gameObject);
                                            MyEvent.Post(gameObject);
                                        }
                                        
                                        // Update is called once per frame.
                                        void Update () {
                                            
                                        }
                                    }
                                    

                                     Précédent Faire le test Suivant 