From cec37ddb003304a224b804a78479ae46dae58fed Mon Sep 17 00:00:00 2001 From: chai Date: Thu, 16 Sep 2021 20:51:19 +0800 Subject: + motion blur --- Assets/Scripts/Test 1/TestCamera.cs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'Assets/Scripts/Test 1/TestCamera.cs') diff --git a/Assets/Scripts/Test 1/TestCamera.cs b/Assets/Scripts/Test 1/TestCamera.cs index 62b3a2d9..8e4ba89e 100644 --- a/Assets/Scripts/Test 1/TestCamera.cs +++ b/Assets/Scripts/Test 1/TestCamera.cs @@ -6,10 +6,9 @@ public class TestCamera : MonoBehaviour { public Vector3 offset = Vector3.zero; - // Start is called before the first frame update - void Start() + void Awake() { - + SceneManager.Instance.SetMainCamera(this.gameObject.GetComponent()); } // Update is called once per frame -- cgit v1.1-26-g67d0