AR + GPS Location
3.0.0
Main Page
Related Pages
Packages
Packages
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
a
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
x
Functions
c
d
e
f
g
h
l
n
o
p
r
s
t
u
v
Variables
a
c
d
h
i
l
m
o
p
s
t
u
x
Properties
Events
Files
File List
▼
AR + GPS Location
3.5.1
Unity AR+GPS Location
►
Packages
►
Classes
▼
Files
▼
File List
▼
Assets
▼
ARLocation
►
Editor
▼
Scripts
►
ARSession
►
Components
►
Location
►
Math
►
ScriptableObjects
▼
Utils
ConditionalPropertyAttribute.cs
CreatePointOfInterestTextMeshes.cs
DebugCanvas.cs
DevCameraController.cs
FaceCamera.cs
FadeOutTextMesh.cs
FollowCameraPosition.cs
Logger.cs
Misc.cs
MovingAveragePosition.cs
RotateObject.cs
SelectScene.cs
ShowHideSelfOnPointerClick.cs
Singleton.cs
SmoothMove.cs
ARLocation.cs
•
All
Classes
Namespaces
Functions
Variables
Properties
Events
Pages
RotateObject.cs
1
using
UnityEngine;
2
3
namespace
ARLocation.Utils
4
{
5
public
class
RotateObject
: MonoBehaviour
6
{
7
public
float
Speed = 10.0f;
8
public
Vector3 Axis = Vector3.up;
9
10
private
float
angle;
11
12
// Update is called once per frame
13
void
Update()
14
{
15
angle += Speed * Time.deltaTime;
16
transform.localRotation = Quaternion.AngleAxis(angle, Axis);
17
}
18
}
19
}
ARLocation.Utils.RotateObject
Definition:
RotateObject.cs:6
ARLocation.Utils
Definition:
CreatePointOfInterestTextMeshes.cs:9
Assets
ARLocation
Scripts
Utils
RotateObject.cs
Generated by
1.8.20