diff options
Diffstat (limited to 'Assets/Scripts/Test 1/TestCamera.cs')
| -rw-r--r-- | Assets/Scripts/Test 1/TestCamera.cs | 28 | 
1 files changed, 0 insertions, 28 deletions
| diff --git a/Assets/Scripts/Test 1/TestCamera.cs b/Assets/Scripts/Test 1/TestCamera.cs deleted file mode 100644 index 8e4ba89e..00000000 --- a/Assets/Scripts/Test 1/TestCamera.cs +++ /dev/null @@ -1,28 +0,0 @@ -using System.Collections;
 -using System.Collections.Generic;
 -using UnityEngine;
 -
 -public class TestCamera : MonoBehaviour
 -{
 -    public Vector3 offset = Vector3.zero;
 -
 -    void Awake()
 -    {
 -        SceneManager.Instance.SetMainCamera(this.gameObject.GetComponent<Camera>());
 -    }
 -
 -    // Update is called once per frame
 -    void Update()
 -    {
 -        if(TestErika.Instance.erika.unitController == null)
 -        {
 -            return;
 -        }
 -        Vector3 pos = transform.position;
 -        //pos.x = TestErika.Instance.erika.unitController.GetComponent<UnitController>().center.x;
 -        //pos.y = TestErika.Instance.erika.unitController.GetComponent<UnitController>().center.y;
 -        pos.x = TestErika.Instance.erika.unitController.transform.position.x;
 -        pos.y = TestErika.Instance.erika.unitController.transform.position.y;
 -        transform.position = pos + offset;
 -    }
 -}
 | 
