Exemplo n.º 1
0
 public override void update()
 {
     if (m_RecordTime >= m_MaxTime)
     {
         // Load Next Level
         UseGuide.EnterNextScene();
         m_RecordTime = 0;
     }
     else
     {
         m_RecordTime += Time.deltaTime;
     }
 }
Exemplo n.º 2
0
 /// <summary>
 /// On Any Button Down,Enter The Game Scene
 /// </summary>
 private void OnButtonDown(object sender, ButtonEventArgs eventArguments)
 {
     // Load Next Level
     UseGuide.EnterNextScene();
     m_RecordTime = 0;
 }