Example #1
0
 public static void RegisterObject(GlowObjectControl glowObj)
 {
     if (_instance != null)
     {
         _instance._glowableObjects.Add(glowObj);
     }
 }
Example #2
0
 public static void DeregisterObject(GlowObjectControl glowObj)
 {
     if (_instance != null)
     {
         if (_instance._glowableObjects.Contains(glowObj))
         {
             _instance._glowableObjects.Remove(glowObj);
         }
     }
 }