Tanoda
UpdateCanvasPosition.cs
Go to the documentation of this file.
1
using
System.Collections;
2
using
System.Collections.Generic;
3
using
UnityEngine
;
4
5
public
class
UpdateCanvasPosition
: MonoBehaviour
6
{
7
public
Camera
followMe
;
8
// Start is called before the first frame update
9
void
Start()
10
{
11
transform.position =
followMe
.transform.position;
12
}
13
14
// Update is called once per frame
15
void
Update()
16
{
17
18
}
19
}
UpdateCanvasPosition
Definition:
UpdateCanvasPosition.cs:6
UpdateCanvasPosition.followMe
Camera followMe
Definition:
UpdateCanvasPosition.cs:7
UnityEngine
Definition:
HSVPicker/UtilityScripts/BoxSlider.cs:7
Source
Assets
Scripts
UpdateCanvasPosition.cs
Generated by
1.9.3