Table of Contents

Class DatabaseAsset<T, ObjectT>

Namespace
Zorro.Core
Assembly
Zorro.Core.Runtime.dll
public abstract class DatabaseAsset<T, ObjectT> : SingletonAsset<T>, ISerializationCallbackReceiver where T : DatabaseAsset<T, ObjectT> where ObjectT : class

Type Parameters

T
ObjectT
Inheritance
SerializedScriptableObject
DatabaseAsset<T, ObjectT>
Implements
ISerializationCallbackReceiver
Derived
Inherited Members
SerializedScriptableObject.OnAfterDeserialize()
SerializedScriptableObject.OnBeforeSerialize()
Extension Methods

Constructors

DatabaseAsset()

protected DatabaseAsset()

Fields

Objects

public ObjectT[] Objects

Field Value

ObjectT[]

Methods

GetRandomEntry()

public static ObjectT GetRandomEntry()

Returns

ObjectT

GetRandomEntry<EntryType>()

public static EntryType GetRandomEntry<EntryType>() where EntryType : ObjectT

Returns

EntryType

Type Parameters

EntryType