jimmy tremblay-Bernier 86fbe09b20 initial commit
2022-03-12 20:32:56 -05: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);
}
}