AR Design
UBC EML collab with UBC SALA - visualizing IoT data in AR
SetIndentAttribute.cs
Go to the documentation of this file.
1 // Copyright (c) Microsoft Corporation. All rights reserved.
2 // Licensed under the MIT License. See LICENSE in the project root for license information.
3 
4 using System;
5 #if UNITY_EDITOR
6 using UnityEditor;
7 #endif
8 
9 namespace HoloToolkit.Unity
10 {
11  // Sets the indent level for custom formatting
12  [AttributeUsage(AttributeTargets.Field | AttributeTargets.Property)]
13  public sealed class SetIndentAttribute : Attribute
14  {
15  public int Indent { get; private set; }
16 
17  public SetIndentAttribute(int indent)
18  {
19  Indent = indent;
20  }
21  }
22 }