public void UnRegister(IRayPointer rayPointer) { if (_rayPointers.Contains(rayPointer)) { _rayPointers.Remove(rayPointer); } }
public void Register(IRayPointer rayPointer) { if (!_rayPointers.Contains(rayPointer)) { _rayPointers.Add(rayPointer); } }