AR Design
UBC EML collab with UBC SALA - visualizing IoT data in AR
TutorialAttribute.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  // Provides a clickable link to a tutorial in the inspector header
12  [AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
13  public sealed class TutorialAttribute : Attribute
14  {
15 
16  public string TutorialURL { get; private set; }
17  public string Description { get; private set; }
18 
19  public TutorialAttribute(string tutorialURL, string description = null)
20  {
21  TutorialURL = tutorialURL;
22  Description = description;
23  }
24  }
25 }
TutorialAttribute(string tutorialURL, string description=null)