18 lines
496 B
C#
18 lines
496 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public class idle_event_Fish : MonoBehaviour
|
|
{
|
|
HHWK_ShaSeng_Boss hHWK_ShaSeng_Boss;
|
|
private void Awake()
|
|
{
|
|
hHWK_ShaSeng_Boss = transform.parent.parent.GetComponent<HHWK_ShaSeng_Boss>();
|
|
}
|
|
public void HitEnd()
|
|
{
|
|
hHWK_ShaSeng_Boss.idleAnim.transform.parent.gameObject.SetActive(false);
|
|
hHWK_ShaSeng_Boss.skillAnim.transform.parent.gameObject.SetActive(true);
|
|
}
|
|
}
|