###前提・実現したいこと
unityのuiの勉強の為、unityちゃんがuiにあわせてアクションをとるゲームを作っていました。
###発生している問題・エラーメッセージ
All compiler errors have to be fixed before you can enter playmode!
UnityEditor.SceneView:ShowCompileErrorNotification()
###該当のソースコード
using UnityEngine; using System.Collections; using UnityEngine.UI; public class Gamescript : MonoBehaviour { public Text talkLabel; // Use this for initialization void Start () { if (Input.GetKey ("w")) { gameObject.GetComponent<Animator> ().SetBool ("hello", true); } else { gameObject.GetComponent<Animator> ().SetBool ("hello", false); } talkLabel.text = "はじめまして、私unity\n私とおしゃべりしませんか?"; } // Update is called once per frame void Update () { }
###試したこと
###補足情報(言語/FW/ツール等のバージョンなど)
より詳細な情報
回答2件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2016/07/12 09:08