using UnityEngine;
using UnityEditor;
public class DoubleDimensional: ScriptableWizard
{
[MenuItem("Tools/E_DoubleDimensional")]
static void Start()
{
ScriptableWizard.DisplayWizard<DoubleDimensional>("Selection", "Create", "Apply");
}
public CustomArrays[] doubleDimensional;
private void OnWizardCreate()
{
}
}
[System.Serializable]
public class CustionArrays
{
public Transform[] Array;
public Transform this[int index]
{
get{return Array[index];
}
public void CustomArray(int index)
{
this.Array=new Transform[index];
}
}
Unity编辑器多维数组展示
最新推荐文章于 2024-04-15 16:41:33 发布