Example #1
0
        public GameObject SearchCanvas(CanvasTag canvasTag)
        {
            var ea = new SearchingCanvasEventArgs(canvasTag.ToString());

            OnSearchingCanvas(ea);

            return(ea.Data);
        }
Example #2
0
        public GameObject[] Search(CanvasTag canvasTag)
        {
            var ea = new SearchingUIEventArgs(canvasTag.ToString(),
                                              new Stack <GameObject>());

            OnSearchingUI(ea);

            return(ea.Data.ToArray());
        }