public override void Enter () { base.Enter (); if (FileExplorerNGUIEx.CheckWindowOpened()) { FileExplorerNGUIEx.hidden = false; } else { MLWindowController controller = new MLWindowController(); FileExplorerNGUIEx.Open(controller); controller.modelPosition = _manager.modelPosition; } }
public override void Enter() { base.Enter(); if (FileExplorerNGUIEx.CheckWindowOpened()) { FileExplorerNGUIEx.hidden = false; } else { MLWindowController controller = new MLWindowController(); FileExplorerNGUIEx.Open(controller); controller.modelPosition = _manager.modelPosition; } }
// Use this for initialization void Start () { MLWindowController controller = new MLWindowController(); FileExplorerNGUIEx.Open(controller); controller.modelPosition = modelPosition; }