@@ -325,7 +325,7 @@ private static void ConvertTo2D()
325325 // create canvas
326326 GameObject canvasObj = CreateJCSCanvas ( ) ;
327327
328- const string desc_path = "JCSUnity_Resources/ GUI/Describe Panel" ;
328+ const string desc_path = "GUI/Describe Panel" ;
329329 GameObject desc_obj = JCS_Utility . SpawnGameObject ( desc_path ) ;
330330 desc_obj . name = desc_obj . name . Replace ( "(Clone)" , "" ) ;
331331 desc_obj . transform . SetParent ( canvasObj . transform ) ;
@@ -361,7 +361,7 @@ private static void ConvertTo3D()
361361 [ MenuItem ( "JCSUnity/Basic/Create Managers" , false , 10 ) ]
362362 private static GameObject CreateManagers ( )
363363 {
364- const string manager_path = "JCSUnity_Resources/ JCS_Managers" ;
364+ const string manager_path = "JCS_Managers" ;
365365 GameObject gameObj = CreateHierarchyObject ( manager_path ) ;
366366
367367 Undo . RegisterCreatedObjectUndo ( gameObj , "Create JCS Managers" ) ;
@@ -376,7 +376,7 @@ private static GameObject CreateManagers()
376376 [ MenuItem ( "JCSUnity/Basic/Create Settings" , false , 10 ) ]
377377 private static GameObject CreateSettings ( )
378378 {
379- const string setting_path = "JCSUnity_Resources/ JCS_Settings" ;
379+ const string setting_path = "JCS_Settings" ;
380380 GameObject gameObj = CreateHierarchyObject ( setting_path ) ;
381381
382382 Undo . RegisterCreatedObjectUndo ( gameObj , "Create JCS Settings" ) ;
@@ -390,7 +390,7 @@ private static GameObject CreateSettings()
390390 [ MenuItem ( "JCSUnity/Basic/Create BGM Player" , false , 11 ) ]
391391 private static void CreateBGMPlayer ( )
392392 {
393- const string player_path = "JCSUnity_Resources/ Sound/JCS_BGMPlayer" ;
393+ const string player_path = "Sound/JCS_BGMPlayer" ;
394394 GameObject gameObj = CreateHierarchyObject ( player_path ) ;
395395
396396 Undo . RegisterCreatedObjectUndo ( gameObj , "Create BGM Player" ) ;
@@ -402,7 +402,7 @@ private static void CreateBGMPlayer()
402402 [ MenuItem ( "JCSUnity/Basic/Create Debug Tools" , false , 12 ) ]
403403 private static void CreateDebugTools ( )
404404 {
405- const string tools_path = "JCSUnity_Resources/ Tools/JCS_Tools" ;
405+ const string tools_path = "Tools/JCS_Tools" ;
406406 GameObject gameObj = CreateHierarchyObject ( tools_path ) ;
407407
408408 Undo . RegisterCreatedObjectUndo ( gameObj , "Create Debug Tools" ) ;
@@ -435,13 +435,13 @@ private static void RevertDefaultInputManager()
435435 /// </summary>
436436 private static GameObject CreateJCSCanvas ( )
437437 {
438- const string canvas_path = "JCSUnity_Resources/ LevelDesignUI/JCS_Canvas" ;
438+ const string canvas_path = "LevelDesignUI/JCS_Canvas" ;
439439 GameObject canvasObj = CreateHierarchyObject ( canvas_path ) ;
440440
441441 Undo . RegisterCreatedObjectUndo ( canvasObj , "Create JCS Canvas" ) ;
442442
443443
444- const string eventSystem_path = "JCSUnity_Resources/ LevelDesignUI/EventSystem" ;
444+ const string eventSystem_path = "LevelDesignUI/EventSystem" ;
445445 GameObject evtSystemObj = CreateHierarchyObject ( eventSystem_path ) ;
446446
447447 Undo . RegisterCreatedObjectUndo ( evtSystemObj , "Create Event System" ) ;
@@ -513,7 +513,7 @@ private static void UpdateJCSUnity()
513513 /// </summary>
514514 private static GameObject Create2DCurosr ( )
515515 {
516- const string setting_path = "JCSUnity_Resources/ GUI/JCS_2DCursor" ;
516+ const string setting_path = "GUI/JCS_2DCursor" ;
517517 GameObject gameObj = CreateHierarchyObject ( setting_path ) ;
518518
519519 Undo . RegisterCreatedObjectUndo ( gameObj , "Create 3D Cursor" ) ;
@@ -528,7 +528,7 @@ private static GameObject Create2DCurosr()
528528 /// </summary>
529529 private static GameObject Create3DCurosr ( )
530530 {
531- const string setting_path = "JCSUnity_Resources/ GUI/JCS_3DCursor" ;
531+ const string setting_path = "GUI/JCS_3DCursor" ;
532532 GameObject gameObj = CreateHierarchyObject ( setting_path ) ;
533533
534534 Undo . RegisterCreatedObjectUndo ( gameObj , "Create 3D Cursor" ) ;
@@ -555,7 +555,7 @@ private static GameObject CreateBasePanel()
555555 return null ;
556556 }
557557
558- const string setting_path = "JCSUnity_Resources/ GUI/JCS_BasePanel" ;
558+ const string setting_path = "GUI/JCS_BasePanel" ;
559559 GameObject basePanel = CreateHierarchyObjectUnderCanvas ( setting_path ) ;
560560
561561 Undo . RegisterCreatedObjectUndo ( basePanel , "Create Base Panel" ) ;
@@ -583,7 +583,7 @@ private static GameObject CreateDialoguePanel()
583583 return null ;
584584 }
585585
586- const string setting_path = "JCSUnity_Resources/ GUI/JCS_DialoguePanel" ;
586+ const string setting_path = "GUI/JCS_DialoguePanel" ;
587587 GameObject dialoguePanel = CreateHierarchyObjectUnderCanvas ( setting_path ) ;
588588
589589 Undo . RegisterCreatedObjectUndo ( dialoguePanel , "Create Dialogue Panel" ) ;
@@ -619,7 +619,7 @@ private static void CreateSlidePanel()
619619 return ;
620620 }
621621
622- const string settingPath = "JCSUnity_Resources/ LevelDesignUI/JCS_SlideScreenPanelHolder" ;
622+ const string settingPath = "LevelDesignUI/JCS_SlideScreenPanelHolder" ;
623623
624624 // spawn the pane holder.
625625 JCS_SlideScreenPanelHolder panelHolder9x9 = CreateHierarchyObjectUnderCanvas ( settingPath , jcsCanvas ) . GetComponent < JCS_SlideScreenPanelHolder > ( ) ;
@@ -630,7 +630,7 @@ private static void CreateSlidePanel()
630630 int starting_pos_x = - 1920 ;
631631 int starting_pos_y = 1080 ;
632632
633- const string slidePanelPath = "JCSUnity_Resources/ LevelDesignUI/JCS_SlidePanel" ;
633+ const string slidePanelPath = "LevelDesignUI/JCS_SlidePanel" ;
634634
635635 int index = 0 ;
636636
@@ -664,7 +664,7 @@ private static void CreateSlidePanel()
664664 }
665665 }
666666
667- const string slideScreenCameraPath = "JCSUnity_Resources/ Camera/JCS_2DSlideScreenCamera" ;
667+ const string slideScreenCameraPath = "Camera/JCS_2DSlideScreenCamera" ;
668668 JCS_2DSlideScreenCamera slideScreenCamera = CreateHierarchyObject ( slideScreenCameraPath ) . GetComponent < JCS_2DSlideScreenCamera > ( ) ;
669669
670670 Undo . RegisterCreatedObjectUndo ( slideScreenCamera , "Create 2D Slide Screen Camera" ) ;
@@ -692,7 +692,7 @@ private static GameObject CreateTweenPanel()
692692 return null ;
693693 }
694694
695- const string setting_path = "JCSUnity_Resources/ GUI/JCS_TweenPanel" ;
695+ const string setting_path = "GUI/JCS_TweenPanel" ;
696696 GameObject tweenPanel = CreateHierarchyObjectUnderCanvas ( setting_path ) ;
697697
698698 Undo . RegisterCreatedObjectUndo ( tweenPanel , "Create Tween Panel" ) ;
@@ -709,7 +709,7 @@ private static GameObject CreateTweenPanel()
709709 /// <returns></returns>
710710 private static GameObject CreateUndoRedoSystem ( )
711711 {
712- const string setting_path = "JCSUnity_Resources/ GUI/JCS_UndoRedoSystem" ;
712+ const string setting_path = "GUI/JCS_UndoRedoSystem" ;
713713 GameObject undoRedoSystem = CreateHierarchyObject ( setting_path ) ;
714714
715715 Undo . RegisterCreatedObjectUndo ( undoRedoSystem , "Create Undo Redo System" ) ;
@@ -730,7 +730,7 @@ private static GameObject CreateUndoRedoSystem()
730730 /// </summary>
731731 private static void Create2DCamera ( )
732732 {
733- const string camera_path = "JCSUnity_Resources/ Camera/JCS_2DCamera" ;
733+ const string camera_path = "Camera/JCS_2DCamera" ;
734734 GameObject gameObj = CreateHierarchyObject ( camera_path ) ;
735735
736736 // set camera depth to default -10.
@@ -744,7 +744,7 @@ private static void Create2DCamera()
744744 /// </summary>
745745 private static void CreateMixDamageTextPool ( )
746746 {
747- const string setting_path = "JCSUnity_Resources/ GUI/DamageText/JCS_MixDamageTextPool" ;
747+ const string setting_path = "GUI/DamageText/JCS_MixDamageTextPool" ;
748748 GameObject gameObj = CreateHierarchyObject ( setting_path ) ;
749749
750750 Undo . RegisterCreatedObjectUndo ( gameObj , "Create Min Damage Text Pool" ) ;
@@ -761,7 +761,7 @@ private static void CreateMixDamageTextPool()
761761 /// </summary>
762762 private static void Create3DCamera ( )
763763 {
764- const string camera_path = "JCSUnity_Resources/ Camera/JCS_3DCamera" ;
764+ const string camera_path = "Camera/JCS_3DCamera" ;
765765 GameObject gameObj = CreateHierarchyObject ( camera_path ) ;
766766
767767 Undo . RegisterCreatedObjectUndo ( gameObj , "Create JCS 3D Camera" ) ;
0 commit comments