public GameObject SearchCanvas(CanvasTag canvasTag) { var ea = new SearchingCanvasEventArgs(canvasTag.ToString()); OnSearchingCanvas(ea); return(ea.Data); }
public GameObject[] Search(CanvasTag canvasTag) { var ea = new SearchingUIEventArgs(canvasTag.ToString(), new Stack <GameObject>()); OnSearchingUI(ea); return(ea.Data.ToArray()); }