Class DealRewardDatabase
- Namespace
- DefaultNamespace
- Assembly
- Assembly-CSharp.dll
[CreateAssetMenu(fileName = "DealRewardDatabase", menuName = "DealRewardDatabase")]
public class DealRewardDatabase : SingletonAsset<DealRewardDatabase>, ISerializationCallbackReceiver
- Inheritance
-
SerializedScriptableObjectDealRewardDatabase
- Implements
-
ISerializationCallbackReceiver
- Inherited Members
-
SerializedScriptableObject.OnAfterDeserialize()SerializedScriptableObject.OnBeforeSerialize()
- Extension Methods
Constructors
DealRewardDatabase()
public DealRewardDatabase()
Fields
rewards
public Dictionary<int, Type> rewards
Field Value
Methods
GetRandom()
public DealRewardBase GetRandom()
Returns
GetRewardFromIndex(int)
public DealRewardBase GetRewardFromIndex(int index)
Parameters
index
int