diff options
author | chai <chaifix@163.com> | 2020-10-13 10:33:05 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2020-10-13 10:33:05 +0800 |
commit | fc6de82e75310b4c007d80753a5f58e6692f4855 (patch) | |
tree | e6d8d9226595a6727d43f18a218f53533101a4e0 /Assets/Scripts/Test/CentreTest.cs | |
parent | 8cd16fb71177bb61a9475284d944bc6aba30740e (diff) |
+misc
Diffstat (limited to 'Assets/Scripts/Test/CentreTest.cs')
-rw-r--r-- | Assets/Scripts/Test/CentreTest.cs | 44 |
1 files changed, 22 insertions, 22 deletions
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;
+ }
+}
|