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