File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed
Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -48,10 +48,13 @@ private static void OnGUI(string searchContext)
4848
4949 EditorGUILayout . Space ( EditorGUIUtility . singleLineHeight ) ;
5050
51- EditorGUILayout . HelpBox (
52- "If you notice that entering play mode takes too long, you can try disabling this option. " +
53- "Folders will not be stripped from prefabs that are instantiated at runtime, but if performance in " +
54- "Play Mode does not matter, you will be fine." , MessageType . Warning ) ;
51+ if ( StripSettings . StripFoldersFromPrefabsInPlayMode )
52+ {
53+ EditorGUILayout . HelpBox (
54+ "If you notice that entering play mode takes too long, you can try disabling this option. " +
55+ "Folders will not be stripped from prefabs that are instantiated at runtime, but if performance in " +
56+ "Play Mode does not matter, you will be fine." , MessageType . Info ) ;
57+ }
5558
5659 using ( new TemporaryLabelWidth ( 230f ) )
5760 {
You can’t perform that action at this time.
0 commit comments