AR Design
UBC EML collab with UBC SALA - visualizing IoT data in AR
ButtonLocalizedText.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.Collections;
5 using System.Collections.Generic;
6 using UnityEngine;
7 
8 namespace HoloToolkit.Unity.Buttons
9 {
10  [ExecuteInEditMode]
11  public class ButtonLocalizedText : MonoBehaviour
12  {
13  public TextMesh TextMesh;
14 
15  public string Text
16  {
17  get
18  {
19  return TextMesh.text;
20  }
21  set
22  {
23  TextMesh.text = value;
24  }
25  }
26  }
27 }