【3Dゲームエンジン】Unity質問スレッド37
at GAMEDEV
798:名前は開発中のものです。
18/10/01 18:01:50.45 LYSNLvv6.net
>>768
見様見真似でStart関数を使ってこんな風にしてみましたが
Scene1とScene2が同時に出てしまいます。
どこを直したらいいでしょうか
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class (スクリプト名) : MonoBehaviour
{
void Start()
{
AddSceneAsync();
}
void AddSceneAsync()
{
SceneManager.LoadSceneAsync("Scene2", LoadSceneMode.Additive);
}
}
次ページ最新レス表示スレッドの検索類似スレ一覧話題のニュースおまかせリスト▼オプションを表示暇つぶし2ch
2469日前に更新/281 KB
担当:undef