UnityEditor.AnimationClipInfoProperties.GetEvents C# (CSharp) 메소드

GetEvents() 공개 메소드

public GetEvents ( ) : AnimationEvent[]
리턴 AnimationEvent[]
        public AnimationEvent[] GetEvents()
        {
            AnimationEvent[] eventArray = new AnimationEvent[this.GetEventCount()];
            SerializedProperty property = this.Get("events");
            if ((property != null) && property.isArray)
            {
                for (int i = 0; i < this.GetEventCount(); i++)
                {
                    eventArray[i] = this.GetEvent(i);
                }
            }
            return eventArray;
        }