This commit is contained in:
commit
4539e63bb3
|
|
@ -47,10 +47,15 @@ namespace ToolsPack
|
||||||
if (MotionEngine.GetModule<ToolsPackManager>().GetToolsPackScene() == ToolsPackScene.工具间)
|
if (MotionEngine.GetModule<ToolsPackManager>().GetToolsPackScene() == ToolsPackScene.工具间)
|
||||||
{
|
{
|
||||||
bool b = MotionEngine.GetModule<AnimationProcessManager>().HandleClick(this.gameObject.name);
|
bool b = MotionEngine.GetModule<AnimationProcessManager>().HandleClick(this.gameObject.name);
|
||||||
if (IsClick)
|
|
||||||
MotionEngine.GetModule<ToolsPackManager>().AddToolsPack(this.name, this.gameObject);
|
|
||||||
if (b)
|
if (b)
|
||||||
|
{
|
||||||
|
if (IsClick)
|
||||||
|
MotionEngine.GetModule<ToolsPackManager>().AddToolsPack(this.name, this.gameObject);
|
||||||
this.gameObject.SetActive(false);
|
this.gameObject.SetActive(false);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue