File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,7 +24,6 @@ public static void GenerateIl2CppDef()
2424 UnityVersionOutputFile = $ "{ SettingsUtil . LocalIl2CppDir } /libil2cpp/hybridclr/generated/UnityVersion.h",
2525 AssemblyManifestTemplateFile = $ "{ SettingsUtil . TemplatePathInPackage } /AssemblyManifest.cpp.tpl",
2626 AssemblyManifestOutputFile = $ "{ SettingsUtil . LocalIl2CppDir } /libil2cpp/hybridclr/generated/AssemblyManifest.cpp",
27- EnableStraceTraceInWebGLReleaseBuild = HybridCLRSettings . Instance . enableStraceTraceInWebGLReleaseBuild ,
2827 } ;
2928
3029 var g = new Il2CppDef . Il2CppDefGenerator ( options ) ;
Original file line number Diff line number Diff line change @@ -26,8 +26,6 @@ public class Options
2626 public string AssemblyManifestOutputFile { get ; set ; }
2727
2828 public string UnityVersion { get ; set ; }
29-
30- public bool EnableStraceTraceInWebGLReleaseBuild { get ; set ; }
3129 }
3230
3331 private readonly Options _options ;
@@ -83,11 +81,6 @@ private void GenerateIl2CppConfig()
8381 lines . Add ( $ "#define HYBRIDCLR_TUANJIE_VERSION 10000") ;
8482#endif
8583
86- if ( _options . EnableStraceTraceInWebGLReleaseBuild )
87- {
88- lines . Add ( "#define HYBRIDCLR_ENABLE_STRACE_TRACE_IN_WEBGL_RELEASE_BUILD 1" ) ;
89- }
90-
9184 frr . Replace ( "UNITY_VERSION" , string . Join ( "\n " , lines ) ) ;
9285
9386 frr . Commit ( _options . UnityVersionOutputFile ) ;
Original file line number Diff line number Diff line change @@ -25,7 +25,6 @@ public class HybridCLRSettingsProvider : SettingsProvider
2525 private SerializedProperty _outputAOTGenericReferenceFile ;
2626 private SerializedProperty _maxGenericReferenceIteration ;
2727 private SerializedProperty _maxMethodBridgeGenericIteration ;
28- private SerializedProperty enableStraceTraceInWebGLReleaseBuild ;
2928
3029 private GUIStyle buttonStyle ;
3130 public HybridCLRSettingsProvider ( ) : base ( "Project/HybridCLR Settings" , SettingsScope . Project ) { }
@@ -54,7 +53,6 @@ private void InitGUI()
5453 _outputAOTGenericReferenceFile = _serializedObject . FindProperty ( "outputAOTGenericReferenceFile" ) ;
5554 _maxGenericReferenceIteration = _serializedObject . FindProperty ( "maxGenericReferenceIteration" ) ;
5655 _maxMethodBridgeGenericIteration = _serializedObject . FindProperty ( "maxMethodBridgeGenericIteration" ) ;
57- enableStraceTraceInWebGLReleaseBuild = _serializedObject . FindProperty ( "enableStraceTraceInWebGLReleaseBuild" ) ;
5856 }
5957 private void OnEditorFocused ( )
6058 {
@@ -142,7 +140,6 @@ public override void OnGUI(string searchContext)
142140 EditorGUILayout . PropertyField ( _outputAOTGenericReferenceFile ) ;
143141 EditorGUILayout . PropertyField ( _maxGenericReferenceIteration ) ;
144142 EditorGUILayout . PropertyField ( _maxMethodBridgeGenericIteration ) ;
145- EditorGUILayout . PropertyField ( enableStraceTraceInWebGLReleaseBuild ) ;
146143 if ( EditorGUI . EndChangeCheck ( ) )
147144 {
148145 _serializedObject . ApplyModifiedProperties ( ) ;
Original file line number Diff line number Diff line change @@ -50,8 +50,5 @@ public class HybridCLRSettings : ScriptableSingleton<HybridCLRSettings>
5050
5151 [ Tooltip ( "max iteration count of searching method bridge generic methods in AOT assemblies" ) ]
5252 public int maxMethodBridgeGenericIteration = 10 ;
53-
54- [ Tooltip ( "enable StraceTrace support when publishing to the WebGL platform in release mode" ) ]
55- public bool enableStraceTraceInWebGLReleaseBuild ;
5653 }
5754}
You can’t perform that action at this time.
0 commit comments