C# Class InteractableObject, Unity_tools

Inheritance: InteractableOnClick
Show file Open project: kennyist/Unity_tools Class Usage Examples

Public Properties

Property Type Description
InputButton string
TotalHoldTime float
slowResetMultiplier float
type Type

Public Methods

Method Description
Awake ( ) : void
CurrentHeldTime ( ) : float

Get the time the button has been held for.

HitEvent ( bool b, GameObject g ) : void
Update ( ) : void

Method Details

Awake() public method

public Awake ( ) : void
return void

CurrentHeldTime() public method

Get the time the button has been held for.
public CurrentHeldTime ( ) : float
return float

HitEvent() public method

public HitEvent ( bool b, GameObject g ) : void
b bool
g GameObject
return void

Update() public method

public Update ( ) : void
return void

Property Details

InputButton public property

public string InputButton
return string

TotalHoldTime public property

public float TotalHoldTime
return float

slowResetMultiplier public property

public float slowResetMultiplier
return float

type public property

public Type type
return Type