ShanxiKnowledgeBase/SXElectricityFaultA&E/Assets/Scripts/ToolsPackSceneManager.cs

19 lines
570 B
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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);
}
}
}