けいくん @keikun 投稿日 : 2019年08月14日 13時34分

【テスト投稿】Unity JRPG制作 『画面遷移』

テスト Unity

概要

scriptとbuttonで画面遷移
ビルドセッティングについて

画面遷移

Test.csファイルの作成
空のGameObjectを作成
GameObjectにTest.cs張り付ける

Test.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
 
public class Test: MonoBehaviour {
     void Start () {
        SceneManager.LoadScene ("呼び出したいscene名");
    }
}

ビルドセッティング

Unityの左上にあるFile⇒build setting
シーンを登録することで遷移などすることが可能になる。
画面遷移前のsceneと遷移したいsceneの二つを登録。

レスを投稿する

コメントをしてみよう!

ユーザー登録またはログインすることであなたのアカウントでコメントができます。
また、ユーザー登録やログインをしなくてもコメントすることができます。


no_image
Eartha
2019/08/24 4:10
I have been surfing online more than 3 hours today, yet I never found any interesting article like yours.

It is pretty worth enough for me. In my opinion, if all site
owners and bloggers made good content as you did, the web will be much more useful than ever before.
Hello would you mind letting me know which webhost you're utilizing?
I've loaded your blog in 3 completely different web browsers and I must say this blog loads a lot
faster then most. Can you suggest a good
internet hosting provider at a reasonable price?
Thanks a lot, I appreciate it! I could not refrain from commenting.

Well written! http://newground.com/
no_image
Valentina
2019/11/22 15:33
Hello, I enjoy reading through your post.
I wanted to write a little comment to support you. https://aluminiumgj.com
no_image
profolan composizione
2019/12/18 21:34
Love the site-- very individual friendly and lots to see!

profolan composizione steroids does it make sense loreal paris collagen 30 review garcinia cambogia actives review how to calculate body fat http://baraita.net/blocks-hair-loss/
no_image
profolan composizione
2019/12/18 21:34
Love the site-- very individual friendly and lots to see!

profolan composizione steroids does it make sense loreal paris collagen 30
review garcinia cambogia actives review how to calculate body fat http://laboratoriogiganti.it/profolan/
no_image
crystaldreamsworld
2020/01/23 9:05
Thank you for the auspicious writeup. It in fact was a amusement account it. https://crystaldreamsworld.com
no_image
تسريع مدونة مدونة بلوجر
2020/04/08 8:42
Some wonderful images. Outstanding shades. https://bit.ly/3az58V0
no_image
تحميل برنامج فوتوشوب Ps
2020/04/30 0:34
I think that everything said made a ton of sense.
However, what about this? suppose you added a little information? I ain't suggesting
your content is not solid, but what if you added
a headline that grabbed a person's attention? I mean 【テスト投稿】Unity JRPG制作 『画面遷移』 - ThreeL is
a little plain. You might glance at Yahoo's front page and watch how
they create post headlines to get viewers interested.
You might add a video or a related picture or two to
get people excited about what you've written. Just my opinion, it could make your posts a little bit more
interesting. https://khebranet.com/adobe-photoshop-lightroom-cc/

みんなにシェアする
ツイート