Platformer Pro  2.3.2
A platform game kit for Unity.
PlatformerPro.EnemyMovement_WaypointMoverInspector Class Reference

Inspector for characters classes. More...

Inheritance diagram for PlatformerPro.EnemyMovement_WaypointMoverInspector:

Public Member Functions

override void OnInspectorGUI ()
 Draw inspector GUI. More...
 

Protected Member Functions

virtual void ShowWaypoints (EnemyMovement_WaypointMover movement)
 Show the scene view editor for editing waypoints. More...
 
virtual void ShowEditWaypoints (EnemyMovement_WaypointMover movement)
 Show the scene view editor for editing waypoints. More...
 
virtual Vector2 DrawMoveHandle (Vector3 position)
 Draws a move handle. More...
 
virtual bool DrawAddHandle (Vector3 a, Vector3 b)
 
virtual bool DrawRemoveHandle (Vector3 position)
 Draws a remove handle. More...
 

Protected Attributes

bool editWaypoints
 Are we editing waypoints in scene view? More...
 

Static Protected Attributes

static int sceneViewInspectorId = -1
 If od the inspector in scene view. More...
 
static GUIStyle addButtonStyle
 The add button style. More...
 
static GUIStyle removeButtonStyle
 The remove button style. More...
 
static GUIStyle moveButtonStyle
 The move button style. More...
 
static Color handleColor = Color.red
 The default color of the handles. More...
 
static Color mouseOverColor = new Color(0.7f, 0.9f, 1.0f, 1.0f)
 The color of the button handles. More...
 

Detailed Description

Inspector for characters classes.

Member Function Documentation

◆ DrawAddHandle()

virtual bool PlatformerPro.EnemyMovement_WaypointMoverInspector.DrawAddHandle ( Vector3  a,
Vector3  b 
)
protectedvirtual

◆ DrawMoveHandle()

virtual Vector2 PlatformerPro.EnemyMovement_WaypointMoverInspector.DrawMoveHandle ( Vector3  position)
protectedvirtual

Draws a move handle.

Returns
The new location.
Parameters
positionPosition of waypoint.

◆ DrawRemoveHandle()

virtual bool PlatformerPro.EnemyMovement_WaypointMoverInspector.DrawRemoveHandle ( Vector3  position)
protectedvirtual

Draws a remove handle.

Returns
True if the handle is clicked.
Parameters
positionPosition to draw the handle at.

◆ OnInspectorGUI()

override void PlatformerPro.EnemyMovement_WaypointMoverInspector.OnInspectorGUI ( )

Draw inspector GUI.

◆ ShowEditWaypoints()

virtual void PlatformerPro.EnemyMovement_WaypointMoverInspector.ShowEditWaypoints ( EnemyMovement_WaypointMover  movement)
protectedvirtual

Show the scene view editor for editing waypoints.

◆ ShowWaypoints()

virtual void PlatformerPro.EnemyMovement_WaypointMoverInspector.ShowWaypoints ( EnemyMovement_WaypointMover  movement)
protectedvirtual

Show the scene view editor for editing waypoints.

Member Data Documentation

◆ addButtonStyle

GUIStyle PlatformerPro.EnemyMovement_WaypointMoverInspector.addButtonStyle
staticprotected

The add button style.

◆ editWaypoints

bool PlatformerPro.EnemyMovement_WaypointMoverInspector.editWaypoints
protected

Are we editing waypoints in scene view?

◆ handleColor

Color PlatformerPro.EnemyMovement_WaypointMoverInspector.handleColor = Color.red
staticprotected

The default color of the handles.

◆ mouseOverColor

Color PlatformerPro.EnemyMovement_WaypointMoverInspector.mouseOverColor = new Color(0.7f, 0.9f, 1.0f, 1.0f)
staticprotected

The color of the button handles.

◆ moveButtonStyle

GUIStyle PlatformerPro.EnemyMovement_WaypointMoverInspector.moveButtonStyle
staticprotected

The move button style.

◆ removeButtonStyle

GUIStyle PlatformerPro.EnemyMovement_WaypointMoverInspector.removeButtonStyle
staticprotected

The remove button style.

◆ sceneViewInspectorId

int PlatformerPro.EnemyMovement_WaypointMoverInspector.sceneViewInspectorId = -1
staticprotected

If od the inspector in scene view.


The documentation for this class was generated from the following file: