Class InteractableStates
list of Interactable states and basic comparison
Inheritance
InteractableStates
Assembly: cs.temp.dll.dll
public class InteractableStates : BaseStateModel
Constructors
Declaration
public InteractableStates()
Declaration
public InteractableStates()
Declaration
public InteractableStates(State defaultState)
Parameters
Type |
Name |
Description |
State |
defaultState |
|
Declaration
public InteractableStates(State defaultState)
Parameters
Type |
Name |
Description |
State |
defaultState |
|
Fields
Declaration
protected State[] allStates
Field Value
Declaration
protected State[] allStates
Field Value
Methods
Declaration
public override State CompareStates()
Returns
Overrides
Declaration
public override State CompareStates()
Returns
Overrides
Returns the default states for InteractableStates.
Default states are set on an interactable when it is created and no other list of
states is specified.
Default States should match "DefaultStates" scriptable object in Interactable
Declaration
public virtual List<State> GetDefaultStates()
Returns
Type |
Description |
List<State> |
|
Returns the default states for InteractableStates.
Default states are set on an interactable when it is created and no other list of
states is specified.
Default States should match "DefaultStates" scriptable object in Interactable
Declaration
public virtual List<State> GetDefaultStates()
Returns
Type |
Description |
List<State> |
|
Declaration
public State GetState(InteractableStates.InteractableStateEnum state)
Parameters
Returns
Declaration
public State GetState(InteractableStates.InteractableStateEnum state)
Parameters
Returns
Declaration
public override State[] GetStates()
Returns
Overrides
Declaration
public override State[] GetStates()
Returns
Overrides
Declaration
public virtual void SetStateOff(InteractableStates.InteractableStateEnum state)
Parameters
Declaration
public virtual void SetStateOff(InteractableStates.InteractableStateEnum state)
Parameters
Declaration
public virtual void SetStateOn(InteractableStates.InteractableStateEnum state)
Parameters
Declaration
public virtual void SetStateOn(InteractableStates.InteractableStateEnum state)
Parameters
Declaration
public virtual void SetStateValue(InteractableStates.InteractableStateEnum state, int value)
Parameters
Declaration
public virtual void SetStateValue(InteractableStates.InteractableStateEnum state, int value)
Parameters