|
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...
|
|
|
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) |
|
◆ ActivateAim< TActivate >()
void LocomotionSampleSupport.ActivateAim< TActivate > |
( |
| ) |
|
|
protected |
◆ 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
-
- Parameters
-
- 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 | |
◆ ActivateInput< TActivate >()
void LocomotionSampleSupport.ActivateInput< TActivate > |
( |
| ) |
|
|
protected |
◆ ActivateOrientation< TActivate >()
void LocomotionSampleSupport.ActivateOrientation< TActivate > |
( |
| ) |
|
|
protected |
◆ ActivateTarget< TActivate >()
void LocomotionSampleSupport.ActivateTarget< TActivate > |
( |
| ) |
|
|
protected |
◆ ActivateTransition< TActivate >()
void LocomotionSampleSupport.ActivateTransition< TActivate > |
( |
| ) |
|
|
protected |
◆ 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: