Hit Detection

This commit is contained in:
Reinier Vens 2021-01-08 12:44:10 +00:00
commit 871c978301
225 changed files with 210834 additions and 237 deletions

View file

@ -0,0 +1,13 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class FitToCamera : MonoBehaviour
{
public Camera Camera;
void Update()
{
transform.localScale = Camera.orthographicSize * 2 * Vector3.one;
}
}