public static GSplatPrototypeGroup Create(TerrainLayer[] layers)
        {
            GSplatPrototypeGroup group = CreateInstance <GSplatPrototypeGroup>();

            for (int i = 0; i < layers.Length; ++i)
            {
                group.Prototypes.Add((GSplatPrototype)layers[i]);
            }

            return(group);
        }
예제 #2
0
 public void OnEnable()
 {
     instance = (GSplatPrototypeGroup)target;
 }
 public static GSplatPrototypeGroupInspectorDrawer Create(GSplatPrototypeGroup group)
 {
     return(new GSplatPrototypeGroupInspectorDrawer(group));
 }
 public GSplatPrototypeGroupInspectorDrawer(GSplatPrototypeGroup group)
 {
     instance = group;
 }