19 lines
570 B
C#
19 lines
570 B
C#
using System;
|
||
using System.Threading.Tasks;
|
||
using MotionFramework;
|
||
using UnityEngine;
|
||
using UnityEngine.Serialization;
|
||
|
||
namespace DefaultNamespace
|
||
{
|
||
[ScriptDescription("工具间的选择类,除了工具间场景,其他场景应选择:其他,为了背包里的UI不显示X")]
|
||
public class ToolsPackSceneManager : MonoBehaviour
|
||
{
|
||
[SerializeField] private ToolsPackScene toolsPackScene;
|
||
|
||
private void Start()
|
||
{
|
||
MotionEngine.GetModule<ToolsPackManager>().SetToolsPackScene(toolsPackScene);
|
||
}
|
||
}
|
||
} |