From fc6de82e75310b4c007d80753a5f58e6692f4855 Mon Sep 17 00:00:00 2001 From: chai Date: Tue, 13 Oct 2020 10:33:05 +0800 Subject: +misc --- Assets/Scripts/Test/CentreTest.cs | 44 +++++++++++++++++++-------------------- 1 file changed, 22 insertions(+), 22 deletions(-) (limited to 'Assets/Scripts/Test/CentreTest.cs') diff --git a/Assets/Scripts/Test/CentreTest.cs b/Assets/Scripts/Test/CentreTest.cs index 1338067d..b921cc59 100644 --- a/Assets/Scripts/Test/CentreTest.cs +++ b/Assets/Scripts/Test/CentreTest.cs @@ -1,22 +1,22 @@ -using System.Collections; -using System.Collections.Generic; -using UnityEngine; - -public class CentreTest : MonoBehaviour -{ - - public Transform Trans_Saionji_Left; - public Transform Trans_Saionji_Right; - - // Start is called before the first frame update - void Start() - { - - } - - // Update is called once per frame - void Update() - { - transform.position = (Trans_Saionji_Left.position + Trans_Saionji_Right.position ) / 2; - } -} +using System.Collections; +using System.Collections.Generic; +using UnityEngine; + +public class CentreTest : MonoBehaviour +{ + + public Transform Trans_Saionji_Left; + public Transform Trans_Saionji_Right; + + // Start is called before the first frame update + void Start() + { + + } + + // Update is called once per frame + void Update() + { + transform.position = (Trans_Saionji_Left.position + Trans_Saionji_Right.position ) / 2; + } +} -- cgit v1.1-26-g67d0