クラス名を直したのにCan't add scriptとなってしまいます
スクリプト名はNotesScriptです。内容は↓
using UnityEngine;
using System.Collections;
public class NotesScript : MonoBehaviour {
void Start(){ } void Update () { this.transform.position += Vector3.down * 10 * Time.deltaTime; if (this.transform.position.y < -5.0f) { Debug.Log("false"); Destroy (this.gameObject); } }
}
です。
助けてください(T ^ T)
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2016/12/16 12:57