⮞ Go to NeoFPS.com

    Show / Hide Table of Contents

    Class CameraSeeker

    Inheritance
    Object
    MonoBehaviour
    AiSeeker
    CameraSeeker
    TurretSeeker
    Implements
    INeoSerializableComponent
    IHealthManager
    IMonoBehaviour
    Inherited Members
    AiSeeker.onStateChanged
    AiSeeker.state
    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 CameraSeeker : AiSeeker, INeoSerializableComponent, IHealthManager, IMonoBehaviour

    Properties

    currentRotation

    Declaration
    public Vector2 currentRotation { get; set; }
    Property Value
    Type Description
    Vector2

    currentTarget

    Declaration
    public Transform currentTarget { get; }
    Property Value
    Type Description
    Transform

    health

    Declaration
    public float health { get; set; }
    Property Value
    Type Description
    System.Single

    healthMax

    Declaration
    public float healthMax { get; set; }
    Property Value
    Type Description
    System.Single

    inDamageFilter

    Declaration
    public DamageFilter inDamageFilter { get; set; }
    Property Value
    Type Description
    DamageFilter

    invincible

    Declaration
    public bool invincible { get; set; }
    Property Value
    Type Description
    System.Boolean

    isAlive

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

    lookTransform

    Declaration
    public Transform lookTransform { get; }
    Property Value
    Type Description
    Transform

    normalisedHealth

    Declaration
    public float normalisedHealth { get; set; }
    Property Value
    Type Description
    System.Single

    Methods

    AddDamage(Single)

    Declaration
    public void AddDamage(float damage)
    Parameters
    Type Name Description
    System.Single damage

    AddDamage(Single, IDamageSource)

    Declaration
    public void AddDamage(float damage, IDamageSource source)
    Parameters
    Type Name Description
    System.Single damage
    IDamageSource source

    AddDamage(Single, Boolean)

    Declaration
    public void AddDamage(float damage, bool critical)
    Parameters
    Type Name Description
    System.Single damage
    System.Boolean critical

    AddDamage(Single, Boolean, IDamageSource)

    Declaration
    public void AddDamage(float damage, bool critical, IDamageSource source)
    Parameters
    Type Name Description
    System.Single damage
    System.Boolean critical
    IDamageSource source

    AddDamage(Single, Boolean, IDamageSource, RaycastHit)

    Declaration
    public void AddDamage(float damage, bool critical, IDamageSource source, RaycastHit hit)
    Parameters
    Type Name Description
    System.Single damage
    System.Boolean critical
    IDamageSource source
    RaycastHit hit

    AddDamage(Single, Boolean, RaycastHit)

    Declaration
    public void AddDamage(float damage, bool critical, RaycastHit hit)
    Parameters
    Type Name Description
    System.Single damage
    System.Boolean critical
    RaycastHit hit

    AddHealth(Single)

    Declaration
    public void AddHealth(float h)
    Parameters
    Type Name Description
    System.Single h

    AddHealth(Single, IDamageSource)

    Declaration
    public void AddHealth(float h, IDamageSource source)
    Parameters
    Type Name Description
    System.Single h
    IDamageSource source

    DeadCoroutine()

    Declaration
    protected override IEnumerator DeadCoroutine()
    Returns
    Type Description
    System.Collections.IEnumerator
    Overrides
    AiSeeker.DeadCoroutine()

    EngagedCoroutine()

    Declaration
    protected override IEnumerator EngagedCoroutine()
    Returns
    Type Description
    System.Collections.IEnumerator
    Overrides
    AiSeeker.EngagedCoroutine()

    HuntingCoroutine()

    Declaration
    protected override IEnumerator HuntingCoroutine()
    Returns
    Type Description
    System.Collections.IEnumerator
    Overrides
    AiSeeker.HuntingCoroutine()

    IdleCoroutine()

    Declaration
    protected override IEnumerator IdleCoroutine()
    Returns
    Type Description
    System.Collections.IEnumerator
    Overrides
    AiSeeker.IdleCoroutine()

    OnStateChanged(AiSeeker.State, AiSeeker.State)

    Declaration
    protected override void OnStateChanged(AiSeeker.State from, AiSeeker.State to)
    Parameters
    Type Name Description
    AiSeeker.State from
    AiSeeker.State to
    Overrides
    AiSeeker.OnStateChanged(AiSeeker.State, AiSeeker.State)

    OnValidate()

    Declaration
    protected override void OnValidate()
    Overrides
    AiSeeker.OnValidate()

    ReadProperties(INeoDeserializer, NeoSerializedGameObject)

    Declaration
    public override void ReadProperties(INeoDeserializer reader, NeoSerializedGameObject nsgo)
    Parameters
    Type Name Description
    INeoDeserializer reader
    NeoSerializedGameObject nsgo
    Overrides
    AiSeeker.ReadProperties(INeoDeserializer, NeoSerializedGameObject)

    Start()

    Declaration
    protected override void Start()
    Overrides
    AiSeeker.Start()

    SuspiciousCoroutine()

    Declaration
    protected override IEnumerator SuspiciousCoroutine()
    Returns
    Type Description
    System.Collections.IEnumerator
    Overrides
    AiSeeker.SuspiciousCoroutine()

    WriteProperties(INeoSerializer, NeoSerializedGameObject, SaveMode)

    Declaration
    public override void WriteProperties(INeoSerializer writer, NeoSerializedGameObject nsgo, SaveMode saveMode)
    Parameters
    Type Name Description
    INeoSerializer writer
    NeoSerializedGameObject nsgo
    SaveMode saveMode
    Overrides
    AiSeeker.WriteProperties(INeoSerializer, NeoSerializedGameObject, SaveMode)

    Events

    onHealthChanged

    Declaration
    public event HealthDelegates.OnHealthChanged onHealthChanged
    Event Type
    Type Description
    HealthDelegates.OnHealthChanged

    onHealthMaxChanged

    Declaration
    public event HealthDelegates.OnHealthMaxChanged onHealthMaxChanged
    Event Type
    Type Description
    HealthDelegates.OnHealthMaxChanged

    onIsAliveChanged

    Declaration
    public event HealthDelegates.OnIsAliveChanged onIsAliveChanged
    Event Type
    Type Description
    HealthDelegates.OnIsAliveChanged

    Implements

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