Пример #1
0
 void OnGUI()
 {
     if (GUILayout.Button("Start"))
     {
         t1.Start();
     }
     if (GUILayout.Button("Cancel"))
     {
         t1.Cancel();
     }
     if (GUILayout.Button("Finish"))
     {
         t1.Finish();
     }
     if (GUILayout.Button("Rewind"))
     {
         t1.Rewind();
     }
 }