Exemplo n.º 1
0
	void MakeGUI()
	{
		GUIWindowTemp = NGUITools.AddChild(UIRoot, InventoryGUIPrefab);
		GUIWindowTemp.transform.localPosition = new Vector2(480f,-441f);
		ConnectNGUIManager cmn = (ConnectNGUIManager) GUIWindowTemp.GetComponent<ConnectNGUIManager>();

		GUIManager BlankSlotMan = cmn.BlankSlotManagerConnect;
		BlankSlotMan.MakeGUIWindow(this, InventoryName);

		_guiManager = cmn.NGUIManagerConnect;
		_guiManager.MakeGUIWindow(this, InventoryName);
	}