namespace Lightbug.CharacterControllerPro.Implementation { /// /// This struct contains all the inputs actions available for the character to interact with. /// [System.Serializable] public struct @struct-name@ { // Bool actions @bool-actions-definitions@ // Float actions @float-actions-definitions@ // Vector2 actions @vector2-actions-definitions@ /// /// Reset all the actions. /// public void Reset() { @bool-actions-reset@ @float-actions-reset@ @vector2-actions-reset@ } /// /// Initializes all the actions by instantiate them. Each action will be instantiated with its specific type (Bool, Float or Vector2). /// public void InitializeActions() { @bool-actions-new@ @float-actions-new@ @vector2-actions-new@ } /// /// Updates the values of all the actions based on the current input handler (human). /// public void SetValues( InputHandler inputHandler ) { if( inputHandler == null ) return; @bool-actions-setValue@ @float-actions-setValue@ @vector2-actions-setValue@ } /// /// Copies the values of all the actions from an existing set of actions. /// public void SetValues( CharacterActions characterActions ) { @bool-actions-copyValue@ @float-actions-copyValue@ @vector2-actions-copyValue@ } /// /// Update all the actions internal states. /// public void Update( float dt ) { @bool-actions-update@ } } }