Hex Terrains Framework
Search Results for

    Show / Hide Table of Contents

    Struct CellItemConfigAuthoring

    Authoring structure where the cell item prefab is defined.

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Fwt.HexTerrains.CellItems
    Assembly: fwt.hexterrains.dll
    Syntax
    [Serializable]
    public struct CellItemConfigAuthoring

    Fields

    Color

    This color is used on minimap and color maps

    Declaration
    [Tooltip("This color is used on minimap and color maps")]
    public Color32 Color
    Field Value
    Type Description
    Color32

    Name

    Name of the Cell Item

    Declaration
    [Tooltip("Name of the Cell Item")]
    public string Name
    Field Value
    Type Description
    string

    States

    The index of the item in the list == CellItemConfig.Index

    Declaration
    [Tooltip("The index of the item in the list == CellItem.State")]
    public List<CellItemPrefabAuthoring> States
    Field Value
    Type Description
    List<CellItemPrefabAuthoring>

    Methods

    ExtractCellItemConfig(int, RenderEntitiesConfig, Action<GameObject>)

    Extracts the CellItemConfig from the authoring data.

    Declaration
    public CellItemConfig ExtractCellItemConfig(int index, RenderEntitiesConfig renderEntities, Action<GameObject> registerPrefabForBakingCallback)
    Parameters
    Type Name Description
    int index

    index of the cell item it will be registered under

    RenderEntitiesConfig renderEntities

    render entities config to register meshes and materials in

    Action<GameObject> registerPrefabForBakingCallback
    Returns
    Type Description
    CellItemConfig

    Extension Methods

    HashExtensions.GetHashCode_ValueType<TValue>(TValue, int)
    HashExtensions.GetHashCode_ValueType<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