Ejemplo n.º 1
0
        private void Initialize()
        {
            MessageListenerRegistration.PerformRegistrationForObjectPlacementGuide(this);
            _instance  = this;
            _transform = transform;

            EditorApplication.update -= OnEditorUpdate;
            EditorApplication.update += OnEditorUpdate;
        }
Ejemplo n.º 2
0
        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);
 }
Ejemplo n.º 4
0
 public ObjectPlacementPath()
 {
     MessageListenerRegistration.PerformRegistrationForObjectPlacementPath(this);
 }
Ejemplo n.º 5
0
 private void OnEnable()
 {
     MessageListenerRegistration.PerformRegistrationForInspector(this);
 }
Ejemplo n.º 6
0
 public PrefabManagementWindow()
 {
     MessageListenerRegistration.PerformRegistrationForPrefabManagementWindow(this);
 }
 private void OnEnable()
 {
     CreateDefaultCategoryIfNoCategoryExists();
     MessageListenerRegistration.PerformRegistrationForPrefabCategoryDatabase(this);
 }