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