Tanoda
|
Public Member Functions | |
override void | OnEnable () |
override void | OnHandleBegin (pb_Transform transform) |
override void | OnHandleMove (pb_Transform transform) |
override void | OnGUI () |
override void | OnMouseMove () |
override void | OnMouseDown () |
override void | OnMouseUp () |
override void | OnKeyDown () |
override void | OnSelectionChange (IEnumerable< GameObject > added) |
override void | OnFrameSelection () |
override bool | EnableCameraControls () |
![]() | |
void | OnKeyDownBase () |
virtual void | Update () |
virtual void | OnGUI () |
virtual void | OnMouseDown () |
virtual void | OnMouseMove () |
virtual void | OnMouseUp () |
virtual void | OnHandleBegin (pb_Transform transform) |
virtual void | OnHandleMove (pb_Transform transform) |
virtual void | OnHandleFinish () |
virtual void | OnKeyDown () |
virtual void | OnFrameSelection () |
virtual void | OnEnable () |
virtual void | OnDisabled () |
virtual void | OnSelectionChange (IEnumerable< GameObject > added) |
virtual bool | EnableCameraControls () |
virtual bool | IsMouseInUse () |
Public Attributes | |
Color | dragRectColor = new Color(0f, .75f, 1f, .6f) |
![]() | |
bool | skipOnGUI = false |
A generic editor that allows selecting and moving around GameObjects.
Definition at line 11 of file pb_ObjectEditor.cs.
|
virtual |
Override this to determine when the camera receives full control.
Reimplemented from GILES.pb_SceneEditor.
Definition at line 289 of file pb_ObjectEditor.cs.
|
virtual |
Called when an editor is first enabled in the scene. Initialize temporary resources here.
Reimplemented from GILES.pb_SceneEditor.
Definition at line 44 of file pb_ObjectEditor.cs.
|
virtual |
Called when the user presses the F
key to frame the current selection. pb_ObjectEditor forwards this to the scene camera to enable zooming to the current selection.
Reimplemented from GILES.pb_SceneEditor.
Definition at line 281 of file pb_ObjectEditor.cs.
|
virtual |
OnGUI forwarded from MonoBehaviour.
draw a selection rect
Reimplemented from GILES.pb_SceneEditor.
Definition at line 121 of file pb_ObjectEditor.cs.
|
virtual |
OnHandleBegin
is called at the start of a handle interaction. transform
is the handle's transform prior to any movement.
Reimplemented from GILES.pb_SceneEditor.
Definition at line 52 of file pb_ObjectEditor.cs.
|
virtual |
Called any time a handle is moved. OnHandleBegin will always be called prior, and OnHandleFinish will be called post.
Reimplemented from GILES.pb_SceneEditor.
Definition at line 61 of file pb_ObjectEditor.cs.
|
virtual |
Called when a user presses a key. Fired once.
duplicate
Reimplemented from GILES.pb_SceneEditor.
Definition at line 235 of file pb_ObjectEditor.cs.
|
virtual |
Called when a valid mouse down event is raised. This is passed down from pb_InputManager, which first checks that the interface doesn't need to intercept this click.
Reimplemented from GILES.pb_SceneEditor.
Definition at line 169 of file pb_ObjectEditor.cs.
|
virtual |
Called on any mouse movement. If OnMouseDown was intercepted by pb_InputManager, no movement events will be called until the next valid mouse down event.
Reimplemented from GILES.pb_SceneEditor.
Definition at line 133 of file pb_ObjectEditor.cs.
|
virtual |
Called when a valid mouse up event is raised. This is passed down from pb_InputManager, which first checks that the interface doesn't need to intercept this click.
Reimplemented from GILES.pb_SceneEditor.
Definition at line 179 of file pb_ObjectEditor.cs.
|
virtual |
Called when the current selection is modified, either through a new selection or a change in the inspector. This is the same as subscribing to pb_Selection.onSelectionChange.
Reimplemented from GILES.pb_SceneEditor.
Definition at line 265 of file pb_ObjectEditor.cs.
Definition at line 119 of file pb_ObjectEditor.cs.