Liberi
An exergame built for kids with CP!
Main Page
Classes
Files
File List
DebugNumbers.cs
1
using
UnityEngine
;
2
using
System
.Collections;
3
using
UnityEngine
.UI;
4
5
public
class
DebugNumbers
: MonoBehaviour
6
{
7
Text _polarNum;
8
Text _antNum;
9
10
void
Awake ()
11
{
12
_polarNum = transform.FindChild(
"polar_num"
).GetComponent<Text>();
13
_antNum = transform.FindChild(
"ant_num"
).GetComponent<Text>();
14
}
15
16
void
Update ()
17
{
18
_polarNum.text =
Heart
.PolarHR.ToString(
"N0"
);
19
_antNum.text =
Heart
.FireAntHR.ToString(
"N0"
);
20
}
21
}
System
Heart
Heart class. Allows for heart rate queries and heart rate injection from devices. ...
Definition:
Heart.cs:20
DebugNumbers
Definition:
DebugNumbers.cs:5
UnityEngine
Liberi
Assets
Scripts
GUI
DebugNumbers.cs
Generated by
1.8.10