测试代码
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using FairyGUI;
|
||||
using System.IO;
|
||||
using FairyGUI;
|
||||
using NBC;
|
||||
using UnityEngine;
|
||||
|
||||
@@ -6,6 +7,11 @@ namespace NBF.Utils
|
||||
{
|
||||
public static class ItemHelper
|
||||
{
|
||||
public static string GetFullModelPath(this ItemConfig config)
|
||||
{
|
||||
return Path.Combine("gfx", config.Model);
|
||||
}
|
||||
|
||||
public static ItemType GetItemType(this uint id)
|
||||
{
|
||||
return (ItemType)(id / 10000);
|
||||
|
||||
Reference in New Issue
Block a user