Humanoid Control for Unity  v3
Public Member Functions | Static Public Member Functions | Public Attributes | Static Protected Attributes | Properties | List of all members
Passer.ControllerEventHandlers Class Reference

Unity Inspector

A list of EventHandlers for takeing care of controller input

Inheritance diagram for Passer.ControllerEventHandlers:
Passer.EventHandlers< ControllerEventHandler >

Public Member Functions

 ControllerEventHandlers ()
 Create new ControllerEventHandlers More...
 
void Clear ()
 
void SetMethod (EventHandler.Type eventType, UnityAction voidEvent)
 
void SetMethod (EventHandler.Type eventType, UnityAction< bool > boolEvent)
 

Static Public Member Functions

static void Cleanup (ControllerEventHandlers[] eventHandlers)
 Cleanup the eventHandlers More...
 

Public Attributes

string defaultParameterProperty
 For future use... More...
 
int id
 The id of the event handler More...
 
string label
 The label or name of the Event Handlers More...
 
string tooltip
 The tooltip text for the Event Handlers More...
 
string[] eventTypeLabels
 The labels for the EventHandler.Type to use in the GUI More...
 
string fromEventLabel
 For future use... More...
 
List< T > events
 The EventHandlers More...
 

Static Protected Attributes

static string[] controllerEventTypeLabels
 

Properties

float floatValue [get, set]
 The float input value for the controller event More...
 

Constructor & Destructor Documentation

◆ ControllerEventHandlers()

Passer.ControllerEventHandlers.ControllerEventHandlers ( )

Member Function Documentation

◆ Cleanup()

static void Passer.ControllerEventHandlers.Cleanup ( ControllerEventHandlers[]  eventHandlers)
static

Cleanup the eventHandlers

This will remove all EventHandlers for which isDead is true.

Parameters
eventHandlersThe array of eventHandlers to clean.

Member Data Documentation

◆ controllerEventTypeLabels

string [] Passer.ControllerEventHandlers.controllerEventTypeLabels
staticprotected
Initial value:
= new string[] {
"Never",
"On Press",
"On Release",
"While Down",
"While Up",
"On Change",
"Continuous"
}

◆ defaultParameterProperty

string Passer.ControllerEventHandlers.defaultParameterProperty

For future use...

◆ id

int Passer.EventHandlers< T >.id
inherited

The id of the event handler

◆ label

string Passer.EventHandlers< T >.label
inherited

The label or name of the Event Handlers

◆ tooltip

string Passer.EventHandlers< T >.tooltip
inherited

The tooltip text for the Event Handlers

◆ eventTypeLabels

string [] Passer.EventHandlers< T >.eventTypeLabels
inherited

The labels for the EventHandler.Type to use in the GUI

◆ fromEventLabel

string Passer.EventHandlers< T >.fromEventLabel
inherited

For future use...

◆ events

List<T> Passer.EventHandlers< T >.events
inherited

Property Documentation

◆ floatValue

float Passer.ControllerEventHandlers.floatValue
getset

The float input value for the controller event


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