Class LockedInteractiveObject
Inheritance
LockedInteractiveObject
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: NeoFPS.dll
Syntax
public class LockedInteractiveObject : MonoBehaviour, IInteractiveObject
Properties
highlighted
Declaration
public bool highlighted { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
holdDuration
Declaration
public float holdDuration { get; }
Property Value
| Type |
Description |
| System.Single |
|
interactable
Declaration
public bool interactable { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
onCursorEnterUnityEvent
Declaration
public UnityEvent onCursorEnterUnityEvent { get; }
Property Value
| Type |
Description |
| UnityEvent |
|
onCursorExitUnityEvent
Declaration
public UnityEvent onCursorExitUnityEvent { get; }
Property Value
| Type |
Description |
| UnityEvent |
|
onUsedUnityEvent
Declaration
public UnityEvent onUsedUnityEvent { get; }
Property Value
| Type |
Description |
| UnityEvent |
|
onUsedWhileLockedUnityEvent
Declaration
public UnityEvent onUsedWhileLockedUnityEvent { get; }
Property Value
| Type |
Description |
| UnityEvent |
|
Declaration
public string tooltipAction { get; protected set; }
Property Value
| Type |
Description |
| System.String |
|
Declaration
public string tooltipName { get; protected set; }
Property Value
| Type |
Description |
| System.String |
|
Methods
Awake()
Declaration
protected virtual void Awake()
HasKey(ICharacter)
Declaration
public bool HasKey(ICharacter character)
Parameters
Returns
| Type |
Description |
| System.Boolean |
|
Interact(ICharacter)
Declaration
public virtual void Interact(ICharacter character)
Parameters
InteractLocked(ICharacter)
Declaration
public virtual void InteractLocked(ICharacter character)
Parameters
InteractSuccess(ICharacter)
Declaration
public virtual void InteractSuccess(ICharacter character)
Parameters
OnHighlightedChanged(Boolean)
Declaration
protected virtual void OnHighlightedChanged(bool h)
Parameters
| Type |
Name |
Description |
| System.Boolean |
h |
|
OnValidate()
Declaration
protected virtual void OnValidate()
ReadProperties(INeoDeserializer, NeoSerializedGameObject)
Declaration
public virtual void ReadProperties(INeoDeserializer reader, NeoSerializedGameObject nsgo)
Parameters
Start()
Declaration
protected virtual void Start()
WriteProperties(INeoSerializer, NeoSerializedGameObject, SaveMode)
Declaration
public virtual void WriteProperties(INeoSerializer writer, NeoSerializedGameObject nsgo, SaveMode saveMode)
Parameters
Events
onCursorEnter
Declaration
public event UnityAction onCursorEnter
Event Type
| Type |
Description |
| UnityAction |
|
onCursorExit
Declaration
public event UnityAction onCursorExit
Event Type
| Type |
Description |
| UnityAction |
|
Declaration
public event UnityAction onTooltipChanged
Event Type
| Type |
Description |
| UnityAction |
|
onUsed
Declaration
public event UnityAction<ICharacter> onUsed
Event Type
onUsedWhileLocked
Declaration
public event UnityAction<ICharacter> onUsedWhileLocked
Event Type
Implements