C# Class InteractableObject, Unity_tools

Inheritance: InteractableOnClick
Datei anzeigen 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_oe property

public string InputButton
return string

TotalHoldTime public_oe property

public float TotalHoldTime
return float

slowResetMultiplier public_oe property

public float slowResetMultiplier
return float

type public_oe property

public Type type
return Type