45 lines
1.2 KiB
C#
Raw Normal View History

2025-02-12 08:43:33 +08:00
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<HoverPanel>().
SwitchZuZhuang();
}
if (Input.GetKeyDown(KeyCode.L))
{
if (FindObjectOfType(typeof(AvproVideoController)))
{
AvproVideoController avproVideoController=(AvproVideoController)FindObjectOfType(typeof(AvproVideoController));
if (avproVideoController.CurrentIndex < avproVideoController.avproVideoSteps.Length)
{
avproVideoController.GetStepFuction(avproVideoController.avproVideoSteps[avproVideoController.CurrentIndex]);
avproVideoController.SetMedioPlayer();
}
else
{
WDebug.Log("<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>һ<EFBFBD><D2BB>");
}
// avproVideoController.SetMedioPlayer();
}
// GameObject.Find("")
}
}
}