Closed BattlehubCode closed 1 year ago
WindowManager has SetWindowArgs method:
IWindowManager wm = IOC.Resolve<IWindowManager>(); var wnd = wm.CreateWindow("MyDialog"); wm.SetWindowArgs(wnd, "MyArgs");
In the script attached to the window, these arguments can be obtained with the following code:
RuntimeWindow window = GetComponentInParent<RuntimeWindow>(); Debug.Log(window.Args);
WindowManager has SetWindowArgs method:
In the script attached to the window, these arguments can be obtained with the following code: