Last active
March 10, 2022 19:31
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Make a Public Variable | |
public AK.Wwise.Bank soundBank; | |
public AK.Wwise.Event soundEvent; | |
public AK.Wwise.RTPC rtpcName; | |
int number; | |
void Start() | |
{ | |
soundBank.Load(); | |
soundEvent.Post(this.gameObject); | |
} | |
void Update() | |
{ | |
rtpcName.SetValue(this.gameObject, number); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment