Class PickableLockedInteractiveObject
Inheritance
PickableLockedInteractiveObject
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 PickableLockedInteractiveObject : MonoBehaviour, IInteractiveObject, INeoSerializableComponent
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 |
|
locked
Declaration
public bool locked { get; }
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 |
|
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()
GetLockpickDifficulty()
Declaration
protected virtual float GetLockpickDifficulty()
Returns
| Type |
Description |
| System.Single |
|
Interact(ICharacter)
Declaration
public virtual void Interact(ICharacter character)
Parameters
OnHighlightedChanged(Boolean)
Declaration
protected virtual void OnHighlightedChanged(bool h)
Parameters
| Type |
Name |
Description |
| System.Boolean |
h |
|
OnLockedStateChanged()
Declaration
protected virtual void OnLockedStateChanged()
OnUsed(ICharacter)
Declaration
protected virtual void OnUsed(ICharacter character)
Parameters
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
Implements