
Unity3D
计算机图形学工具使用
Judy_Marder
大学生一枚
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
创建时钟
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; ///<summary> ///1.用简单的对象构建时钟。 ///2.编写一个C#脚本。 ///3.旋转时钟的指针以显示时间。 ///4.让指针动起来。 ///</summmary> public class Clock : MonoBehaviour { //定义时针,分针,秒针 ...原创 2020-09-10 17:02:57 · 468 阅读 · 0 评论 -
创建火箭弹-2020-09-10
using System.Collections; using System.Collections.Generic; using UnityEngine; ///<summary> ///挂载脚本的物体必须包含刚体组件,否则就会在开枪时报错 ///这种写法符合组件时编程的规则,rocket既是预制体本身,又是预制体上面的刚体组件 ///组件模型允许我们用物体上的任意一个组件指代这个物体 ///</summmary> public class RocketLauncher : M原创 2020-09-10 15:36:23 · 371 阅读 · 0 评论