Initial commit

This commit is contained in:
Senad Uka
2020-01-11 07:32:13 +01:00
commit c43739e158
517 changed files with 456377 additions and 0 deletions

24
Assets/CameraMovement.cs Normal file
View File

@@ -0,0 +1,24 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CameraMovement : MonoBehaviour
{
public Vector3 myPos;
public Transform myPlayer;
// Start is called before the first frame update
void Start()
{
}
// Update is called once per frame
void Update()
{
Vector3 futurePosition = new Vector3(myPlayer.position.x + myPos.x, transform.position.y , myPlayer.position.z + myPos.z);
transform.position = futurePosition;
}
}