表格相关逻辑修改和组件定义
This commit is contained in:
25
Assets/Scripts/Configs/Mem/FeederConfig.cs
Normal file
25
Assets/Scripts/Configs/Mem/FeederConfig.cs
Normal file
@@ -0,0 +1,25 @@
|
||||
using System;
|
||||
using UnityEngine;
|
||||
|
||||
namespace NBF
|
||||
{
|
||||
[TableName("gameFeeders")]
|
||||
public partial class FeederConfig : ConfigGearBase
|
||||
{
|
||||
public enum Type
|
||||
{
|
||||
Feeder = 0
|
||||
}
|
||||
|
||||
public Type type;
|
||||
|
||||
public float weight = 10f;
|
||||
|
||||
public float capacity = 10f;
|
||||
|
||||
public int Level = 1;
|
||||
|
||||
public int amount = 1;
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user