From d69adc7009c7953749b59ace2518c0a7c99faa47 Mon Sep 17 00:00:00 2001 From: chai Date: Sun, 24 Apr 2022 19:10:43 +0800 Subject: + light saber --- SurvivalTest/Assets/Scripts/Test/TestPeaceMaker.cs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'SurvivalTest/Assets/Scripts/Test/TestPeaceMaker.cs') diff --git a/SurvivalTest/Assets/Scripts/Test/TestPeaceMaker.cs b/SurvivalTest/Assets/Scripts/Test/TestPeaceMaker.cs index 86b781b..775b913 100644 --- a/SurvivalTest/Assets/Scripts/Test/TestPeaceMaker.cs +++ b/SurvivalTest/Assets/Scripts/Test/TestPeaceMaker.cs @@ -74,13 +74,10 @@ public class TestPeaceMaker : CrewScript } private ControlMode m_ControlMode; - private void Awake() + void Start() { PlayerManager.Instance.SetCrew(this); - } - void Start() - { m_SpriteRenderer = GetComponent(); m_Coord = GetComponent(); -- cgit v1.1-26-g67d0