Hex Terrains Framework
Search Results for

    Show / Hide Table of Contents

    Class ResizeTerrainUserToolStateBase<TScreen, TCallback>

    Inheritance
    object
    SmState
    UserToolStateBase
    ResizeTerrainUserToolStateBase<TScreen, TCallback>
    ResizeTerrainUserToolState
    Implements
    ISmState
    Inherited Members
    UserToolStateBase.Settings
    UserToolStateBase.IsSubstatesVisible
    UserToolStateBase.SubStateMachine
    UserToolStateBase.UserToolAPI
    UserToolStateBase.HasSubtools
    UserToolStateBase.IsChangeViewMode
    UserToolStateBase.RequiredViewMode
    UserToolStateBase.OriginalViewMode
    UserToolStateBase.Tick()
    UserToolStateBase.ShowSettingsScreen<TViewData, TScreen>(TViewData)
    UserToolStateBase.GetUIScreen<TScreen>()
    UserToolStateBase.HideSettingsScreen<TScreen>()
    UserToolStateBase.SetupPlanetCursor(bool, int)
    UserToolStateBase.SetupPlanetCursor(bool, int, Color32)
    UserToolStateBase.SetupPlanetCursor(bool, int, Color32, bool)
    UserToolStateBase.SetupPlanetCursor(bool)
    UserToolStateBase.TrySetViewMode()
    UserToolStateBase.TryRestoreViewMode()
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Fwt.HexTerrains.TerrainEditors.UserTools.StateMachines.States
    Assembly: fwt.hexterrains.dll
    Syntax
    public abstract class ResizeTerrainUserToolStateBase<TScreen, TCallback> : UserToolStateBase, ISmState where TScreen : UIScreen, IViewDataReceiver<TCallback> where TCallback : ResizeTerrainCallbackDataSource, new()
    Type Parameters
    Name Description
    TScreen
    TCallback

    Constructors

    ResizeTerrainUserToolStateBase(IHexTerrainAPI, UserToolStateMachine)

    Declaration
    protected ResizeTerrainUserToolStateBase(IHexTerrainAPI userToolAPI, UserToolStateMachine parentStateMachine)
    Parameters
    Type Name Description
    IHexTerrainAPI userToolAPI
    UserToolStateMachine parentStateMachine

    ResizeTerrainUserToolStateBase(IHexTerrainAPI, UserToolsStateMachineBase)

    Declaration
    protected ResizeTerrainUserToolStateBase(IHexTerrainAPI userToolAPI, UserToolsStateMachineBase parentStateMachine)
    Parameters
    Type Name Description
    IHexTerrainAPI userToolAPI
    UserToolsStateMachineBase parentStateMachine

    Fields

    Screen

    Declaration
    protected TScreen Screen
    Field Value
    Type Description
    TScreen

    Properties

    CallbackDataSource

    Declaration
    protected virtual TCallback CallbackDataSource { get; set; }
    Property Value
    Type Description
    TCallback

    ParentStateMachine

    Declaration
    protected UserToolStateMachine ParentStateMachine { get; set; }
    Property Value
    Type Description
    UserToolStateMachine

    UserToolType

    Declaration
    public override int UserToolType { get; }
    Property Value
    Type Description
    int
    Overrides
    UserToolStateBase.UserToolType

    Methods

    CancelResizing()

    Declaration
    public virtual void CancelResizing()

    CreateScreenCallback()

    Declaration
    protected virtual TCallback CreateScreenCallback()
    Returns
    Type Description
    TCallback

    GetCallbackDataSource()

    Declaration
    protected virtual TCallback GetCallbackDataSource()
    Returns
    Type Description
    TCallback

    GetUIScreen()

    Declaration
    protected virtual TScreen GetUIScreen()
    Returns
    Type Description
    TScreen

    HideUIScreen()

    Declaration
    protected virtual void HideUIScreen()

    PrepareToRun()

    Declaration
    public override void PrepareToRun()
    Overrides
    UserToolStateBase.PrepareToRun()

    PrepareToStop()

    Declaration
    public override void PrepareToStop()
    Overrides
    UserToolStateBase.PrepareToStop()

    ResizeTerrain(int2)

    Declaration
    public virtual void ResizeTerrain(int2 terrainSize)
    Parameters
    Type Name Description
    int2 terrainSize

    ShowUIScreen()

    Declaration
    protected virtual void ShowUIScreen()

    Implements

    ISmState

    Extension Methods

    HashExtensions.GetHashCode_RefType<TValue>(TValue, int)
    HashExtensions.GetHashCode_RefType<TValue>(TValue, int)
    Extensions_UnityObject.SmartDestroy(object)
    Extensions_UnityObject.SmartDestroy(object)
    Extensions_UnityObject.SmartGetComponent<TComponent>(object)
    Extensions_UnityObject.SmartGetComponent<TComponent>(object)
    Extensions_UnityObject.SmartGetGameGameObject(object)
    Extensions_UnityObject.SmartGetGameGameObject(object)
    In this article
    Back to top Generated by DocFX