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

Interface defining the action that happen on the KeyActionController when the action is triggered This is usually to make another object do something so the player can move on. More...

Inheritance diagram for Key.IKeyAction:
Key.KeyAction Key.OpenKeyAction Key.RevealKeyAction Key.WalkthroughKeyAction

Public Types

enum  KeyActionEnum { Open , Reveal , WalkThrough }

Public Member Functions

float DoKeyAction (bool isActionStarted, float actionTime, float actionSpeed)
 Carries out/continues the key induced action on the game object.

Detailed Description

Interface defining the action that happen on the KeyActionController when the action is triggered This is usually to make another object do something so the player can move on.

Member Enumeration Documentation

◆ KeyActionEnum

Enumerator
Open 
Reveal 
WalkThrough 

Member Function Documentation

◆ DoKeyAction()

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

Carries out/continues the key induced action on the game object.

Parameters
isActionStarted
actionTime
actionSpeed
Returns

Implemented in Key.KeyAction, Key.OpenKeyAction, Key.RevealKeyAction, and Key.WalkthroughKeyAction.


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