Search Results for

    Show / Hide Table of Contents

    Interface IUnitCarrier

    Inherited Members
    IEntityComponent.Code
    IEntityComponent.IsActive
    IEntityComponent.Entity
    IEntityComponent.Data
    IEntityComponent.ActiveStatusUpdate
    IEntityComponent.SetActive(Boolean, Boolean)
    IEntityComponent.SetActiveLocal(Boolean, Boolean)
    IEntityComponent.OnTaskUIRequest(IReadOnlyList<EntityComponentTaskUIAttributes>, IReadOnlyList<String>)
    IEntityComponent.OnTaskUIClick(EntityComponentTaskUIAttributes)
    IEntityComponent.LaunchAction(Byte, SetTargetInputData)
    IEntityComponent.LaunchActionLocal(Byte, SetTargetInputData)
    IEntityComponent.HandleComponentUpgrade(IEntityComponent)
    IEntityComponent.OnAwaitingTaskTargetSet(EntityComponentTaskUIAttributes, TargetData<IEntity>)
    IMonoBehaviour.enabled
    IMonoBehaviour.transform
    IMonoBehaviour.gameObject
    IMonoBehaviour.StartCoroutine(IEnumerator)
    IMonoBehaviour.StopCoroutine(Coroutine)
    IMonoBehaviour.StopCoroutine(IEnumerator)
    IMonoBehaviour.GetComponent<T>()
    IMonoBehaviour.GetComponentInChildren<T>()
    IMonoBehaviour.GetComponent(Type)
    IMonoBehaviour.GetComponentInChildren(Type)
    Namespace: RTSEngine.EntityComponent
    Assembly: cs.temp.dll.dll
    Syntax
    public interface IUnitCarrier : IEntityComponent, IMonoBehaviour, IAddableUnit, IEntityPostInitializable

    Properties

    AllowMovementToExitCarrier

    Declaration
    bool AllowMovementToExitCarrier { get; }
    Property Value
    Type Description
    Boolean

    CarrierSlots

    Declaration
    IReadOnlyList<IUnit> CarrierSlots { get; }
    Property Value
    Type Description
    System.Collections.Generic.IReadOnlyList<IUnit>

    CurrAmount

    Declaration
    int CurrAmount { get; }
    Property Value
    Type Description
    Int32

    HasMaxAmount

    Declaration
    bool HasMaxAmount { get; }
    Property Value
    Type Description
    Boolean

    MaxAmount

    Declaration
    int MaxAmount { get; }
    Property Value
    Type Description
    Int32

    Methods

    CallUnitsAction(Boolean)

    Declaration
    ErrorMessage CallUnitsAction(bool playerCommand)
    Parameters
    Type Name Description
    Boolean playerCommand
    Returns
    Type Description
    ErrorMessage

    CanCallUnit(SetTargetInputData)

    Declaration
    ErrorMessage CanCallUnit(SetTargetInputData data)
    Parameters
    Type Name Description
    SetTargetInputData data
    Returns
    Type Description
    ErrorMessage

    EjectAction(IUnit, Boolean, Boolean)

    Declaration
    ErrorMessage EjectAction(IUnit unit, bool destroyed, bool playerCommand)
    Parameters
    Type Name Description
    IUnit unit
    Boolean destroyed
    Boolean playerCommand
    Returns
    Type Description
    ErrorMessage

    EjectAllAction(Boolean, Boolean)

    Declaration
    ErrorMessage EjectAllAction(bool destroyed, bool playerCommand)
    Parameters
    Type Name Description
    Boolean destroyed
    Boolean playerCommand
    Returns
    Type Description
    ErrorMessage

    GetEjectablePosition(IUnit)

    Declaration
    Vector3 GetEjectablePosition(IUnit unit)
    Parameters
    Type Name Description
    IUnit unit
    Returns
    Type Description
    Vector3

    IsUnitStored(IUnit)

    Declaration
    bool IsUnitStored(IUnit unit)
    Parameters
    Type Name Description
    IUnit unit
    Returns
    Type Description
    Boolean

    Events

    UnitAdded

    Declaration
    event CustomEventHandler<IUnitCarrier, UnitCarrierEventArgs> UnitAdded
    Event Type
    Type Description
    CustomEventHandler<IUnitCarrier, UnitCarrierEventArgs>

    UnitCalled

    Declaration
    event CustomEventHandler<IUnitCarrier, UnitCarrierEventArgs> UnitCalled
    Event Type
    Type Description
    CustomEventHandler<IUnitCarrier, UnitCarrierEventArgs>

    UnitRemoved

    Declaration
    event CustomEventHandler<IUnitCarrier, UnitCarrierEventArgs> UnitRemoved
    Event Type
    Type Description
    CustomEventHandler<IUnitCarrier, UnitCarrierEventArgs>
    In This Article
    Back to top Unity RTS Engine Documentation