Tanoda
UpdateCanvasPosition.cs
Go to the documentation of this file.
1using System.Collections;
2using System.Collections.Generic;
3using UnityEngine;
4
5public 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}