Class Unit
Assembly: cs.temp.dll.dll
Syntax
public class Unit : FactionEntity, IUnit, IFactionEntity, IEntity, IMonoBehaviour, IEquatable<IEntity>
Properties
BuilderComponent
Declaration
public IBuilder BuilderComponent { get; }
Property Value
| Type |
Description |
| IBuilder |
|
CarriableUnit
Declaration
public ICarriableUnit CarriableUnit { get; }
Property Value
| Type |
Description |
| ICarriableUnit |
|
CollectorComponent
Declaration
public IResourceCollector CollectorComponent { get; }
Property Value
| Type |
Description |
| IResourceCollector |
|
CreatorEntityComponent
Declaration
public IEntityComponent CreatorEntityComponent { get; }
Property Value
| Type |
Description |
| IEntityComponent |
|
DropOffSource
Declaration
public IDropOffSource DropOffSource { get; }
Property Value
| Type |
Description |
| IDropOffSource |
|
Health
Declaration
public IUnitHealth Health { get; }
Property Value
| Type |
Description |
| IUnitHealth |
|
SpawnRallypoint
Declaration
public IRallypoint SpawnRallypoint { get; }
Property Value
| Type |
Description |
| IRallypoint |
|
Squad
Declaration
public IUnitSquad Squad { get; }
Property Value
| Type |
Description |
| IUnitSquad |
|
Type
Declaration
public override sealed EntityType Type { get; }
Property Value
Overrides
Methods
CanMove(Boolean)
Declaration
public override bool CanMove(bool playerCommand)
Parameters
| Type |
Name |
Description |
| Boolean |
playerCommand |
|
Returns
Overrides
Disable(Boolean, Boolean)
Declaration
protected override sealed void Disable(bool IsUpgrade, bool isFactionUpdate)
Parameters
Overrides
FetchComponents()
Declaration
protected override sealed void FetchComponents()
Overrides
Init(IGameManager, InitUnitParameters)
Declaration
public void Init(IGameManager gameMgr, InitUnitParameters initParams)
Parameters
OnDisabled()
Declaration
protected virtual void OnDisabled()
SetInitialTargetPosition(InitUnitParameters)
Declaration
protected virtual void SetInitialTargetPosition(InitUnitParameters initParams)
Parameters
Implements