mirror of
https://github.com/Project-Redacted/project-hampter.git
synced 2025-06-08 11:43:13 +00:00
Upload Game
This commit is contained in:
parent
b3f494d5c2
commit
18b63ffa9b
150 changed files with 85782 additions and 0 deletions
21
Assets/Movement/CameraMove.cs
Normal file
21
Assets/Movement/CameraMove.cs
Normal file
|
@ -0,0 +1,21 @@
|
|||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
public class CameraMove : MonoBehaviour
|
||||
{
|
||||
public Transform cameraPosition;
|
||||
|
||||
|
||||
private void FixedUpdate()
|
||||
{
|
||||
|
||||
transform.position = cameraPosition.position;
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue