using System.Collections; using System.Collections.Generic; using UnityEngine; public class SpineEvent : MonoBehaviour { public bool isAttackOn; public bool isAttackOff; private void Awake() { GetComponentInParent().spineEvent = this; } }