// Use this for initialization void Start() { //init the countdown timers countdownTimer = new mySimpleTimer.SimpleCountdownTimer(); countdownTimer.StartMethod(gestureHoldLength, new mySimpleTimer.SimpleCountdownTimer.TimerEventHandler(TimerZeroEvent)); demoCountdownTimer = new mySimpleTimer.SimpleCountdownTimer(); demoCountdownTimer.StartMethod(demoDelay, new mySimpleTimer.SimpleCountdownTimer.TimerEventHandler(NextGesture)); systemSounds = GameObject.Find(soundGameObjectName).GetComponent <SoundScript>(); }
// Use this for initialization void Start() { //init the countdown timers countdownTimer = new mySimpleTimer.SimpleCountdownTimer(); countdownTimer.StartMethod(gestureHoldLength, new mySimpleTimer.SimpleCountdownTimer.TimerEventHandler(TimerZeroEvent)); demoCountdownTimer = new mySimpleTimer.SimpleCountdownTimer(); demoCountdownTimer.StartMethod(demoDelay, new mySimpleTimer.SimpleCountdownTimer.TimerEventHandler(NextGesture)); systemSounds = GameObject.Find(soundGameObjectName).GetComponent<SoundScript>(); }