Example #1
0
 private void Awake()
 {
     if (_instance != null && _instance != this)
     {
         Destroy(this.gameObject);
     }
     else
     {
         _instance = this;
     }
 }
Example #2
0
 public MainWindow()
 {
     InitializeComponent();
     chrono = ChronoTimer.Create(RefreshContentEvent);
 }
Example #3
0
 public ChronoTimerTests()
 {
     chrono = ChronoTimer.Create(null);
 }