blob: d8d978923d9d9e7fc658180ab0a075d88c8b6f11 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public abstract class AnimationEventBase : ScriptableObject
{
public int startFrame;
public abstract TimelineEventProxy.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; }
}
|