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 () {
}
}
你有将脚本挂载到object上吗