28 lines
577 B
C#
28 lines
577 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public class BowOrnamentManager : MonoBehaviour
|
|
{
|
|
public GameObject Ring;
|
|
public GameObject Jewel;
|
|
|
|
private Animator jewelAnimator;
|
|
|
|
// Start is called before the first frame update
|
|
void Start()
|
|
{
|
|
jewelAnimator = Jewel.GetComponent<Animator>();
|
|
}
|
|
|
|
public void OnBraveryUpdate()
|
|
{
|
|
jewelAnimator.SetTrigger("TriggerFlash");
|
|
}
|
|
|
|
public void ToggleBraveryGaugeFull(bool state)
|
|
{
|
|
jewelAnimator.SetBool("GlowState", state);
|
|
}
|
|
}
|