示例#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>();
 }