publicclassRotation:MonoBehaviour{
publicfloat speed =90f;// Start is called before the first frame updatevoidStart(){
}// Update is called once per framevoidUpdate
unity小游戏制作之见缝插针先看效果图这个游戏是一个入门的小游戏,主要技术就是圆盘的旋转,针跟随圆盘旋转以及分数累加等游戏先拖入一个圆,更改格式为2D然后建立脚本使其转动public class Rotation: MonoBehaviour{ public float speed = 90f; // Start is called before the first frame update void Start() { } //