Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
4e10c4f05This file is pinned to the selected release. Download the original to open it in your design tool.
using UnityEngine;
using UnityEditor;
public class ShapeConfigurationAsset
{
[MenuItem("Assets/Create/PointCloud/Shape Configuration")]
public static void CreateAsset ()
{
ShapeConfiguration asset = ScriptableObject.CreateInstance<ShapeConfiguration>();
ProjectWindowUtil.CreateAsset(asset, "New " + typeof(ShapeConfiguration).Name + ".asset");
}
}