Interface IInteractiveObject
Assembly: NeoFPS.dll
Syntax
public interface IInteractiveObject
Properties
highlighted
Declaration
bool highlighted { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
holdDuration
Declaration
float holdDuration { get; }
Property Value
| Type |
Description |
| System.Single |
|
interactable
Declaration
bool interactable { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
Declaration
string tooltipAction { get; }
Property Value
| Type |
Description |
| System.String |
|
Declaration
string tooltipName { get; }
Property Value
| Type |
Description |
| System.String |
|
Methods
Interact(ICharacter)
Declaration
void Interact(ICharacter character)
Parameters
Events
onCursorEnter
Declaration
event UnityAction onCursorEnter
Event Type
| Type |
Description |
| UnityAction |
|
onCursorExit
Declaration
event UnityAction onCursorExit
Event Type
| Type |
Description |
| UnityAction |
|
Declaration
event UnityAction onTooltipChanged
Event Type
| Type |
Description |
| UnityAction |
|
onUsed
Declaration
event UnityAction<ICharacter> onUsed
Event Type