替换玩家模型素材,添加 ChildrenMap 配置挂点
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
using GameFramework;
|
||||
using GameFramework.Event;
|
||||
|
||||
namespace SepCore.Event
|
||||
{
|
||||
public class ItemTooltipCombineEventArgs : GameEventArgs
|
||||
{
|
||||
public static readonly int EventId = typeof(ItemTooltipCombineEventArgs).GetHashCode();
|
||||
|
||||
public override int Id => EventId;
|
||||
|
||||
public int Index;
|
||||
|
||||
public ItemTooltipCombineEventArgs()
|
||||
{
|
||||
Index = -1;
|
||||
}
|
||||
|
||||
public static ItemTooltipCombineEventArgs Create(int index)
|
||||
{
|
||||
var args = ReferencePool.Acquire<ItemTooltipCombineEventArgs>();
|
||||
args.Index = index;
|
||||
return args;
|
||||
}
|
||||
|
||||
public override void Clear()
|
||||
{
|
||||
Index = -1;
|
||||
}
|
||||
}
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 06cccd1f29419fe4c866ffda3aea61af
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Reference in New Issue
Block a user