platformer
Public Member Functions | Public Attributes | List of all members
UnityPlatformer.CharacterStatesCheck Class Reference

Utility class to check in wich state is a character More...

Public Member Functions

bool ValidStates (Character character)
 Character cannot be in any of this states More...
 

Public Attributes

StatesMask requiredStates = 0
 Character must be in at least one of this states More...
 
StatesMask forbiddenStates = 0
 Character cannot be in any of this states More...
 

Detailed Description

Utility class to check in wich state is a character

Check pass if:

Member Function Documentation

◆ ValidStates()

bool UnityPlatformer.CharacterStatesCheck.ValidStates ( Character  character)
inline

Character cannot be in any of this states

Member Data Documentation

◆ forbiddenStates

StatesMask UnityPlatformer.CharacterStatesCheck.forbiddenStates = 0

Character cannot be in any of this states

◆ requiredStates

StatesMask UnityPlatformer.CharacterStatesCheck.requiredStates = 0

Character must be in at least one of this states


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