跳转场景
This commit is contained in:
parent
90e9f9a4f2
commit
fd684c198f
@ -28,6 +28,7 @@ public class LoadScene : MonoBehaviour
|
|||||||
GameObject template=GameObject.Instantiate(templatePrefab, temlateContent);
|
GameObject template=GameObject.Instantiate(templatePrefab, temlateContent);
|
||||||
TemplateInfo templateInfo = template.GetComponent<TemplateInfo>();
|
TemplateInfo templateInfo = template.GetComponent<TemplateInfo>();
|
||||||
}
|
}
|
||||||
|
SceneManager.LoadScene(2);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void OnClickNextBtn()
|
public void OnClickNextBtn()
|
||||||
|
Loading…
Reference in New Issue
Block a user