Пример #1
0
 public static void UnregisterObject(GlowObjectCmd glowObject)
 {
     if (I != null)
     {
         I.glowableObjects.Remove(glowObject);
     }
 }
Пример #2
0
 public static void RegisterObject(GlowObjectCmd glowObject)
 {
     if (I != null)
     {
         I.glowableObjects.Add(glowObject);
     }
 }
Пример #3
0
 private void Awake()
 {
     onDestroyEffect = GetComponentInChildren <ParticleSystem>();
     glower          = GetComponent <GlowObjectCmd>();
 }