김다솜

add game intro

This diff is collapsed. Click to expand it.
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class Title : MonoBehaviour
{
public string SceneToLoad;
public void LoadGame()
{
SceneManager.LoadScene(SceneToLoad);
}
void update()
{
Debug.Log("1");
if (Input.GetMouseButtonDown(0))
{
Debug.Log("2");
SceneManager.LoadScene(SceneToLoad);
}
}
}
......@@ -4,5 +4,11 @@
EditorBuildSettings:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Scenes: []
m_Scenes:
- enabled: 1
path: Assets/Scenes/Intro.unity
guid: 4f091d5869b23d84292067f1da4ad389
- enabled: 1
path: Assets/Scenes/humanoid.unity
guid: c754f8b1d9dd68c4eb77c0549e9494e8
m_configObjects: {}
......