Beispiel #1
0
 public void StartFlashingColors()
 {
     if (_flash != null)
     {
         return;
     }
     _flash = gameObject.AddComponent <FlashColors>();
 }
Beispiel #2
0
 public void StopFlashingColors()
 {
     Destroy(_flash);
     _flash = null;
 }