jimmy tremblay-Bernier c1bf5a4ca1 initial commit
2022-03-12 22:04:30 -04:00

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);
}
}