表格相关逻辑修改和组件定义
This commit is contained in:
32
Assets/Scripts/Configs/Mem/BobberConfig.cs
Normal file
32
Assets/Scripts/Configs/Mem/BobberConfig.cs
Normal file
@@ -0,0 +1,32 @@
|
||||
using System;
|
||||
using UnityEngine;
|
||||
|
||||
namespace NBF
|
||||
{
|
||||
[TableName("gameFloats")]
|
||||
public partial class BobberConfig : ConfigGearBase
|
||||
{
|
||||
public enum Type
|
||||
{
|
||||
Slider = 0,
|
||||
Waggler = 1,
|
||||
PoleFloats = 2,
|
||||
Sport = 3,
|
||||
Ball = 4,
|
||||
Sinker = 5
|
||||
}
|
||||
|
||||
|
||||
public Type type;
|
||||
|
||||
public float weight = 10f;
|
||||
|
||||
public float displacement = 10f;
|
||||
|
||||
public bool isNightLight;
|
||||
|
||||
public int Level = 1;
|
||||
|
||||
public int amount = 1;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user