1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
| using Snxxz.UI;
| using System;
| using System.Collections.Generic;
| using System.Linq;
| using System.Text;
| using UnityEngine;
| using UnityEngine.Experimental.Director;
|
| public class STM_BossShow : SMB_ShowBase
| {
| protected override void OnEnter(ShowActor owner, Animator animator, AnimatorStateInfo stateInfo, int layerIndex)
| {
| base.OnEnter(owner, animator, stateInfo, layerIndex);
| }
|
| protected override void OnUpdate(ShowActor owner, Animator animator, AnimatorStateInfo stateInfo, int layerIndex)
| {
| base.OnUpdate(owner, animator, stateInfo, layerIndex);
| if (stateInfo.normalizedTime > 0.999f)
| {
| owner.nextAction = GAStaticDefine.Act_Idle;
| }
| }
|
| protected override void OnExit(ShowActor owner, Animator animator, AnimatorStateInfo stateInfo, int layerIndex)
| {
| base.OnExit(owner, animator, stateInfo, layerIndex);
| }
| }
|
|