Show / Hide Table of Contents

    Class ComponentAssetReference<T>

    Inheritance
    Object
    AddressableAssetReference<GameObject>
    PrefabAssetReference
    ComponentAssetReference<T>
    ComponentReference
    ComponentReference<T>
    Implements
    IAssetReference<GameObject>
    Inherited Members
    PrefabAssetReference.LoadAssetAsync(Action<IAssetReference<GameObject>>)
    AddressableAssetReference<GameObject>.AssetKey
    AddressableAssetReference<GameObject>._cachedAsset
    AddressableAssetReference<GameObject>.Asset
    AddressableAssetReference<GameObject>.HasAsset
    AddressableAssetReference<GameObject>.IsLoaded
    AddressableAssetReference<GameObject>.TryGetAddressableAddress()
    AddressableAssetReference<GameObject>.LoadAsync(Action<GameObject>)
    AddressableAssetReference<GameObject>.UnloadAsset()
    Namespace: IdleKit.Core
    Assembly: cs.temp.dll.dll
    Syntax
    public abstract class ComponentAssetReference<T> : PrefabAssetReference, IAssetReference<GameObject>
    Type Parameters
    Name Description
    T

    Constructors

    ComponentAssetReference(GameObject)

    Declaration
    protected ComponentAssetReference(GameObject asset)
    Parameters
    Type Name Description
    GameObject asset

    Properties

    ComponentType

    Declaration
    public virtual Type ComponentType { get; }
    Property Value
    Type Description
    Type

    Methods

    Instantiate(Transform)

    Declaration
    public T Instantiate(Transform parentTransform = null)
    Parameters
    Type Name Description
    Transform parentTransform
    Returns
    Type Description
    T

    ValidateAsset(String)

    Declaration
    public override bool ValidateAsset(string path)
    Parameters
    Type Name Description
    String path
    Returns
    Type Description
    Boolean
    Overrides
    PrefabAssetReference.ValidateAsset(String)

    ValidateAsset(UnityEngine.Object)

    Declaration
    public override bool ValidateAsset(UnityEngine.Object obj)
    Parameters
    Type Name Description
    UnityEngine.Object obj
    Returns
    Type Description
    Boolean
    Overrides
    PrefabAssetReference.ValidateAsset(UnityEngine.Object)

    Implements

    IAssetReference<TAsset>
    Back to top Copyright © 2020 East Side Games Inc.