為什么在腳本上寫了輸出語句在控制臺上并沒有輸出?
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Test : MonoBehaviour {
// Use this for initialization
void Start () {
? ? ? ? Debug.Log("test...");
}
// Update is called once per frame
void Update () {
}
}
2017-02-05
你有將腳本掛載到object上嗎