private void Initialize() { MessageListenerRegistration.PerformRegistrationForObjectPlacementGuide(this); _instance = this; _transform = transform; EditorApplication.update -= OnEditorUpdate; EditorApplication.update += OnEditorUpdate; }
public Octave3DScene() { MessageListenerRegistration.PerformRegistrationForOctave3DScene(this); // Note: Needed when erasing objects and then Undo. If this step is not performed, // then when the erase operation is undone, the restored objects will not // be registered with the tree. Undo.undoRedoPerformed -= RegisterUnregisteredObjects; Undo.undoRedoPerformed += RegisterUnregisteredObjects; }
public NamedEntityCollectionWithEntityMarker() { MessageListenerRegistration.PerformRegistrationForNamedEntityCollectionWithMarker(this); }
public ObjectPlacementPath() { MessageListenerRegistration.PerformRegistrationForObjectPlacementPath(this); }
private void OnEnable() { MessageListenerRegistration.PerformRegistrationForInspector(this); }
public PrefabManagementWindow() { MessageListenerRegistration.PerformRegistrationForPrefabManagementWindow(this); }
private void OnEnable() { CreateDefaultCategoryIfNoCategoryExists(); MessageListenerRegistration.PerformRegistrationForPrefabCategoryDatabase(this); }