using System.Collections; using System.Collections.Generic; using UnityEngine; namespace Ether { public static class GlobalController { /// /// 设置玩家输入操作 /// public static void SetPlayerInputOperation(bool isInputEnabled) { PlayerController playerController = GameObject.FindWithTag("Player").GetComponent(); playerController?.SetInputOperation(isInputEnabled); } } }