/// <summary>
 ///
 /// </summary>
 /// <returns></returns>
 public static IEnumerable <KGFEventSequence> GetQueuedSequences()
 {
     for (int i = itsListOfSequencesAll.Count - 1; i >= 0; i--)
     {
         KGFEventSequence aSequence = itsListOfSequencesAll[i];
         if (aSequence == null)
         {
             itsListOfSequencesAll.RemoveAt(i);
             continue;
         }
         if (aSequence.gameObject == null)
         {
             itsListOfSequencesAll.RemoveAt(i);
             continue;
         }
         if (aSequence.IsQueued())
         {
             yield return(aSequence);
         }
     }
     yield break;
 }
	/// <summary>
	/// Cache target object on init
	/// </summary>
	void OnEnable ()
	{
		itsTarget = (KGFEventSequence)target;
		itsTarget.InitList();
	}
 /// <summary>
 /// Cache target object on init
 /// </summary>
 void OnEnable()
 {
     itsTarget = (KGFEventSequence)target;
     itsTarget.InitList();
 }