Class EntitySelection
Inheritance
EntitySelection
Implements
IEntityPreInitializable
Assembly: cs.temp.dll.dll
Syntax
public abstract class EntitySelection : MonoBehaviour, IEntitySelection, IMonoBehaviour, IEntityPreInitializable
Fields
selectionAudio
Declaration
protected AudioClipFetcher selectionAudio
Field Value
Type |
Description |
AudioClipFetcher |
|
Properties
attackMgr
Declaration
protected IAttackManager attackMgr { get; }
Property Value
Type |
Description |
IAttackManager |
|
audioMgr
Declaration
protected IGameAudioManager audioMgr { get; }
Property Value
Type |
Description |
IGameAudioManager |
|
CanSelect
Declaration
public bool CanSelect { get; }
Property Value
Entity
Declaration
public IEntity Entity { get; }
Property Value
Declaration
protected virtual bool extraSelectCondition { get; }
Property Value
globalEvent
Declaration
protected IGlobalEventPublisher globalEvent { get; }
Property Value
Type |
Description |
IGlobalEventPublisher |
|
IsActive
Declaration
public bool IsActive { get; set; }
Property Value
IsSelected
Declaration
public bool IsSelected { get; }
Property Value
logger
Declaration
protected IGameLoggingService logger { get; }
Property Value
Type |
Description |
IGameLoggingService |
|
selectionMgr
Declaration
protected ISelectionManager selectionMgr { get; }
Property Value
SelectOwnerOnly
Declaration
public bool SelectOwnerOnly { get; set; }
Property Value
Methods
Disable()
Declaration
IsSelectionCollider(Collider)
Declaration
public bool IsSelectionCollider(Collider collider)
Parameters
Type |
Name |
Description |
Collider |
collider |
|
Returns
OnAwaitingTaskAction(EntityComponentTaskUIAttributes)
Declaration
public void OnAwaitingTaskAction(EntityComponentTaskUIAttributes taskData)
Parameters
Type |
Name |
Description |
EntityComponentTaskUIAttributes |
taskData |
|
OnDeselected(EntityDeselectionEventArgs)
Declaration
public void OnDeselected(EntityDeselectionEventArgs args)
Parameters
Type |
Name |
Description |
EntityDeselectionEventArgs |
args |
|
OnDirectAction()
Declaration
public void OnDirectAction()
OnDisabled()
Declaration
protected virtual void OnDisabled()
OnEntityPreInit(IGameManager, IEntity)
Declaration
public void OnEntityPreInit(IGameManager gameMgr, IEntity entity)
Parameters
Type |
Name |
Description |
IGameManager |
gameMgr |
|
IEntity |
entity |
|
OnInit()
Declaration
protected virtual void OnInit()
OnSelected(EntitySelectionEventArgs)
Declaration
public void OnSelected(EntitySelectionEventArgs args)
Parameters
Type |
Name |
Description |
EntitySelectionEventArgs |
args |
|
Events
Deselected
Declaration
public event CustomEventHandler<IEntity, EntityDeselectionEventArgs> Deselected
Event Type
Type |
Description |
CustomEventHandler<IEntity, EntityDeselectionEventArgs> |
|
Selected
Declaration
public event CustomEventHandler<IEntity, EntitySelectionEventArgs> Selected
Event Type
Type |
Description |
CustomEventHandler<IEntity, EntitySelectionEventArgs> |
|
Implements
IEntityPreInitializable