表格相关逻辑修改和组件定义
This commit is contained in:
28
Assets/Scripts/Configs/Mem/LineConfig.cs
Normal file
28
Assets/Scripts/Configs/Mem/LineConfig.cs
Normal file
@@ -0,0 +1,28 @@
|
||||
using System;
|
||||
using UnityEngine;
|
||||
|
||||
namespace NBF
|
||||
{
|
||||
[TableName("gameLines")]
|
||||
public partial class LineConfig : ConfigGearBase
|
||||
{
|
||||
protected override string ModelRoot => "GameItemsPrefabs/";
|
||||
|
||||
public enum Type
|
||||
{
|
||||
Mono = 0,
|
||||
Braid = 1,
|
||||
Fluro = 2
|
||||
}
|
||||
|
||||
public Type type;
|
||||
|
||||
public int length = 125;
|
||||
|
||||
public float strength = 1f;
|
||||
|
||||
public float size = 0.12f;
|
||||
|
||||
public int Level = 1;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user