45 lines
1.2 KiB
C#
45 lines
1.2 KiB
C#
|
|
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("")
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|