コード例 #1
0
 void OnTriggerEnter(Collider other)
 {
     if (other.tag == "Player")
     {
         Debug.Log("Changing Scene...");
         ScreenFade.StartSceneTransition(sceneName);
         //			SceneManager.LoadScene (sceneName, LoadSceneMode.Single);
     }
 }