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/AimTest.cs | |
parent | 8cd16fb71177bb61a9475284d944bc6aba30740e (diff) |
+misc
Diffstat (limited to 'Assets/Scripts/Test/AimTest.cs')
-rw-r--r-- | Assets/Scripts/Test/AimTest.cs | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/Assets/Scripts/Test/AimTest.cs b/Assets/Scripts/Test/AimTest.cs index ad33221b..d69c4a41 100644 --- a/Assets/Scripts/Test/AimTest.cs +++ b/Assets/Scripts/Test/AimTest.cs @@ -1,16 +1,16 @@ -using System.Collections; -using System.Collections.Generic; -using UnityEngine; - -public class AimTest : MonoBehaviour -{ - public GameObject Go_ConstainObj; - - public GameObject Go_AimTarget; - - public void LateUpdate() - { - Go_ConstainObj.transform.LookAt(Go_AimTarget.transform); - } - -} +using System.Collections;
+using System.Collections.Generic;
+using UnityEngine;
+
+public class AimTest : MonoBehaviour
+{
+ public GameObject Go_ConstainObj;
+
+ public GameObject Go_AimTarget;
+
+ public void LateUpdate()
+ {
+ Go_ConstainObj.transform.LookAt(Go_AimTarget.transform);
+ }
+
+}
|