|
|
@@ -22,7 +22,7 @@ public class SStartSceneLoader : MonoBehaviour {
|
|
|
private void ShowUI()
|
|
|
{
|
|
|
// Add CanvasUI
|
|
|
- GameObject canvasStart = SFramework.SResourceManager.LoadResource("prefabs/canvas_start.prefab") as GameObject;
|
|
|
+ GameObject canvasStart = SFramework.SResourceManagerR.LoadResource("prefabs/canvas_start.prefab") as GameObject;
|
|
|
GameObject.Instantiate(canvasStart);
|
|
|
}
|
|
|
|
|
|
@@ -34,7 +34,7 @@ public class SStartSceneLoader : MonoBehaviour {
|
|
|
|
|
|
private void AddLuaRoot()
|
|
|
{
|
|
|
- GameObject luaRoot = SFramework.SResourceManager.LoadResource("prefabs/luaroot.prefab") as GameObject;
|
|
|
+ GameObject luaRoot = SFramework.SResourceManagerR.LoadResource("prefabs/luaroot.prefab") as GameObject;
|
|
|
GameObject.Instantiate(luaRoot);
|
|
|
}
|
|
|
}
|