using System.Collections; using System.Collections.Generic; using UnityEngine; using ZXK.BYSS; public class TestModel : MonoBehaviour { // Update is called once per frame void Update() { if (Input.GetKeyDown(KeyCode.P)) { GameObject.Find("HoverPanel").GetComponent(). SwitchZuZhuang(); } } }