Unity and Flutter apps Home Page
Work to create apps for generating revenue
Loading...
Searching...
No Matches
Key.KeyAction Class Reference

This class sets up and later calls the KeyActionController's key activation action Its not a unity class but uses Unity classes to perform actions against During the init, a constructor call, the key action is put in place and then later called as needed by the KeyActionController instance(which will have picked an action at config time) More...

Inheritance diagram for Key.KeyAction:
Key.IKeyAction

Public Member Functions

 KeyAction (KeyActionController pKeyActionController)
 Sets up the key action according to the parent KeyActionController settings The action will be to call the appropriate child class.
float DoKeyAction (bool isActionStarted, float actionTime, float actionSpeed)
 Calls through from this as the parent to the implementing child action class.

Additional Inherited Members

Public Types inherited from Key.IKeyAction
enum  KeyActionEnum { Open , Reveal , WalkThrough }

Detailed Description

This class sets up and later calls the KeyActionController's key activation action Its not a unity class but uses Unity classes to perform actions against During the init, a constructor call, the key action is put in place and then later called as needed by the KeyActionController instance(which will have picked an action at config time)

Constructor & Destructor Documentation

◆ KeyAction()

Key.KeyAction.KeyAction ( KeyActionController pKeyActionController)

Sets up the key action according to the parent KeyActionController settings The action will be to call the appropriate child class.

Parameters
pKeyActionController
Exceptions
NotImplementedException

Member Function Documentation

◆ DoKeyAction()

float Key.KeyAction.DoKeyAction ( bool isActionStarted,
float actionTime,
float actionSpeed )

Calls through from this as the parent to the implementing child action class.

Parameters
isActionStarted
actionTime
actionSpeed
Returns

Implements Key.IKeyAction.


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