Interface IEntityTargetComponent
Assembly: cs.temp.dll.dll
Syntax
public interface IEntityTargetComponent : IEntityComponent, IMonoBehaviour, IEntityPostInitializable
Properties
CanSearch
Declaration
Property Value
HasTarget
Declaration
Property Value
IsIdle
Declaration
Property Value
OrderAudio
Declaration
AudioClip OrderAudio { get; }
Property Value
Type |
Description |
AudioClip |
|
Priority
Declaration
Property Value
RequireIdleEntity
Declaration
bool RequireIdleEntity { get; }
Property Value
TargetData
Declaration
EntityTargetComponentData TargetData { get; }
Property Value
Declaration
SetTargetInputData TargetInputData { get; }
Property Value
Methods
CanStopOnSetIdleSource(IEntityTargetComponent)
Declaration
bool CanStopOnSetIdleSource(IEntityTargetComponent idleSource)
Parameters
Returns
IsTargetInRange(Vector3, TargetData<IEntity>)
Declaration
bool IsTargetInRange(Vector3 sourcePosition, TargetData<IEntity> target)
Parameters
Type |
Name |
Description |
Vector3 |
sourcePosition |
|
TargetData<IEntity> |
target |
|
Returns
Declaration
ErrorMessage IsTargetValid(SetTargetInputData testInput)
Parameters
Returns
Declaration
bool IsTargetValid(SetTargetInputData testInput, out ErrorMessage errorMessage)
Parameters
Returns
Declaration
ErrorMessage IsTargetValidOnSearch(SetTargetInputData testInput)
Parameters
Returns
Declaration
ErrorMessage SetTarget(SetTargetInputData input)
Parameters
Returns
SetTarget(TargetData<IEntity>, Boolean)
Declaration
ErrorMessage SetTarget(TargetData<IEntity> newTarget, bool playerCommand)
Parameters
Returns
Declaration
ErrorMessage SetTargetLocal(SetTargetInputData input)
Parameters
Returns
SetTargetLocal(TargetData<IEntity>, Boolean)
Declaration
ErrorMessage SetTargetLocal(TargetData<IEntity> newTarget, bool playerCommand)
Parameters
Returns
Stop()
Declaration
Events
TargetStop
Declaration
event CustomEventHandler<IEntityTargetComponent, TargetDataEventArgs> TargetStop
Event Type
TargetUpdated
Declaration
event CustomEventHandler<IEntityTargetComponent, TargetDataEventArgs> TargetUpdated
Event Type