Tanoda
LinearSpeedTextBehaviour.cs
Go to the documentation of this file.
1/******************************************************************************
2 * Copyright (C) Ultraleap, Inc. 2011-2020. *
3 * *
4 * Use subject to the terms of the Apache License 2.0 available at *
5 * http://www.apache.org/licenses/LICENSE-2.0, or another agreement *
6 * between Ultraleap and you, your company or other organization. *
7 ******************************************************************************/
8
9using UnityEngine;
10
11namespace Leap.Unity.Examples {
12
13 [AddComponentMenu("")]
14 public class LinearSpeedTextBehaviour : MonoBehaviour {
15
16 public TextMesh textMesh;
17
19
20 public string linearSpeedPrefixText;
21
23
24 void Update() {
26 }
27 }
28}
The spaceship in this example is a kinematic rigidbody with a force API, but having a rigidbody on yo...
Definition: Spaceship.cs:33