Search Results for

    Show / Hide Table of Contents

    Struct SyncableAssetRef

    A resilient reference to a specific asset in DewResources database. Survives resource unloads and variant clears.

    Namespace: Global
    Assembly: Dew.Core.dll
    Syntax
    [Serializable]
    public struct SyncableAssetRef

    Constructors

    SyncableAssetRef(Object)

    Declaration
    public SyncableAssetRef(Object v = null)
    Parameters
    Type Name Description
    UnityEngine.Object v

    Fields

    guid

    Declaration
    public string guid
    Field Value
    Type Description
    string

    isActor

    Declaration
    public bool isActor
    Field Value
    Type Description
    bool

    isMonoBehaviour

    Declaration
    public bool isMonoBehaviour
    Field Value
    Type Description
    bool

    typeAssemblyQualifiedName

    Declaration
    public string typeAssemblyQualifiedName
    Field Value
    Type Description
    string

    typeName

    Declaration
    public string typeName
    Field Value
    Type Description
    string

    Properties

    asset

    Declaration
    [JsonIgnore]
    public Object asset { get; set; }
    Property Value
    Type Description
    UnityEngine.Object

    lightAsset

    Declaration
    [JsonIgnore]
    public Object lightAsset { get; }
    Property Value
    Type Description
    UnityEngine.Object

    Methods

    ClearCache()

    Declaration
    public void ClearCache()

    Equals(SyncableAssetRef)

    Declaration
    public bool Equals(SyncableAssetRef other)
    Parameters
    Type Name Description
    SyncableAssetRef other
    Returns
    Type Description
    bool

    Equals(object)

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    object obj
    Returns
    Type Description
    bool
    Overrides
    System.ValueType.Equals(object)

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int
    Overrides
    System.ValueType.GetHashCode()

    Operators

    operator ==(SyncableAssetRef, SyncableAssetRef)

    Declaration
    public static bool operator ==(SyncableAssetRef left, SyncableAssetRef right)
    Parameters
    Type Name Description
    SyncableAssetRef left
    SyncableAssetRef right
    Returns
    Type Description
    bool

    implicit operator Object(SyncableAssetRef)

    Declaration
    public static implicit operator Object(SyncableAssetRef assetRef)
    Parameters
    Type Name Description
    SyncableAssetRef assetRef
    Returns
    Type Description
    UnityEngine.Object

    implicit operator SyncableAssetRef(Object)

    Declaration
    public static implicit operator SyncableAssetRef(Object t)
    Parameters
    Type Name Description
    UnityEngine.Object t
    Returns
    Type Description
    SyncableAssetRef

    operator !=(SyncableAssetRef, SyncableAssetRef)

    Declaration
    public static bool operator !=(SyncableAssetRef left, SyncableAssetRef right)
    Parameters
    Type Name Description
    SyncableAssetRef left
    SyncableAssetRef right
    Returns
    Type Description
    bool
    In This Article
    Back to top Shape of Dreams API Documentation