Exemple #1
0
        public GameObject[] Search(MainTag mainTag)
        {
            Stack <GameObject> data = new Stack <GameObject>();
            var ea = new SearchingMainTagEventArgs(mainTag, data);

            OnSearchingMainTag(ea);
            return(ea.Data.ToArray());
        }
Exemple #2
0
 protected virtual void OnSearchingMainTag(SearchingMainTagEventArgs e)
 {
     SearchingMainTag?.Invoke(this, e);
 }