You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
47 lines
1.3 KiB
47 lines
1.3 KiB
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public class Pass3AniAction : AniAction
|
|
{
|
|
public override void InitAniAction()
|
|
{
|
|
base.InitAniAction();
|
|
|
|
//PassManager.Instance.AddHisitoryInfo("确保周围安全");
|
|
//PassManager.Instance.AddHisitoryInfo("判断呼救");
|
|
//PassManager.Instance.AddHisitoryInfo("心肺复苏");
|
|
|
|
|
|
|
|
AniActionDict.Add("FuSu", () =>
|
|
{
|
|
PassManager.Instance.SetStudentAni("3FuSu");
|
|
|
|
});
|
|
AniActionDict.Add("3FuSu", () =>
|
|
{
|
|
|
|
PassManager.Instance.SetCtrlPart(3);
|
|
//PassManager.Instance.SetTip(3);
|
|
PassManager.Instance.audioSource.loop = false;
|
|
PassManager.Instance.ChangeCameraPoint(3);
|
|
|
|
});
|
|
|
|
AniActionDict.Add("RGHX", () =>
|
|
{
|
|
|
|
// PassManager.Instance.SetNpcSate("仍然无明显反应");
|
|
PassManager.Instance.audioSource.loop = false;
|
|
PassManager.Instance.PartTipText.transform.parent.gameObject.SetActive(true);
|
|
PassManager.Instance.SetTip("下一关:使用AED",()=> {PassManager.Instance.PassOver(); });
|
|
|
|
PassManager.Instance.ChangeCameraPoint(1);
|
|
});
|
|
|
|
|
|
|
|
}
|
|
}
|