@@ -125,7 +125,6 @@ private void Awake() {
125125
126126 LuauCore . onResetInstance += OnLuauReset ;
127127
128- print ( "C# Awake" ) ;
129128 AwakeAirshipComponent ( ) ;
130129 }
131130
@@ -166,22 +165,19 @@ private void AwakeAirshipComponent() {
166165 private void Start ( ) {
167166 if ( thread == IntPtr . Zero || ! LuauCore . IsReady ) return ;
168167
169- print ( "C# Start" ) ;
170168 InvokeAirshipLifecycle ( AirshipComponentUpdateType . AirshipStart ) ;
171169 }
172170
173171 private void OnEnable ( ) {
174172 if ( thread == IntPtr . Zero || ! LuauCore . IsReady ) return ;
175173
176- print ( "C# OnEnable" ) ;
177174 LuauPlugin . LuauSetAirshipComponentEnabled ( context , thread , AirshipBehaviourRootV2 . GetId ( gameObject ) , _airshipComponentId , true ) ;
178175 InvokeAirshipLifecycle ( AirshipComponentUpdateType . AirshipEnabled ) ;
179176 }
180177
181178 private void OnDisable ( ) {
182179 if ( thread == IntPtr . Zero || ! LuauCore . IsReady ) return ;
183180
184- print ( "C# OnDisable" ) ;
185181 LuauPlugin . LuauSetAirshipComponentEnabled ( context , thread , AirshipBehaviourRootV2 . GetId ( gameObject ) , _airshipComponentId , false ) ;
186182 InvokeAirshipLifecycle ( AirshipComponentUpdateType . AirshipDisabled ) ;
187183 }
@@ -191,7 +187,6 @@ private void OnDestroy() {
191187
192188 if ( thread == IntPtr . Zero || ! LuauCore . IsReady ) return ;
193189
194- print ( "C# OnDestroy" ) ;
195190 InvokeAirshipLifecycle ( AirshipComponentUpdateType . AirshipDestroy ) ;
196191 LuauPlugin . LuauRemoveAirshipComponent ( context , thread , AirshipBehaviourRootV2 . GetId ( gameObject ) , _airshipComponentId ) ;
197192 AirshipBehaviourRootV2 . CleanIdOnDestroy ( gameObject , this ) ;
0 commit comments