Hex Terrains Framework
Search Results for

    Show / Hide Table of Contents

    Class CreateNewTerrainUserToolStateBase<TScreen, TViewData>

    Inheritance
    object
    SmState
    UserToolStateBase
    CreateNewTerrainUserToolStateBase<TScreen, TViewData>
    CreateNewSampleTerrainUserToolState
    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 CreateNewTerrainUserToolStateBase<TScreen, TViewData> : UserToolStateBase, ISmState where TScreen : UIScreen, IViewDataReceiver<TViewData> where TViewData : class, ICreateNewTerrainStateViewData, new()
    Type Parameters
    Name Description
    TScreen
    TViewData

    Constructors

    CreateNewTerrainUserToolStateBase(IHexTerrainAPI, UserToolStateMachine)

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

    CreateNewTerrainUserToolStateBase(IHexTerrainAPI, UserToolsStateMachineBase)

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

    Properties

    ParentStateMachine

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

    Screen

    Declaration
    protected virtual TScreen Screen { get; set; }
    Property Value
    Type Description
    TScreen

    UserToolType

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

    ViewData

    Declaration
    protected virtual TViewData ViewData { get; set; }
    Property Value
    Type Description
    TViewData

    Methods

    CancelResizing()

    Declaration
    public virtual void CancelResizing()

    CreateTerrain(IHexTerrainPrefabConfig, HexTerrainSettings)

    Declaration
    public virtual void CreateTerrain(IHexTerrainPrefabConfig terrainPrefabConfig, HexTerrainSettings terrainSettings)
    Parameters
    Type Name Description
    IHexTerrainPrefabConfig terrainPrefabConfig
    HexTerrainSettings terrainSettings

    CreateViewData()

    Declaration
    protected virtual TViewData CreateViewData()
    Returns
    Type Description
    TViewData

    GetUIScreen()

    Declaration
    protected virtual TScreen GetUIScreen()
    Returns
    Type Description
    TScreen

    GetViewData(TScreen)

    Declaration
    protected virtual TViewData GetViewData(TScreen screen)
    Parameters
    Type Name Description
    TScreen screen
    Returns
    Type Description
    TViewData

    HideUIScreen()

    Declaration
    protected virtual void HideUIScreen()

    PrepareToRun()

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

    PrepareToStop()

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

    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