表格相关逻辑修改和组件定义
This commit is contained in:
26
Assets/Scripts/Configs/Mem/WeightConfig.cs
Normal file
26
Assets/Scripts/Configs/Mem/WeightConfig.cs
Normal file
@@ -0,0 +1,26 @@
|
||||
using System;
|
||||
using UnityEngine;
|
||||
|
||||
namespace NBF
|
||||
{
|
||||
[TableName("gameWeights")]
|
||||
public partial class WeightConfig : ConfigGearBase
|
||||
{
|
||||
protected override string ModelRoot => "GameItemsPrefabs/";
|
||||
|
||||
public enum Type
|
||||
{
|
||||
Ball = 0,
|
||||
Teardrop = 1,
|
||||
Olive = 2
|
||||
}
|
||||
|
||||
public Type type;
|
||||
|
||||
public float weight = 0.1f;
|
||||
|
||||
public int Level = 1;
|
||||
|
||||
public int amount = 1;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user