Tri-Inspector/Editor.Samples/Collections/Collections_ListDrawerSettingsSample.cs

15 lines
419 B
C#
Raw Normal View History

using System.Collections.Generic;
using TriInspector;
using UnityEngine;
public class Collections_ListDrawerSettingsSample : ScriptableObject
{
[ListDrawerSettings(Draggable = true,
HideAddButton = false,
HideRemoveButton = false,
AlwaysExpanded = false)]
public List<Material> list;
[ListDrawerSettings(Draggable = false, AlwaysExpanded = true)]
public Vector3[] vectors;
}