Beispiel #1
0
        public GameObject[] Search(SubTag subTag)
        {
            Stack <GameObject> data = new Stack <GameObject>();
            var ea = new SearchingSubTagEventArgs(subTag, data);

            OnSearchingSubTag(ea);
            return(ea.Data.ToArray());
        }
Beispiel #2
0
 protected virtual void OnSearchingSubTag(SearchingSubTagEventArgs e)
 {
     SearchingSubTag?.Invoke(this, e);
 }