Hex Terrains Framework
Search Results for

    Show / Hide Table of Contents

    Interface IHexTerrainViewModeSubscriber

    Namespace: Fwt.HexTerrains.ViewModes.Data
    Assembly: fwt.hexterrains.dll
    Syntax
    public interface IHexTerrainViewModeSubscriber

    Properties

    Name

    Declaration
    string Name { get; }
    Property Value
    Type Description
    string

    Methods

    OnViewModeChanged(Entity, HexTerrainViewMode)

    Method called when the view mode of a terrain changes. Implement this method to update the subscriber's state based on the new view mode.

    Declaration
    void OnViewModeChanged(Entity terrainEntity, HexTerrainViewMode viewMode)
    Parameters
    Type Name Description
    Entity terrainEntity

    The entity representing the terrain whose view mode has changed.

    HexTerrainViewMode viewMode

    Extension Methods

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