From de78537f8edc6cb162ba58520956255f7e53769d Mon Sep 17 00:00:00 2001 From: chai Date: Sun, 29 Aug 2021 12:54:37 +0800 Subject: =?UTF-8?q?*=E8=BD=B4=E5=90=91=E6=94=B9=E4=B8=BAxy?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Assets/Scripts/Test 1/TestErika.cs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Assets/Scripts/Test 1/TestErika.cs') diff --git a/Assets/Scripts/Test 1/TestErika.cs b/Assets/Scripts/Test 1/TestErika.cs index deafc7c3..f6f9ba0e 100644 --- a/Assets/Scripts/Test 1/TestErika.cs +++ b/Assets/Scripts/Test 1/TestErika.cs @@ -25,7 +25,9 @@ public class TestErika : MonoBehaviour unitController = GameObject.Instantiate(unitControllerPrefab); unitController.transform.position = Vector3.zero; unitController.transform.rotation = Quaternion.identity; + unit = GameObject.Instantiate(unitPrefab); + unit.transform.rotation = Quaternion.Euler(0, 90, 0); unit.transform.SetParent(unitController.transform); Init(); -- cgit v1.1-26-g67d0