Skip to content
项目

pharan/Unity-MeshSaver

在 GitHub 查看

关于

A C# Editor Script that allows you to save a usable Mesh .asset file into your project.

游戏与模拟器

这些数字如何统计

实测星标增长

24小时
-1
7天
-1
15天
+1
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

Unity-MeshSaver

Save your Mesh as an asset file.

This UnityEditor script adds context menu items to your MeshFilter component, allowing you to save its UnityEngine.Mesh object as a .asset file that you can then reuse in your project.

This is great for saving procedurally generated meshes that may be too resource-intensive to generate at runtime.

How to Install

Just copy the folder called MeshSaver into your project's Assets folder, or drag it into Unity's project panel.

How to Use

  1. Right click on a MeshFilter component's label or click on its gear icon to open up its context menu.
  2. Then select either "Save Mesh..." or "Save Mesh As New Instance...".

Save Mesh... will save the current shared mesh as an asset file.
Save Mesh As New Instance... will save a copy of the current mesh.

Note that "Save Mesh..." will not work if the mesh comes from an imported 3D asset/prefab.

探索相关项目

加载中…