Example #1
0
 private IEnumerator TPAudioPoolRepeatPlaying(int repeat)
 {
     while (repeat >= 0)
     {
         AudioSystem.Play("MyBundle", "Door", () => {
             ExampleHelper.MessageWithLines("TPAudioPool Sound 'Door' was played by MyBundle");
         });
         repeat--;
         yield return(ExampleHelper.WaitSecond);
     }
 }
 private void Refresh()
 {
     ExampleHelper.MessageWithLines("TPAttribute Health Value: " + health.Value);
 }