02 2023 档案
轮转图、雷达图
摘要:3d轮转图 俩个脚本 第一个挂空物体上 第二个挂在生成物上 using System.Collections; using System.Collections.Generic; using UnityEngine; using DG.Tweening; public class RotationC 阅读全文
posted @ 2023-02-25 09:46 a帝 阅读(43) 评论(0) 推荐(0) 编辑
Unity中mesh 绘制正方体
摘要:绘制正方体: 用mesh自带的函数绘制: //创建一个mesh网格 Mesh mesh = new Mesh(); //添加网格过滤器 gameObject.AddComponent<MeshFilter>(); //给网格添加顶点 mesh.vertices = new Vector3[] { n 阅读全文
posted @ 2023-02-22 20:01 a帝 阅读(237) 评论(0) 推荐(0) 编辑




点击右上角即可分享
微信分享提示