AR Design
UBC EML collab with UBC SALA - visualizing IoT data in AR
DebugText.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
UnityEngine
;
5
6
namespace
HoloToolkit
.Examples
7
{
8
[RequireComponent(typeof(TextMesh))]
9
public
class
DebugText
: MonoBehaviour
10
{
11
private
TextMesh mText;
12
13
private
void
Awake()
14
{
15
mText = GetComponent<TextMesh>();
16
}
17
18
public
void
SetText
(
string
text)
19
{
20
mText.text = text;
21
}
22
}
23
}
HoloToolkit.Examples.DebugText.SetText
void SetText(string text)
Definition:
DebugText.cs:18
HoloToolkit.Examples.DebugText
Definition:
DebugText.cs:9
HoloToolkit
UnityEngine
Assets
HoloToolkit-Examples
SpatialMapping
Scripts
DebugText.cs
Generated by
1.8.12