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