Primitive and Placeholder Objects 原始的基础物体 Unity can work with 3D models of any shape that can be created with modelling software. However, there are also a number of primitive object types that can be created directly within Unity, namely the Cube, S
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEditor; public class CombineMesh : EditorWindow { [MenuItem("地图/合并Mesh")] static void AddWindow() { //创建窗口 CombineMesh window= (CombineMesh)EditorWindow.Ge
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Rotate : MonoBehaviour { private float origionZ; private Quaternion targetRotation; ; ; private bool i; // Use this for initialization void Start () { origion