void Remove(UInt16 id) { DynamicFrameSyncBehaviour behaviour = _behaviours[id]; _behaviours.Remove(id); DynamicFrameSyncBehaviourSpawner._Destroy(behaviour.gameObject); }
void Remove(DynamicFrameSyncBehaviour behaviour) { UInt16 id = behaviour.FrameSyncBehaviourID; _behaviours.Remove(id); DynamicFrameSyncBehaviourSpawner._Destroy(behaviour.gameObject); }