Inheritance diagram for LocomotionSampleSupport:

Public Member Functions

void Start ()
 
void Update ()
 

Static Public Member Functions

static TActivate ActivateCategory< TCategory, TActivate > (GameObject target)
 This method will ensure only one specific type TActivate in a given group of components derived from the same TCategory type is enabled. This is used by the sample support code to select between different targeting, input, aim, and other handlers. More...
 

Protected Member Functions

void ActivateHandlers< TInput, TAim, TTarget, TOrientation, TTransition > ()
 This generic method is used for activating a specific set of components in the LocomotionController. This is just one way to achieve the goal of enabling one component of each category (input, aim, target, orientation and transition) that the teleport system requires. More...
 
void ActivateInput< TActivate > ()
 
void ActivateAim< TActivate > ()
 
void ActivateTarget< TActivate > ()
 
void ActivateOrientation< TActivate > ()
 
void ActivateTransition< TActivate > ()
 
TActivate ActivateCategory< TCategory, TActivate > ()
 
void UpdateToggle (Toggle toggle, bool enabled)
 
GameObject AddInstance (GameObject template, string label)
 

Member Function Documentation

◆ ActivateAim< TActivate >()

void LocomotionSampleSupport.ActivateAim< TActivate > ( )
protected
Type Constraints
TActivate :TeleportAimHandler 

◆ ActivateCategory< TCategory, TActivate >() [1/2]

static TActivate LocomotionSampleSupport.ActivateCategory< TCategory, TActivate > ( GameObject  target)
static

This method will ensure only one specific type TActivate in a given group of components derived from the same TCategory type is enabled. This is used by the sample support code to select between different targeting, input, aim, and other handlers.

Template Parameters
TCategory
TActivate
Parameters
target
Type Constraints
TCategory :MonoBehaviour 
TActivate :MonoBehaviour 

◆ ActivateCategory< TCategory, TActivate >() [2/2]

TActivate LocomotionSampleSupport.ActivateCategory< TCategory, TActivate > ( )
protected
Type Constraints
TCategory :MonoBehaviour 
TActivate :MonoBehaviour 

◆ ActivateHandlers< TInput, TAim, TTarget, TOrientation, TTransition >()

void LocomotionSampleSupport.ActivateHandlers< TInput, TAim, TTarget, TOrientation, TTransition > ( )
protected

This generic method is used for activating a specific set of components in the LocomotionController. This is just one way to achieve the goal of enabling one component of each category (input, aim, target, orientation and transition) that the teleport system requires.

Template Parameters
TInput
TAim
TTarget
TOrientation
TTransition
Type Constraints
TInput :TeleportInputHandler 
TAim :TeleportAimHandler 
TTarget :TeleportTargetHandler 
TOrientation :TeleportOrientationHandler 
TTransition :TeleportTransition 

◆ ActivateInput< TActivate >()

void LocomotionSampleSupport.ActivateInput< TActivate > ( )
protected
Type Constraints
TActivate :TeleportInputHandler 

◆ ActivateOrientation< TActivate >()

void LocomotionSampleSupport.ActivateOrientation< TActivate > ( )
protected
Type Constraints
TActivate :TeleportOrientationHandler 

◆ ActivateTarget< TActivate >()

void LocomotionSampleSupport.ActivateTarget< TActivate > ( )
protected
Type Constraints
TActivate :TeleportTargetHandler 

◆ ActivateTransition< TActivate >()

void LocomotionSampleSupport.ActivateTransition< TActivate > ( )
protected
Type Constraints
TActivate :TeleportTransition 

◆ AddInstance()

GameObject LocomotionSampleSupport.AddInstance ( GameObject  template,
string  label 
)
protected

◆ Start()

void LocomotionSampleSupport.Start ( )

◆ Update()

void LocomotionSampleSupport.Update ( )

◆ UpdateToggle()

void LocomotionSampleSupport.UpdateToggle ( Toggle  toggle,
bool  enabled 
)
protected

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