From f593891db65ac0faf775cd6b393460c6c917cd33 Mon Sep 17 00:00:00 2001 From: chai Date: Mon, 11 Apr 2022 19:15:08 +0800 Subject: *misc --- .../Assets/Scripts/Test/TestCameraSortByY.cs | 23 ---------------------- 1 file changed, 23 deletions(-) delete mode 100644 AlienSurvival/Assets/Scripts/Test/TestCameraSortByY.cs (limited to 'AlienSurvival/Assets/Scripts/Test/TestCameraSortByY.cs') diff --git a/AlienSurvival/Assets/Scripts/Test/TestCameraSortByY.cs b/AlienSurvival/Assets/Scripts/Test/TestCameraSortByY.cs deleted file mode 100644 index 585f2c3..0000000 --- a/AlienSurvival/Assets/Scripts/Test/TestCameraSortByY.cs +++ /dev/null @@ -1,23 +0,0 @@ -using System.Collections; -using System.Collections.Generic; -using UnityEngine; - -[RequireComponent(typeof(Camera))] -public class TestCameraSortByY : MonoBehaviour -{ - private Camera camera; - - // Start is called before the first frame update - void Start() - { - camera = GetComponent(); - camera.transparencySortMode = TransparencySortMode.CustomAxis; - camera.transparencySortAxis = Vector3.up; - } - - // Update is called once per frame - void Update() - { - - } -} -- cgit v1.1-26-g67d0