Hex Terrains Framework
Search Results for

    Show / Hide Table of Contents

    Struct HexCellEntitySettings

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

    Fields

    Color

    Declaration
    public Color32 Color
    Field Value
    Type Description
    Color32

    Prefabs

    Items of view prefabs for this structure. The same structure can be displayed using different views depending on structure amount in a cell (see StatePerPrefab)

    Declaration
    public FixedList16<Entity> Prefabs
    Field Value
    Type Description
    FixedList16<Entity>

    StatePerPrefab

    Items of State value of structure for prefab with corresponding index. For instance, this list contains 2 items (0, 1), and States contains 2 items: 0 = for when structure is in 0 State; 1 = for when structure is in 1 State; So if in the structure is in State = 0, this means we will display this resource using the first prefab from this list

    Declaration
    public FixedList16<byte> StatePerPrefab
    Field Value
    Type Description
    FixedList16<byte>

    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