Search Results for

    Show / Hide Table of Contents

    Class DropOffTarget

    Inheritance
    Object
    DropOffTarget
    Implements
    IDropOffTarget
    IAddableUnit
    IEntityPostInitializable
    Namespace: RTSEngine.ResourceExtension
    Assembly: cs.temp.dll.dll
    Syntax
    public class DropOffTarget : MonoBehaviour, IDropOffTarget, IAddableUnit, IEntityPostInitializable

    Properties

    Code

    Declaration
    public string Code { get; }
    Property Value
    Type Description
    String

    Entity

    Declaration
    public IEntity Entity { get; }
    Property Value
    Type Description
    IEntity

    logger

    Declaration
    protected IGameLoggingService logger { get; }
    Property Value
    Type Description
    IGameLoggingService

    mvtMgr

    Declaration
    protected IMovementManager mvtMgr { get; }
    Property Value
    Type Description
    IMovementManager

    terrainMgr

    Declaration
    protected ITerrainManager terrainMgr { get; }
    Property Value
    Type Description
    ITerrainManager

    Methods

    Add(IUnit, AddableUnitData)

    Declaration
    public ErrorMessage Add(IUnit unit, AddableUnitData addableUnitData)
    Parameters
    Type Name Description
    IUnit unit
    AddableUnitData addableUnitData
    Returns
    Type Description
    ErrorMessage

    CanAdd(IUnit, AddableUnitData)

    Declaration
    public ErrorMessage CanAdd(IUnit unit, AddableUnitData addableData = null)
    Parameters
    Type Name Description
    IUnit unit
    AddableUnitData addableData
    Returns
    Type Description
    ErrorMessage

    CanDropResourceType(ResourceTypeInfo)

    Declaration
    public bool CanDropResourceType(ResourceTypeInfo resourceType)
    Parameters
    Type Name Description
    ResourceTypeInfo resourceType
    Returns
    Type Description
    Boolean

    CanMove(IUnit, AddableUnitData)

    Declaration
    public ErrorMessage CanMove(IUnit unit, AddableUnitData addableData = null)
    Parameters
    Type Name Description
    IUnit unit
    AddableUnitData addableData
    Returns
    Type Description
    ErrorMessage

    Disable()

    Declaration
    public void Disable()

    GetAddablePosition(IUnit)

    Declaration
    public Vector3 GetAddablePosition(IUnit unit)
    Parameters
    Type Name Description
    IUnit unit
    Returns
    Type Description
    Vector3

    Move(IUnit, AddableUnitData)

    Declaration
    public ErrorMessage Move(IUnit unit, AddableUnitData addableData)
    Parameters
    Type Name Description
    IUnit unit
    AddableUnitData addableData
    Returns
    Type Description
    ErrorMessage

    OnEntityPostInit(IGameManager, IEntity)

    Declaration
    public void OnEntityPostInit(IGameManager gameMgr, IEntity entity)
    Parameters
    Type Name Description
    IGameManager gameMgr
    IEntity entity

    Implements

    IDropOffTarget
    IAddableUnit
    IEntityPostInitializable
    In This Article
    Back to top Unity RTS Engine Documentation