using UnityEngine;
using System.Collections;
public class contextMenu : MonoBehaviour {
[ContextMenu("Cancel")]
public void CreateIt(){}
using System.Collections;
public class contextMenu : MonoBehaviour {
[ContextMenu("Cancel")]
public void CreateIt(){}
}
该脚本要挂在物体上