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