Class CameraUpgradesDatabase
- Namespace
- DefaultNamespace
- Assembly
- Assembly-CSharp.dll
[CreateAssetMenu(menuName = "Database/CameraUpgradesDatabase", order = 9999, fileName = "CameraUpgradesDatabase")]
public class CameraUpgradesDatabase : ObjectDatabaseAsset<CameraUpgradesDatabase, CameraUpgradeItem>, ISerializationCallbackReceiver
- Inheritance
-
SerializedScriptableObjectCameraUpgradesDatabase
- Implements
-
ISerializationCallbackReceiver
- Inherited Members
-
SerializedScriptableObject.OnAfterDeserialize()SerializedScriptableObject.OnBeforeSerialize()
- Extension Methods
Constructors
CameraUpgradesDatabase()
public CameraUpgradesDatabase()
Fields
UpgradeTypeToItemsDic
public Dictionary<CameraUpgradeItem.CameraUpgradeType, List<CameraUpgradeItem>> UpgradeTypeToItemsDic
Field Value
Methods
TryGetItemFromUpgradeID(byte, out CameraUpgradeItem)
public static bool TryGetItemFromUpgradeID(byte id, out CameraUpgradeItem item)
Parameters
id
byteitem
CameraUpgradeItem