示例#1
0
 private static extern string Speak(
     string text,
     string voice,
     StartDelegate startCallback,
     EndDelegate endCallback,
     BoundaryDelegate boundaryCallback,
     PauseDelegate pauseCallback,
     ResumeDelegate resumeCallback,
     string lang
     );
 private void Pause(PauseDelegate func)
 {
     pauseDelegate = func;
     paused = true;
 }
示例#3
0
 void Awake()
 {
     PauseGameAction += SetPausedState;
     FindObjectOfType <Countdown>().StartGameAction += OnStartGame;
 }