Example #1
0
 public static void UnRegister(RayTracingSubscriber sub)
 {
     Subscribers.Remove(sub);
     _transformsToWatch.Remove(sub.transform);
 }
Example #2
0
 public static void Register(RayTracingSubscriber sub)
 {
     Subscribers.Add(sub);
     _transformsToWatch.Add(sub.transform);
 }