예제 #1
0
 protected virtual void Awake()
 {
     _identifier         = UniqueIdentifier.Generate();
     ActiveState         = _activeState as IActiveState;
     InteractableFilters =
         _interactableFilters.ConvertAll(mono => mono as IMonoBehaviourFilter);
 }
예제 #2
0
 public static void Release(UniqueIdentifier identifier)
 {
     _identifierSet.Remove(identifier.ID);
 }
예제 #3
0
 protected virtual void OnDestroy()
 {
     UniqueIdentifier.Release(_id);
 }
예제 #4
0
 protected virtual void Awake()
 {
     _id = UniqueIdentifier.Generate();
 }