Platformer Pro  2.3.2
A platform game kit for Unity.
PlatformerPro.BaseMovementInspector< T > Class Template Reference

Inspector for movements which uses reflection to create a pop up of available implementations from which the user can select. More...

Inheritance diagram for PlatformerPro.BaseMovementInspector< T >:

Public Member Functions

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

Static Public Member Functions

static bool DrawMultiplierSettings (Movement movement)
 

Protected Member Functions

void InitTypes ()
 When the component is accessed update. More...
 

Protected Attributes

System.Type[] types
 The available ground movement classes. More...
 
string[] typeNames
 The available ground movement class names. More...
 
string[] typeDescriptions
 The available ground movement class description. More...
 
int selectedTypeIndex
 Index of the currently selected type. More...
 
bool showDetails
 Should the details view be expanded. More...
 

Detailed Description

Inspector for movements which uses reflection to create a pop up of available implementations from which the user can select.

Type Constraints
T :BaseMovement 
T :T 

Member Function Documentation

◆ DrawMultiplierSettings()

static bool PlatformerPro.BaseMovementInspector< T >.DrawMultiplierSettings ( Movement  movement)
static

◆ InitTypes()

void PlatformerPro.BaseMovementInspector< T >.InitTypes ( )
protected

When the component is accessed update.

◆ OnInspectorGUI()

override void PlatformerPro.BaseMovementInspector< T >.OnInspectorGUI ( )

Draw the inspector GUI.

Member Data Documentation

◆ selectedTypeIndex

int PlatformerPro.BaseMovementInspector< T >.selectedTypeIndex
protected

Index of the currently selected type.

◆ showDetails

bool PlatformerPro.BaseMovementInspector< T >.showDetails
protected

Should the details view be expanded.

◆ typeDescriptions

string [] PlatformerPro.BaseMovementInspector< T >.typeDescriptions
protected

The available ground movement class description.

◆ typeNames

string [] PlatformerPro.BaseMovementInspector< T >.typeNames
protected

The available ground movement class names.

◆ types

System.Type [] PlatformerPro.BaseMovementInspector< T >.types
protected

The available ground movement classes.


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