SpineEvent.cs 284 B

1234567891011121314
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. public class SpineEvent : MonoBehaviour
  5. {
  6. public bool isAttackOn;
  7. public bool isAttackOff;
  8. private void Awake()
  9. {
  10. GetComponentInParent<MoveCharacter>().spineEvent = this;
  11. }
  12. }