Search Results for

    Show / Hide Table of Contents

    Class ModifiableResourceTypeValue

    Inheritance
    Object
    ModifiableResourceTypeValue
    Namespace: RTSEngine.ResourceExtension
    Assembly: cs.temp.dll.dll
    Syntax
    public class ModifiableResourceTypeValue

    Properties

    Amount

    Declaration
    public int Amount { get; }
    Property Value
    Type Description
    Int32

    Capacity

    Declaration
    public int Capacity { get; }
    Property Value
    Type Description
    Int32

    Methods

    Has(ResourceTypeValue)

    Declaration
    public bool Has(ResourceTypeValue value)
    Parameters
    Type Name Description
    ResourceTypeValue value
    Returns
    Type Description
    Boolean

    Reset()

    Declaration
    public void Reset()

    Reset(Int32)

    Declaration
    public void Reset(int restAmount)
    Parameters
    Type Name Description
    Int32 restAmount

    UpdateValue(ResourceTypeValue)

    Declaration
    public void UpdateValue(ResourceTypeValue value)
    Parameters
    Type Name Description
    ResourceTypeValue value
    In This Article
    Back to top Unity RTS Engine Documentation