ShanxiKnowledgeBase/SXElectricityInformationAcq.../Assets/Scripts/ToolsPackSceneManager.cs

18 lines
529 B
C#

using System;
using System.Threading.Tasks;
using MotionFramework;
using UnityEngine;
using UnityEngine.Serialization;
namespace DefaultNamespace
{
[ScriptDescription("工具间的选择类,除了工具间场景,其他场景应选择:其他")]
public class ToolsPackSceneManager : MonoBehaviour
{
[SerializeField] private ToolsPackScene toolsPackScene;
private void Start()
{
MotionEngine.GetModule<ToolsPackManager>().SetToolsPackScene(toolsPackScene);
}
}
}