AR Design
UBC EML collab with UBC SALA - visualizing IoT data in AR
ProfileButtonBase.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 HoloToolkit.Unity;
5 using UnityEngine;
6 
7 namespace HoloToolkit.Unity.Buttons
8 {
13  public class ProfileButtonBase<T> : MonoBehaviour where T : ButtonProfile
14  {
15  [Header("Profile")]
16  [DrawLast]
17  public T Profile;
18  }
19 }
Ensures a consistent profile field in compound buttons scripts which use a profile ...
The base class for all button profiles Inherit from this to create new button profile types ...