⮞ Go to NeoFPS.com

    Show / Hide Table of Contents

    Class LockedInteractiveObject

    Inheritance
    Object
    MonoBehaviour
    LockedInteractiveObject
    Implements
    IInteractiveObject
    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()
    Namespace: NeoFPS
    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

    tooltipAction

    Declaration
    public string tooltipAction { get; protected set; }
    Property Value
    Type Description
    System.String

    tooltipName

    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
    Type Name Description
    ICharacter character
    Returns
    Type Description
    System.Boolean

    Interact(ICharacter)

    Declaration
    public virtual void Interact(ICharacter character)
    Parameters
    Type Name Description
    ICharacter character

    InteractLocked(ICharacter)

    Declaration
    public virtual void InteractLocked(ICharacter character)
    Parameters
    Type Name Description
    ICharacter character

    InteractSuccess(ICharacter)

    Declaration
    public virtual void InteractSuccess(ICharacter character)
    Parameters
    Type Name Description
    ICharacter character

    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
    Type Name Description
    INeoDeserializer reader
    NeoSerializedGameObject nsgo

    Start()

    Declaration
    protected virtual void Start()

    WriteProperties(INeoSerializer, NeoSerializedGameObject, SaveMode)

    Declaration
    public virtual void WriteProperties(INeoSerializer writer, NeoSerializedGameObject nsgo, SaveMode saveMode)
    Parameters
    Type Name Description
    INeoSerializer writer
    NeoSerializedGameObject nsgo
    SaveMode saveMode

    Events

    onCursorEnter

    Declaration
    public event UnityAction onCursorEnter
    Event Type
    Type Description
    UnityAction

    onCursorExit

    Declaration
    public event UnityAction onCursorExit
    Event Type
    Type Description
    UnityAction

    onTooltipChanged

    Declaration
    public event UnityAction onTooltipChanged
    Event Type
    Type Description
    UnityAction

    onUsed

    Declaration
    public event UnityAction<ICharacter> onUsed
    Event Type
    Type Description
    UnityAction<ICharacter>

    onUsedWhileLocked

    Declaration
    public event UnityAction<ICharacter> onUsedWhileLocked
    Event Type
    Type Description
    UnityAction<ICharacter>

    Implements

    IInteractiveObject
    Back to top Copyright © 2019 Yondernauts Game Studios Ltd
    Generated with DocFX