Hex Terrains Framework
Search Results for

    Show / Hide Table of Contents

    Delegate HexTerrainSerializer.CustomDeserializerCallback

    If you want to deserialize a custom component or implement a custom deserialization logic for standard components, provide this callback to the serializer. Deserializer will call this callback and if the callback returns true, serializer will not try to deserialize a component by itself, assuming you have already done it.

    Namespace: Fwt.HexTerrains
    Assembly: fwt.hexterrains.dll
    Syntax
    public delegate bool HexTerrainSerializer.CustomDeserializerCallback(BinaryReader reader, Type componentType, HexTerrainSettings terrainSettings)
    Parameters
    Type Name Description
    BinaryReader reader If you want to deserialize a custom component or implement a custom deserialization logic for standard components, provide this callback to the serializer. Deserializer will call this callback and if the callback returns true, serializer will not try to deserialize a component by itself, assuming you have already done it.
    Type componentType If you want to deserialize a custom component or implement a custom deserialization logic for standard components, provide this callback to the serializer. Deserializer will call this callback and if the callback returns true, serializer will not try to deserialize a component by itself, assuming you have already done it.
    HexTerrainSettings terrainSettings If you want to deserialize a custom component or implement a custom deserialization logic for standard components, provide this callback to the serializer. Deserializer will call this callback and if the callback returns true, serializer will not try to deserialize a component by itself, assuming you have already done it.
    Returns
    Type Description
    bool

    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