using System; using System.Collections; using System.Collections.Generic; using UnityEngine; public abstract class AnimationEventBase : ScriptableObject { public int startFrame; public abstract TimelineEvent.EEventType type { get; } public string fullName { get { return this.type.ToString(); } } public string Name { get { string name = fullName.Replace("Event", ""); //int underscore = name.IndexOf('_'); //if (underscore != -1) //{ // name = name.Substring(underscore + 1, name.Length - underscore - 1); //} return name; } } public abstract string shortName { get; } }