⮞ Go to NeoFPS.com

    Show / Hide Table of Contents

    Class BaseWieldableItem

    Inheritance
    Object
    MonoBehaviour
    BaseWieldableItem
    WieldableTool
    Implements
    IWieldable
    IMonoBehaviour
    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 abstract class BaseWieldableItem : MonoBehaviour, IWieldable, IMonoBehaviour

    Properties

    animationHandler

    Declaration
    public IWieldableAnimationHandler animationHandler { get; }
    Property Value
    Type Description
    IWieldableAnimationHandler

    animator

    Declaration
    protected Animator animator { get; }
    Property Value
    Type Description
    Animator

    isBlocked

    Declaration
    public virtual bool isBlocked { get; }
    Property Value
    Type Description
    System.Boolean

    isBusy

    Declaration
    public virtual bool isBusy { get; }
    Property Value
    Type Description
    System.Boolean

    wielder

    Declaration
    public ICharacter wielder { get; }
    Property Value
    Type Description
    ICharacter

    Methods

    AddBlocker(Object)

    Declaration
    public void AddBlocker(Object o)
    Parameters
    Type Name Description
    Object o

    Awake()

    Declaration
    protected virtual void Awake()

    CheckIsBlocked()

    Declaration
    protected virtual bool CheckIsBlocked()
    Returns
    Type Description
    System.Boolean

    Deselect()

    Declaration
    public Waitable Deselect()
    Returns
    Type Description
    Waitable

    DeselectInstant()

    Declaration
    public void DeselectInstant()

    GetPose(MonoBehaviour)

    Declaration
    public PoseInformation GetPose(MonoBehaviour owner)
    Parameters
    Type Name Description
    MonoBehaviour owner
    Returns
    Type Description
    PoseInformation

    OnDisable()

    Declaration
    protected virtual void OnDisable()

    OnEnable()

    Declaration
    protected virtual void OnEnable()

    OnIsBlockedChanged(Boolean)

    Declaration
    protected virtual void OnIsBlockedChanged(bool blocked)
    Parameters
    Type Name Description
    System.Boolean blocked

    OnValidate()

    Declaration
    protected virtual void OnValidate()

    PopPose(MonoBehaviour, Single)

    Declaration
    public void PopPose(MonoBehaviour owner, float blendTime)
    Parameters
    Type Name Description
    MonoBehaviour owner
    System.Single blendTime

    PushPose(PoseInformation, MonoBehaviour, Single, Int32)

    Declaration
    public void PushPose(PoseInformation pose, MonoBehaviour owner, float blendTime, int priority = 0)
    Parameters
    Type Name Description
    PoseInformation pose
    MonoBehaviour owner
    System.Single blendTime
    System.Int32 priority

    ReadProperties(INeoDeserializer, NeoSerializedGameObject)

    Declaration
    public virtual void ReadProperties(INeoDeserializer reader, NeoSerializedGameObject nsgo)
    Parameters
    Type Name Description
    INeoDeserializer reader
    NeoSerializedGameObject nsgo

    RemoveBlocker(Object)

    Declaration
    public void RemoveBlocker(Object o)
    Parameters
    Type Name Description
    Object o

    Select()

    Declaration
    public void Select()

    Update()

    Declaration
    protected void Update()

    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

    onBlockedChanged

    Declaration
    public event UnityAction<bool> onBlockedChanged
    Event Type
    Type Description
    UnityAction<System.Boolean>

    onWielderChanged

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

    Implements

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