public static NPVoxModel NewInstance(NPVoxCoord size, NPVoxModel reuse = null) { NPVoxModel VoxModel = reuse != null ? reuse : ScriptableObject.CreateInstance <NPVoxModel>(); VoxModel.name = "Model"; VoxModel.Initialize(size); return(VoxModel); }