summaryrefslogtreecommitdiff
path: root/Assets/Plugins/AdvancedInspector/Attributes/DontAllowSceneObject.cs
blob: 7c8506a604bfa4938059143d61d8acdd49bd4800 (plain)
1
2
3
4
5
6
7
8
9
10
11
using System;

namespace AdvancedInspector
{
    /// <summary>
    /// Prevent Scene Object from being browsed in a Object property.
    /// By default, scene and asset are displayed.
    /// </summary>
    [AttributeUsage(AttributeTargets.Field | AttributeTargets.Property)]
    public class DontAllowSceneObjectAttribute : Attribute, IListAttribute { }
}