

print("existed.lua run ... ...")

local ExistedTab = ExistedTab or {}


function ExistedTab.Test(info)
	print("ExistedTab.Test Called -> " .. info)
end

local function ShowUI()
	
	local gameObject = CS.UnityEngine.GameObject("Lua_Create")
	print("gameObject.name -> " .. gameObject.name)
	
	--CS.UnityEngine.GameObject.Instantiate(gameObject)
	print("Create lua gameObject Finish.")
	
	local canvasStart = CS.SFramework.SResourceManager.LoadResource("prefabs/canvas_start.prefab")
	CS.UnityEngine.GameObject.Instantiate(canvasStart)
	print("Create canvasStart Finish.")
	gameObject:AddComponent(typeof(CS.SUIPanelStart))
	print("gameObject AddComponent Finish.")
end

function ExistedTab.ShowUI()
	ShowUI()
end

return ExistedTab


