Interface ICarriableUnit
Assembly: cs.temp.dll.dll
Syntax
public interface ICarriableUnit : IEntityTargetComponent, IEntityComponent, IMonoBehaviour, IEntityPostInitializable
Properties
CurrCarrier
Declaration
IUnitCarrier CurrCarrier { get; }
Property Value
CurrSlot
Declaration
Transform CurrSlot { get; }
Property Value
| Type |
Description |
| Transform |
|
CurrSlotID
Declaration
Property Value
Methods
Declaration
AddableUnitData GetAddableData(SetTargetInputData input)
Parameters
Returns
| Type |
Description |
| AddableUnitData |
|
GetAddableData(Boolean)
Declaration
AddableUnitData GetAddableData(bool playerCommand)
Parameters
| Type |
Name |
Description |
| Boolean |
playerCommand |
|
Returns
| Type |
Description |
| AddableUnitData |
|
OnCarrierUnitAdded(IUnitCarrier, UnitCarrierEventArgs)
Declaration
void OnCarrierUnitAdded(IUnitCarrier carrier, UnitCarrierEventArgs args)
Parameters
| Type |
Name |
Description |
| IUnitCarrier |
carrier |
|
| UnitCarrierEventArgs |
args |
|
SetTarget(IUnitCarrier, AddableUnitData)
Declaration
ErrorMessage SetTarget(IUnitCarrier carrier, AddableUnitData addableData)
Parameters
| Type |
Name |
Description |
| IUnitCarrier |
carrier |
|
| AddableUnitData |
addableData |
|
Returns
Events
UnitAdded
Declaration
event CustomEventHandler<IUnitCarrier, UnitCarrierEventArgs> UnitAdded
Event Type
| Type |
Description |
| CustomEventHandler<IUnitCarrier, UnitCarrierEventArgs> |
|
UnitRemoved
Declaration
event CustomEventHandler<IUnitCarrier, UnitCarrierEventArgs> UnitRemoved
Event Type
| Type |
Description |
| CustomEventHandler<IUnitCarrier, UnitCarrierEventArgs> |
|