Class CameraSeeker
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 CameraSeeker : AiSeeker, INeoSerializableComponent, IHealthManager, IMonoBehaviour
Properties
currentRotation
Declaration
public Vector2 currentRotation { get; set; }
Property Value
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
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 |
|
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
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
DeadCoroutine()
Declaration
protected override IEnumerator DeadCoroutine()
Returns
| Type |
Description |
| System.Collections.IEnumerator |
|
Overrides
EngagedCoroutine()
Declaration
protected override IEnumerator EngagedCoroutine()
Returns
| Type |
Description |
| System.Collections.IEnumerator |
|
Overrides
HuntingCoroutine()
Declaration
protected override IEnumerator HuntingCoroutine()
Returns
| Type |
Description |
| System.Collections.IEnumerator |
|
Overrides
IdleCoroutine()
Declaration
protected override IEnumerator IdleCoroutine()
Returns
| Type |
Description |
| System.Collections.IEnumerator |
|
Overrides
OnStateChanged(AiSeeker.State, AiSeeker.State)
Declaration
protected override void OnStateChanged(AiSeeker.State from, AiSeeker.State to)
Parameters
Overrides
OnValidate()
Declaration
protected override void OnValidate()
Overrides
ReadProperties(INeoDeserializer, NeoSerializedGameObject)
Declaration
public override void ReadProperties(INeoDeserializer reader, NeoSerializedGameObject nsgo)
Parameters
Overrides
Start()
Declaration
protected override void Start()
Overrides
SuspiciousCoroutine()
Declaration
protected override IEnumerator SuspiciousCoroutine()
Returns
| Type |
Description |
| System.Collections.IEnumerator |
|
Overrides
WriteProperties(INeoSerializer, NeoSerializedGameObject, SaveMode)
Declaration
public override void WriteProperties(INeoSerializer writer, NeoSerializedGameObject nsgo, SaveMode saveMode)
Parameters
Overrides
Events
onHealthChanged
Declaration
public event HealthDelegates.OnHealthChanged onHealthChanged
Event Type
onHealthMaxChanged
Declaration
public event HealthDelegates.OnHealthMaxChanged onHealthMaxChanged
Event Type
onIsAliveChanged
Declaration
public event HealthDelegates.OnIsAliveChanged onIsAliveChanged
Event Type
Implements