net.dreditor.ui 0.1.6 → 0.1.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.attestation.p7m +0 -0
- package/AnimatorMenuGroup.cs +298 -298
- package/AnimatorMenuGroup.cs.meta +11 -11
- package/Buttons/AnyKey.cs +73 -73
- package/Buttons/AnyKey.cs.meta +11 -11
- package/Buttons/ContinueLoadGameButton.cs +72 -72
- package/Buttons/ContinueLoadGameButton.cs.meta +11 -11
- package/Buttons/ContinueSelectIfDataLoaded.cs +67 -67
- package/Buttons/ContinueSelectIfDataLoaded.cs.meta +11 -11
- package/Buttons/DREButton.cs +74 -74
- package/Buttons/DREButton.cs.meta +11 -11
- package/Buttons/EvaluateLoadGameButton.cs +155 -155
- package/Buttons/EvaluateLoadGameButton.cs.meta +11 -11
- package/Buttons/MainMenuButton.cs +66 -66
- package/Buttons/MainMenuButton.cs.meta +11 -11
- package/Buttons/MoveToLoadedScene.cs +31 -31
- package/Buttons/MoveToLoadedScene.cs.meta +11 -11
- package/Buttons/MoveToScene.cs +80 -80
- package/Buttons/MoveToScene.cs.meta +11 -11
- package/Buttons/NewGameButton.cs +41 -41
- package/Buttons/NewGameButton.cs.meta +11 -11
- package/Buttons/QuitButton.cs +18 -18
- package/Buttons/QuitButton.cs.meta +11 -11
- package/Buttons/StartGameButton.cs +70 -70
- package/Buttons/StartGameButton.cs.meta +11 -11
- package/Buttons.meta +8 -8
- package/CarouselBase.cs +151 -151
- package/CarouselBase.cs.meta +1 -1
- package/CarouselComponent.cs +35 -35
- package/CarouselComponent.cs.meta +1 -1
- package/CarouselListExtentions.cs +49 -49
- package/CarouselListExtentions.cs.meta +11 -11
- package/CarouselSelectTweening.cs +252 -252
- package/CarouselSelectTweening.cs.meta +11 -11
- package/ChangeSpriteOnIndex.cs +66 -66
- package/ChangeSpriteOnIndex.cs.meta +11 -11
- package/DREditor.UI.asmdef +27 -27
- package/DREditor.UI.asmdef.meta +7 -7
- package/IGridIconSlot.cs +21 -21
- package/IGridIconSlot.cs.meta +11 -11
- package/ITrackableIndex.cs +15 -15
- package/ITrackableIndex.cs.meta +1 -1
- package/IUnlockableUIOption.cs +15 -15
- package/IUnlockableUIOption.cs.meta +11 -11
- package/IndexSelector.cs +187 -187
- package/IndexSelector.cs.meta +1 -1
- package/LayeredFocusCarousel.cs +35 -35
- package/LayeredFocusCarousel.cs.meta +1 -1
- package/MenuGroup.cs +294 -294
- package/MenuGroup.cs.meta +11 -11
- package/MenuGroupBase.cs +232 -232
- package/MenuGroupBase.cs.meta +11 -11
- package/MenuModifier.cs +44 -44
- package/MenuModifier.cs.meta +11 -11
- package/MenuState.cs +68 -68
- package/MenuState.cs.meta +11 -11
- package/Options/ChangerUIList.cs +54 -54
- package/Options/ChangerUIList.cs.meta +11 -11
- package/Options/DifficultyGroup.cs +224 -224
- package/Options/DifficultyGroup.cs.meta +11 -11
- package/Options/Editor/OptionBuilder.cs +148 -148
- package/Options/Editor/OptionBuilder.cs.meta +11 -11
- package/Options/Editor/OptionBuilderEditor.cs +324 -324
- package/Options/Editor/OptionBuilderEditor.cs.meta +11 -11
- package/Options/Editor/OptionInstance.cs +22 -22
- package/Options/Editor/OptionInstance.cs.meta +11 -11
- package/Options/Editor/OptionType.cs +22 -22
- package/Options/Editor/OptionType.cs.meta +11 -11
- package/Options/Editor.meta +8 -8
- package/Options/NavigationGroup.cs +35 -35
- package/Options/NavigationGroup.cs.meta +11 -11
- package/Options/NavigationSelect.cs +36 -36
- package/Options/NavigationSelect.cs.meta +11 -11
- package/Options/OptionToggleUI.cs +252 -252
- package/Options/OptionToggleUI.cs.meta +11 -11
- package/Options/OptionUIGroup.cs +302 -302
- package/Options/OptionUIGroup.cs.meta +11 -11
- package/Options/OptionUIGroupBase.cs +40 -40
- package/Options/OptionUIGroupBase.cs.meta +11 -11
- package/Options/OptionUIManager.cs +68 -68
- package/Options/OptionUIManager.cs.meta +11 -11
- package/Options/SelectableOption.cs +62 -62
- package/Options/SelectableOption.cs.meta +11 -11
- package/Options/SliderOption.cs +47 -47
- package/Options/SliderOption.cs.meta +11 -11
- package/Options/SliderUIOption.cs +98 -98
- package/Options/SliderUIOption.cs.meta +11 -11
- package/Options/ToggleOption.cs +14 -14
- package/Options/ToggleOption.cs.meta +11 -11
- package/Options.meta +8 -8
- package/PopUpModifier.cs +126 -126
- package/PopUpModifier.cs.meta +11 -11
- package/RegulationRules/IRegulation.cs +36 -36
- package/RegulationRules/IRegulation.cs.meta +11 -11
- package/RegulationRules/IRegulationsUIRepository.cs +19 -19
- package/RegulationRules/IRegulationsUIRepository.cs.meta +11 -11
- package/RegulationRules/Regulation.cs +84 -84
- package/RegulationRules/Regulation.cs.meta +11 -11
- package/RegulationRules/RegulationAnimations/RegulationAnimator.controller +220 -220
- package/RegulationRules/RegulationAnimations/RegulationAnimator.controller.meta +8 -8
- package/RegulationRules/RegulationAnimations/ShowRegulation.anim +295 -295
- package/RegulationRules/RegulationAnimations/ShowRegulation.anim.meta +8 -8
- package/RegulationRules/RegulationAnimations.meta +8 -8
- package/RegulationRules/RegulationDisplayer.cs +41 -41
- package/RegulationRules/RegulationDisplayer.cs.meta +1 -1
- package/RegulationRules/RegulationSaveHandler.cs +95 -95
- package/RegulationRules/RegulationSaveHandler.cs.meta +11 -11
- package/RegulationRules/RegulationsDatabase.cs +52 -52
- package/RegulationRules/RegulationsDatabase.cs.meta +11 -11
- package/RegulationRules/RegulationsUI.cs +237 -237
- package/RegulationRules/RegulationsUI.cs.meta +11 -11
- package/RegulationRules/RegulationsUIBase.cs +107 -107
- package/RegulationRules/RegulationsUIBase.cs.meta +1 -1
- package/RegulationRules/RegulationsUtility.cs +150 -150
- package/RegulationRules/RegulationsUtility.cs.meta +11 -11
- package/RegulationRules.meta +8 -8
- package/RewireUINavigation.cs +225 -225
- package/RewireUINavigation.cs.meta +11 -11
- package/{Samples → Samples~}/3D_UI_Canvas_Shell.prefab +709 -709
- package/{Samples → Samples~}/3D_UI_Canvas_Shell.prefab.meta +7 -7
- package/{Samples → Samples~}/3D_UI_Canvas_Template.prefab +365 -365
- package/{Samples → Samples~}/3D_UI_Canvas_Template.prefab.meta +7 -7
- package/{Samples → Samples~}/Animations/3D/ConfirmSelection.anim +1313 -1313
- package/{Samples → Samples~}/Animations/3D/ConfirmSelection.anim.meta +8 -8
- package/{Samples → Samples~}/Animations/3D/DeSelected.anim +431 -431
- package/{Samples → Samples~}/Animations/3D/DeSelected.anim.meta +8 -8
- package/{Samples → Samples~}/Animations/3D/Disappear.anim +536 -536
- package/{Samples → Samples~}/Animations/3D/Disappear.anim.meta +8 -8
- package/{Samples → Samples~}/Animations/3D/IsSelected.anim +431 -431
- package/{Samples → Samples~}/Animations/3D/IsSelected.anim.meta +8 -8
- package/{Samples → Samples~}/Animations/3D/ItemFade.anim +161 -161
- package/{Samples → Samples~}/Animations/3D/ItemFade.anim.meta +8 -8
- package/{Samples → Samples~}/Animations/3D/ItemIcon.anim +334 -334
- package/{Samples → Samples~}/Animations/3D/ItemIcon.anim.meta +8 -8
- package/{Samples → Samples~}/Animations/3D/Reticle.anim +173 -173
- package/{Samples → Samples~}/Animations/3D/Reticle.anim.meta +8 -8
- package/{Samples → Samples~}/Animations/3D/Reticle.controller +2574 -2574
- package/{Samples → Samples~}/Animations/3D/Reticle.controller.meta +8 -8
- package/{Samples → Samples~}/Animations/3D/SBFadeIn.anim +311 -311
- package/{Samples → Samples~}/Animations/3D/SBFadeIn.anim.meta +8 -8
- package/{Samples → Samples~}/Animations/3D/SBLoop.anim +467 -467
- package/{Samples → Samples~}/Animations/3D/SBLoop.anim.meta +8 -8
- package/{Samples → Samples~}/Animations/3D.meta +8 -8
- package/{Samples → Samples~}/Animations/Dialogue/Choices/Choice.controller +666 -666
- package/{Samples → Samples~}/Animations/Dialogue/Choices/Choice.controller.meta +8 -8
- package/{Samples → Samples~}/Animations/Dialogue/Choices/Choices.controller +304 -304
- package/{Samples → Samples~}/Animations/Dialogue/Choices/Choices.controller.meta +8 -8
- package/{Samples → Samples~}/Animations/Dialogue/Choices/ShowChoice.anim +116 -116
- package/{Samples → Samples~}/Animations/Dialogue/Choices/ShowChoice.anim.meta +8 -8
- package/{Samples → Samples~}/Animations/Dialogue/Choices.meta +8 -8
- package/{Samples → Samples~}/Animations/Dialogue/Dialogue UI/Dialogue UI.controller +762 -762
- package/{Samples → Samples~}/Animations/Dialogue/Dialogue UI/Dialogue UI.controller.meta +8 -8
- package/{Samples → Samples~}/Animations/Dialogue/Dialogue UI/HideBox.anim +1512 -1512
- package/{Samples → Samples~}/Animations/Dialogue/Dialogue UI/HideBox.anim.meta +8 -8
- package/{Samples → Samples~}/Animations/Dialogue/Dialogue UI/MoveBackDialogue.anim +692 -692
- package/{Samples → Samples~}/Animations/Dialogue/Dialogue UI/MoveBackDialogue.anim.meta +8 -8
- package/{Samples → Samples~}/Animations/Dialogue/Dialogue UI/MoveDialogue.anim +1710 -1710
- package/{Samples → Samples~}/Animations/Dialogue/Dialogue UI/MoveDialogue.anim.meta +8 -8
- package/{Samples → Samples~}/Animations/Dialogue/Dialogue UI/ShowDialogue.anim +1583 -1583
- package/{Samples → Samples~}/Animations/Dialogue/Dialogue UI/ShowDialogue.anim.meta +8 -8
- package/{Samples → Samples~}/Animations/Dialogue/Dialogue UI/ShowInstant.anim +962 -962
- package/{Samples → Samples~}/Animations/Dialogue/Dialogue UI/ShowInstant.anim.meta +8 -8
- package/{Samples → Samples~}/Animations/Dialogue/Dialogue UI.meta +8 -8
- package/{Samples → Samples~}/Animations/Dialogue/Protag WIndow/HideProtag.anim +179 -179
- package/{Samples → Samples~}/Animations/Dialogue/Protag WIndow/HideProtag.anim.meta +8 -8
- package/{Samples → Samples~}/Animations/Dialogue/Protag WIndow/ProtagUIWindow.controller +214 -214
- package/{Samples → Samples~}/Animations/Dialogue/Protag WIndow/ProtagUIWindow.controller.meta +8 -8
- package/{Samples → Samples~}/Animations/Dialogue/Protag WIndow/ShowProtag.anim +179 -179
- package/{Samples → Samples~}/Animations/Dialogue/Protag WIndow/ShowProtag.anim.meta +8 -8
- package/{Samples → Samples~}/Animations/Dialogue/Protag WIndow.meta +8 -8
- package/{Samples → Samples~}/Animations/Dialogue/Show Item/HideItem.anim +116 -116
- package/{Samples → Samples~}/Animations/Dialogue/Show Item/HideItem.anim.meta +8 -8
- package/{Samples → Samples~}/Animations/Dialogue/Show Item/Item Image.controller +130 -130
- package/{Samples → Samples~}/Animations/Dialogue/Show Item/Item Image.controller.meta +8 -8
- package/{Samples → Samples~}/Animations/Dialogue/Show Item/ShowItem.anim +116 -116
- package/{Samples → Samples~}/Animations/Dialogue/Show Item/ShowItem.anim.meta +8 -8
- package/{Samples → Samples~}/Animations/Dialogue/Show Item.meta +8 -8
- package/{Samples → Samples~}/Animations/Dialogue.meta +8 -8
- package/{Samples → Samples~}/Animations/Investigation/BulletGet/Bullet Get Canvas.controller +410 -410
- package/{Samples → Samples~}/Animations/Investigation/BulletGet/Bullet Get Canvas.controller.meta +8 -8
- package/{Samples → Samples~}/Animations/Investigation/BulletGet/ShowBulletPicture.anim +242 -242
- package/{Samples → Samples~}/Animations/Investigation/BulletGet/ShowBulletPicture.anim.meta +8 -8
- package/{Samples → Samples~}/Animations/Investigation/BulletGet/ShowGetBullet.anim +809 -809
- package/{Samples → Samples~}/Animations/Investigation/BulletGet/ShowGetBullet.anim.meta +8 -8
- package/{Samples → Samples~}/Animations/Investigation/BulletGet.meta +8 -8
- package/{Samples → Samples~}/Animations/Investigation.meta +8 -8
- package/{Samples → Samples~}/Animations/Main_Menu/DifficultyGroup.controller +220 -220
- package/{Samples → Samples~}/Animations/Main_Menu/DifficultyGroup.controller.meta +8 -8
- package/{Samples → Samples~}/Animations/Main_Menu/HideOptionsMenu.anim +474 -474
- package/{Samples → Samples~}/Animations/Main_Menu/HideOptionsMenu.anim.meta +8 -8
- package/{Samples → Samples~}/Animations/Main_Menu/MenuOption.controller +1206 -1206
- package/{Samples → Samples~}/Animations/Main_Menu/MenuOption.controller.meta +8 -8
- package/{Samples → Samples~}/Animations/Main_Menu/Options Group.controller +249 -249
- package/{Samples → Samples~}/Animations/Main_Menu/Options Group.controller.meta +8 -8
- package/{Samples → Samples~}/Animations/Main_Menu/Press Start.controller +729 -729
- package/{Samples → Samples~}/Animations/Main_Menu/Press Start.controller.meta +8 -8
- package/{Samples → Samples~}/Animations/Main_Menu/RevealOptions.anim +743 -743
- package/{Samples → Samples~}/Animations/Main_Menu/RevealOptions.anim.meta +8 -8
- package/{Samples → Samples~}/Animations/Main_Menu/RevealOptionsMenu.anim +456 -456
- package/{Samples → Samples~}/Animations/Main_Menu/RevealOptionsMenu.anim.meta +8 -8
- package/{Samples → Samples~}/Animations/Main_Menu.meta +8 -8
- package/{Samples → Samples~}/Animations/Main_UI/HideMainUI.anim +998 -998
- package/{Samples → Samples~}/Animations/Main_UI/HideMainUI.anim.meta +8 -8
- package/{Samples → Samples~}/Animations/Main_UI/Main UI.controller +248 -248
- package/{Samples → Samples~}/Animations/Main_UI/Main UI.controller.meta +8 -8
- package/{Samples → Samples~}/Animations/Main_UI.meta +8 -8
- package/{Samples → Samples~}/Animations/Truth_Bullet_Menu/ShowTBM.anim +295 -295
- package/{Samples → Samples~}/Animations/Truth_Bullet_Menu/ShowTBM.anim.meta +8 -8
- package/{Samples → Samples~}/Animations/Truth_Bullet_Menu/Truth Bullet Canvas.controller +220 -220
- package/{Samples → Samples~}/Animations/Truth_Bullet_Menu/Truth Bullet Canvas.controller.meta +8 -8
- package/{Samples → Samples~}/Animations/Truth_Bullet_Menu.meta +8 -8
- package/{Samples → Samples~}/Animations.meta +8 -8
- package/{Samples → Samples~}/Animator_Bool_UI_Visibility_ETemplate.prefab +81 -81
- package/{Samples → Samples~}/Animator_Bool_UI_Visibility_ETemplate.prefab.meta +7 -7
- package/{Samples → Samples~}/Animator_Visibility_Canvas_Template.prefab +185 -185
- package/{Samples → Samples~}/Animator_Visibility_Canvas_Template.prefab.meta +7 -7
- package/{Samples → Samples~}/Appear_Bool_Handler.prefab +511 -511
- package/{Samples → Samples~}/Appear_Bool_Handler.prefab.meta +7 -7
- package/{Samples → Samples~}/Bool_Save_Handler.prefab +79 -79
- package/{Samples → Samples~}/Bool_Save_Handler.prefab.meta +7 -7
- package/{Samples → Samples~}/Carousel_Component_Shell.prefab +115 -115
- package/{Samples → Samples~}/Carousel_Component_Shell.prefab.meta +7 -7
- package/{Samples → Samples~}/Carousel_Component_Template.prefab +174 -174
- package/{Samples → Samples~}/Carousel_Component_Template.prefab.meta +7 -7
- package/{Samples → Samples~}/Chapter_Number_Text.prefab +177 -177
- package/{Samples → Samples~}/Chapter_Number_Text.prefab.meta +7 -7
- package/{Samples → Samples~}/Chapter_Section_UI_Template.prefab +290 -290
- package/{Samples → Samples~}/Chapter_Section_UI_Template.prefab.meta +7 -7
- package/{Samples → Samples~}/Chapter_Text.prefab +175 -175
- package/{Samples → Samples~}/Chapter_Text.prefab.meta +7 -7
- package/{Samples → Samples~}/Choice_Manager_Shell.prefab +232 -232
- package/{Samples → Samples~}/Choice_Manager_Shell.prefab.meta +7 -7
- package/{Samples → Samples~}/Choice_Manager_Template.prefab +377 -377
- package/{Samples → Samples~}/Choice_Manager_Template.prefab.meta +7 -7
- package/{Samples → Samples~}/Choice_Option_Shell.prefab +257 -257
- package/{Samples → Samples~}/Choice_Option_Shell.prefab.meta +7 -7
- package/{Samples → Samples~}/Choice_Option_Template.prefab +285 -285
- package/{Samples → Samples~}/Choice_Option_Template.prefab.meta +7 -7
- package/{Samples → Samples~}/Choice_Option_Yes_No_Template.prefab +196 -196
- package/{Samples → Samples~}/Choice_Option_Yes_No_Template.prefab.meta +7 -7
- package/{Samples → Samples~}/Choice_UI_Shell.prefab +118 -118
- package/{Samples → Samples~}/Choice_UI_Shell.prefab.meta +7 -7
- package/{Samples → Samples~}/Choice_UI_Template.prefab +601 -601
- package/{Samples → Samples~}/Choice_UI_Template.prefab.meta +7 -7
- package/{Samples → Samples~}/ClickedNewGame.asset +21 -21
- package/{Samples → Samples~}/ClickedNewGame.asset.meta +8 -8
- package/{Samples → Samples~}/Confirm_Canvas_Shell.prefab +85 -85
- package/{Samples → Samples~}/Confirm_Canvas_Shell.prefab.meta +7 -7
- package/{Samples → Samples~}/Confirm_Canvas_Template.prefab +716 -716
- package/{Samples → Samples~}/Confirm_Canvas_Template.prefab.meta +7 -7
- package/{Samples → Samples~}/Confirm_Select_Bool_Handler.prefab +448 -448
- package/{Samples → Samples~}/Confirm_Select_Bool_Handler.prefab.meta +7 -7
- package/{Samples → Samples~}/Continue_Button_ETemplate.prefab +344 -344
- package/{Samples → Samples~}/Continue_Button_ETemplate.prefab.meta +7 -7
- package/{Samples → Samples~}/ContinuedGame.asset +15 -15
- package/{Samples → Samples~}/ContinuedGame.asset.meta +8 -8
- package/{Samples → Samples~}/ControlPresets/BlackenedSelect_Controls.preset +120 -120
- package/{Samples → Samples~}/ControlPresets/BlackenedSelect_Controls.preset.meta +8 -8
- package/{Samples → Samples~}/ControlPresets/CA_Controls.preset +145 -145
- package/{Samples → Samples~}/ControlPresets/CA_Controls.preset.meta +8 -8
- package/{Samples → Samples~}/ControlPresets/ControlsDatabase.preset +117 -117
- package/{Samples → Samples~}/ControlPresets/ControlsDatabase.preset.meta +8 -8
- package/{Samples → Samples~}/ControlPresets/Convo_Controls.preset +195 -195
- package/{Samples → Samples~}/ControlPresets/Convo_Controls.preset.meta +8 -8
- package/{Samples → Samples~}/ControlPresets/FTE_Minigame_UI_Controls.preset +195 -195
- package/{Samples → Samples~}/ControlPresets/FTE_Minigame_UI_Controls.preset.meta +8 -8
- package/{Samples → Samples~}/ControlPresets/NSDP_Controls.preset +220 -220
- package/{Samples → Samples~}/ControlPresets/NSDP_Controls.preset.meta +8 -8
- package/{Samples → Samples~}/ControlPresets/NSD_Controls.preset +195 -195
- package/{Samples → Samples~}/ControlPresets/NSD_Controls.preset.meta +8 -8
- package/{Samples → Samples~}/ControlPresets/RS_Controls.preset +195 -195
- package/{Samples → Samples~}/ControlPresets/RS_Controls.preset.meta +8 -8
- package/{Samples → Samples~}/ControlPresets/TPFD_Controls.preset +245 -245
- package/{Samples → Samples~}/ControlPresets/TPFD_Controls.preset.meta +8 -8
- package/{Samples → Samples~}/ControlPresets/ThreeD_Controls.preset +245 -245
- package/{Samples → Samples~}/ControlPresets/ThreeD_Controls.preset.meta +8 -8
- package/{Samples → Samples~}/ControlPresets/Trial_Convo_Controls.preset +195 -195
- package/{Samples → Samples~}/ControlPresets/Trial_Convo_Controls.preset.meta +8 -8
- package/{Samples → Samples~}/ControlPresets.meta +8 -8
- package/{Samples → Samples~}/Control_UI_Row_ETemplate.prefab +565 -565
- package/{Samples → Samples~}/Control_UI_Row_ETemplate.prefab.meta +7 -7
- package/{Samples → Samples~}/Controls_TAB_ETemplate.prefab +556 -556
- package/{Samples → Samples~}/Controls_TAB_ETemplate.prefab.meta +7 -7
- package/{Samples → Samples~}/Controls_UI_Canvas_ETemplate.prefab +620 -620
- package/{Samples → Samples~}/Controls_UI_Canvas_ETemplate.prefab.meta +7 -7
- package/{Samples → Samples~}/Controls_UI_Canvas_Shell.prefab +445 -445
- package/{Samples → Samples~}/Controls_UI_Canvas_Shell.prefab.meta +7 -7
- package/{Samples → Samples~}/Controls_UI_Condition.prefab +69 -69
- package/{Samples → Samples~}/Controls_UI_Condition.prefab.meta +7 -7
- package/{Samples → Samples~}/Controls_UI_Handler.prefab +196 -196
- package/{Samples → Samples~}/Controls_UI_Handler.prefab.meta +7 -7
- package/{Samples → Samples~}/Credits_Button_ETemplate.prefab +148 -148
- package/{Samples → Samples~}/Credits_Button_ETemplate.prefab.meta +7 -7
- package/{Samples → Samples~}/DRE_Regulations_UI.unity +525 -525
- package/{Samples → Samples~}/DRE_Regulations_UI.unity.meta +7 -7
- package/{Samples → Samples~}/DRE_Selectable_Option.prefab +308 -308
- package/{Samples → Samples~}/DRE_Selectable_Option.prefab.meta +7 -7
- package/{Samples → Samples~}/Dialogue_Box_ETemplate.prefab +452 -452
- package/{Samples → Samples~}/Dialogue_Box_ETemplate.prefab.meta +7 -7
- package/{Samples → Samples~}/Dialogue_Box_Text.prefab +152 -152
- package/{Samples → Samples~}/Dialogue_Box_Text.prefab.meta +7 -7
- package/{Samples → Samples~}/Dialogue_Box_UI_Visibility.prefab +75 -75
- package/{Samples → Samples~}/Dialogue_Box_UI_Visibility.prefab.meta +7 -7
- package/{Samples → Samples~}/Dialogue_Move_UI_Visibility.prefab +75 -75
- package/{Samples → Samples~}/Dialogue_Move_UI_Visibility.prefab.meta +7 -7
- package/{Samples → Samples~}/Dialogue_UI_Canvas_Shell.prefab +1365 -1365
- package/{Samples → Samples~}/Dialogue_UI_Canvas_Shell.prefab.meta +7 -7
- package/{Samples → Samples~}/Dialogue_UI_Canvas_Template.prefab +736 -736
- package/{Samples → Samples~}/Dialogue_UI_Canvas_Template.prefab.meta +7 -7
- package/{Samples → Samples~}/Dialogue_UI_Visibility.prefab +343 -343
- package/{Samples → Samples~}/Dialogue_UI_Visibility.prefab.meta +7 -7
- package/{Samples → Samples~}/Difficulty_Group_Shell.prefab +468 -468
- package/{Samples → Samples~}/Difficulty_Group_Shell.prefab.meta +7 -7
- package/{Samples → Samples~}/Difficulty_Group_Template.prefab +575 -575
- package/{Samples → Samples~}/Difficulty_Group_Template.prefab.meta +7 -7
- package/{Samples → Samples~}/Difficulty_UI_Canvas_Shell.prefab +351 -351
- package/{Samples → Samples~}/Difficulty_UI_Canvas_Shell.prefab.meta +7 -7
- package/{Samples → Samples~}/Difficulty_UI_Canvas_Template.prefab +678 -678
- package/{Samples → Samples~}/Difficulty_UI_Canvas_Template.prefab.meta +7 -7
- package/{Samples → Samples~}/DisableContinueButton.asset +15 -15
- package/{Samples → Samples~}/DisableContinueButton.asset.meta +8 -8
- package/{Samples → Samples~}/DisablePauseCanvas.asset +15 -15
- package/{Samples → Samples~}/DisablePauseCanvas.asset.meta +8 -8
- package/{Samples → Samples~}/DisplayNameVisible.asset +21 -21
- package/{Samples → Samples~}/DisplayNameVisible.asset.meta +8 -8
- package/{Samples → Samples~}/Flash_White_Image.prefab +97 -97
- package/{Samples → Samples~}/Flash_White_Image.prefab.meta +7 -7
- package/{Samples → Samples~}/Float_Save_Handler.prefab +54 -54
- package/{Samples → Samples~}/Float_Save_Handler.prefab.meta +7 -7
- package/{Samples → Samples~}/HideFakePause.asset +14 -14
- package/{Samples → Samples~}/HideFakePause.asset.meta +8 -8
- package/{Samples → Samples~}/Instant_Dialogue_UI_Visibility.prefab +264 -264
- package/{Samples → Samples~}/Instant_Dialogue_UI_Visibility.prefab.meta +7 -7
- package/{Samples → Samples~}/Is_Selected_Bool_Handler.prefab +89 -89
- package/{Samples → Samples~}/Is_Selected_Bool_Handler.prefab.meta +7 -7
- package/{Samples → Samples~}/Item_Icon_Bool_Handler.prefab +89 -89
- package/{Samples → Samples~}/Item_Icon_Bool_Handler.prefab.meta +7 -7
- package/{Samples → Samples~}/Item_Name_Display_ETemplate.prefab +357 -357
- package/{Samples → Samples~}/Item_Name_Display_ETemplate.prefab.meta +7 -7
- package/{Samples → Samples~}/Letter_Box_Canvas.prefab +256 -256
- package/{Samples → Samples~}/Letter_Box_Canvas.prefab.meta +7 -7
- package/{Samples → Samples~}/Load_Game_Button_ETemplate.prefab +196 -196
- package/{Samples → Samples~}/Load_Game_Button_ETemplate.prefab.meta +7 -7
- package/{Samples → Samples~}/Main_Menu_Button_DRE.prefab +346 -346
- package/{Samples → Samples~}/Main_Menu_Button_DRE.prefab.meta +7 -7
- package/{Samples → Samples~}/Main_Menu_System_Shell.prefab +33 -33
- package/{Samples → Samples~}/Main_Menu_System_Shell.prefab.meta +7 -7
- package/{Samples → Samples~}/Main_Menu_UI_Canvas_Shell.prefab +355 -355
- package/{Samples → Samples~}/Main_Menu_UI_Canvas_Shell.prefab.meta +7 -7
- package/{Samples → Samples~}/Main_Menu_UI_Canvas_Template.prefab +426 -426
- package/{Samples → Samples~}/Main_Menu_UI_Canvas_Template.prefab.meta +7 -7
- package/{Samples → Samples~}/Main_UI_Canvas_Shell.prefab +649 -649
- package/{Samples → Samples~}/Main_UI_Canvas_Shell.prefab.meta +7 -7
- package/{Samples → Samples~}/Main_UI_Canvas_Template.prefab +365 -365
- package/{Samples → Samples~}/Main_UI_Canvas_Template.prefab.meta +7 -7
- package/{Samples → Samples~}/Menu_Group_Shell.prefab +261 -261
- package/{Samples → Samples~}/Menu_Group_Shell.prefab.meta +7 -7
- package/{Samples → Samples~}/Menu_Group_Template.prefab +1176 -1176
- package/{Samples → Samples~}/Menu_Group_Template.prefab.meta +7 -7
- package/{Samples → Samples~}/Music_Section_UI_Template.prefab +172 -172
- package/{Samples → Samples~}/Music_Section_UI_Template.prefab.meta +7 -7
- package/{Samples → Samples~}/Nameplate.prefab +93 -93
- package/{Samples → Samples~}/Nameplate.prefab.meta +7 -7
- package/{Samples → Samples~}/New_Game_Button_ETemplate.prefab +254 -254
- package/{Samples → Samples~}/New_Game_Button_ETemplate.prefab.meta +7 -7
- package/{Samples → Samples~}/No_Button_ETemplate.prefab +144 -144
- package/{Samples → Samples~}/No_Button_ETemplate.prefab.meta +7 -7
- package/{Samples → Samples~}/Object_Name_On_Reticle.prefab +53 -53
- package/{Samples → Samples~}/Object_Name_On_Reticle.prefab.meta +7 -7
- package/{Samples → Samples~}/OnFinishedLoadingRoomNoDialogue.asset +14 -14
- package/{Samples → Samples~}/OnFinishedLoadingRoomNoDialogue.asset.meta +8 -8
- package/{Samples → Samples~}/OnLoadingRoom.asset +14 -14
- package/{Samples → Samples~}/OnLoadingRoom.asset.meta +8 -8
- package/{Samples → Samples~}/OnResumeFinished.asset +15 -15
- package/{Samples → Samples~}/OnResumeFinished.asset.meta +8 -8
- package/{Samples → Samples~}/Options_UI_Canvas_Shell.prefab +554 -554
- package/{Samples → Samples~}/Options_UI_Canvas_Shell.prefab.meta +7 -7
- package/{Samples → Samples~}/Options_UI_Canvas_Template.prefab +251 -251
- package/{Samples → Samples~}/Options_UI_Canvas_Template.prefab.meta +7 -7
- package/{Samples → Samples~}/PauseOptionData.asset +15 -15
- package/{Samples → Samples~}/PauseOptionData.asset.meta +8 -8
- package/{Samples → Samples~}/Pause_Menu_Shell.prefab +38 -38
- package/{Samples → Samples~}/Pause_Menu_Shell.prefab.meta +7 -7
- package/{Samples → Samples~}/Pause_Menu_System_Shell.prefab +428 -428
- package/{Samples → Samples~}/Pause_Menu_System_Shell.prefab.meta +7 -7
- package/{Samples → Samples~}/Pause_Menu_System_Template.prefab +536 -536
- package/{Samples → Samples~}/Pause_Menu_System_Template.prefab.meta +7 -7
- package/{Samples → Samples~}/Pause_Menu_Template.prefab +956 -956
- package/{Samples → Samples~}/Pause_Menu_Template.prefab.meta +7 -7
- package/{Samples → Samples~}/Pause_UI_Canvas_Shell.prefab +310 -310
- package/{Samples → Samples~}/Pause_UI_Canvas_Shell.prefab.meta +7 -7
- package/{Samples → Samples~}/Pause_UI_Canvas_Template.prefab +1433 -1433
- package/{Samples → Samples~}/Pause_UI_Canvas_Template.prefab.meta +7 -7
- package/{Samples → Samples~}/Pop_Up_Button_Parent_Template.prefab +375 -375
- package/{Samples → Samples~}/Pop_Up_Button_Parent_Template.prefab.meta +7 -7
- package/{Samples → Samples~}/Pop_Up_Shell.prefab +146 -146
- package/{Samples → Samples~}/Pop_Up_Shell.prefab.meta +7 -7
- package/{Samples → Samples~}/Pop_Up_Template.prefab +442 -442
- package/{Samples → Samples~}/Pop_Up_Template.prefab.meta +7 -7
- package/{Samples → Samples~}/Present_Choice_UI_Template.prefab +142 -142
- package/{Samples → Samples~}/Present_Choice_UI_Template.prefab.meta +7 -7
- package/{Samples → Samples~}/Protag_Sprite_One.prefab +147 -147
- package/{Samples → Samples~}/Protag_Sprite_One.prefab.meta +7 -7
- package/{Samples → Samples~}/Protag_Window_UI_Shell.prefab +940 -940
- package/{Samples → Samples~}/Protag_Window_UI_Shell.prefab.meta +7 -7
- package/{Samples → Samples~}/Protag_Window_UI_Template.prefab +248 -248
- package/{Samples → Samples~}/Protag_Window_UI_Template.prefab.meta +7 -7
- package/{Samples → Samples~}/Quit_Game_Button_Template.prefab +328 -328
- package/{Samples → Samples~}/Quit_Game_Button_Template.prefab.meta +7 -7
- package/{Samples → Samples~}/Quit_Pop_Up_Template.prefab +145 -145
- package/{Samples → Samples~}/Quit_Pop_Up_Template.prefab.meta +7 -7
- package/{Samples → Samples~}/Regulations_Manager.prefab +67 -67
- package/{Samples → Samples~}/Regulations_Manager.prefab.meta +7 -7
- package/{Samples → Samples~}/Regulations_UI_Canvas_ETemplate.prefab +1243 -1243
- package/{Samples → Samples~}/Regulations_UI_Canvas_ETemplate.prefab.meta +7 -7
- package/{Samples → Samples~}/ResetPauseMenu.asset +15 -15
- package/{Samples → Samples~}/ResetPauseMenu.asset.meta +8 -8
- package/{Samples → Samples~}/Reticle_Animation_Component.prefab +67 -67
- package/{Samples → Samples~}/Reticle_Animation_Component.prefab.meta +7 -7
- package/{Samples → Samples~}/Reticle_UI_Shell.prefab +1783 -1783
- package/{Samples → Samples~}/Reticle_UI_Shell.prefab.meta +7 -7
- package/{Samples → Samples~}/Reticle_UI_Template.prefab +281 -281
- package/{Samples → Samples~}/Reticle_UI_Template.prefab.meta +7 -7
- package/{Samples → Samples~}/Save_Layout_Mask_Shell.prefab +154 -154
- package/{Samples → Samples~}/Save_Layout_Mask_Shell.prefab.meta +7 -7
- package/{Samples → Samples~}/Save_Layout_Mask_Template.prefab +3697 -3697
- package/{Samples → Samples~}/Save_Layout_Mask_Template.prefab.meta +7 -7
- package/{Samples → Samples~}/Save_Load_Group_Shell.prefab +146 -146
- package/{Samples → Samples~}/Save_Load_Group_Shell.prefab.meta +7 -7
- package/{Samples → Samples~}/Save_Load_Group_Template.prefab +1718 -1718
- package/{Samples → Samples~}/Save_Load_Group_Template.prefab.meta +7 -7
- package/{Samples → Samples~}/Save_Load_Menu_Canvas_Shell.prefab +134 -134
- package/{Samples → Samples~}/Save_Load_Menu_Canvas_Shell.prefab.meta +7 -7
- package/{Samples → Samples~}/Save_Load_Menu_Canvas_Template.prefab +2290 -2290
- package/{Samples → Samples~}/Save_Load_Menu_Canvas_Template.prefab.meta +7 -7
- package/{Samples → Samples~}/Save_Load_Pause_Canvas_Template.prefab +191 -191
- package/{Samples → Samples~}/Save_Load_Pause_Canvas_Template.prefab.meta +7 -7
- package/{Samples → Samples~}/Save_Slot_ETemplate.prefab +619 -619
- package/{Samples → Samples~}/Save_Slot_ETemplate.prefab.meta +7 -7
- package/{Samples → Samples~}/SetNewGameTempFirst.asset +15 -15
- package/{Samples → Samples~}/SetNewGameTempFirst.asset.meta +8 -8
- package/{Samples → Samples~}/Set_Controls_Key_By_Mode_Event.prefab +62 -62
- package/{Samples → Samples~}/Set_Controls_Key_By_Mode_Event.prefab.meta +7 -7
- package/{Samples → Samples~}/ShowFakePause.asset +14 -14
- package/{Samples → Samples~}/ShowFakePause.asset.meta +8 -8
- package/{Samples → Samples~}/ShowPauseGroup.asset +14 -14
- package/{Samples → Samples~}/ShowPauseGroup.asset.meta +8 -8
- package/{Samples → Samples~}/Slider_Bar_Option_ETemplate.prefab +609 -609
- package/{Samples → Samples~}/Slider_Bar_Option_ETemplate.prefab.meta +7 -7
- package/{Samples → Samples~}/Speak_Icon_Bool_Handler.prefab +89 -89
- package/{Samples → Samples~}/Speak_Icon_Bool_Handler.prefab.meta +7 -7
- package/{Samples → Samples~}/StartPauseGroup.asset +14 -14
- package/{Samples → Samples~}/StartPauseGroup.asset.meta +8 -8
- package/{Samples → Samples~}/Start_Game_Button_DRE.prefab +226 -226
- package/{Samples → Samples~}/Start_Game_Button_DRE.prefab.meta +7 -7
- package/{Samples → Samples~}/Start_Group_ETemplate.prefab +330 -330
- package/{Samples → Samples~}/Start_Group_ETemplate.prefab.meta +7 -7
- package/{Samples → Samples~}/System_Menu_Shell.prefab +38 -38
- package/{Samples → Samples~}/System_Menu_Shell.prefab.meta +7 -7
- package/{Samples → Samples~}/System_Menu_Template.prefab +2396 -2396
- package/{Samples → Samples~}/System_Menu_Template.prefab.meta +7 -7
- package/{Samples → Samples~}/System_TAB_ETemplate.prefab +734 -734
- package/{Samples → Samples~}/System_TAB_ETemplate.prefab.meta +7 -7
- package/{Samples → Samples~}/System_UI_Canvas_Shell.prefab +328 -328
- package/{Samples → Samples~}/System_UI_Canvas_Shell.prefab.meta +7 -7
- package/{Samples → Samples~}/System_UI_Canvas_Template.prefab +1520 -1520
- package/{Samples → Samples~}/System_UI_Canvas_Template.prefab.meta +7 -7
- package/{Samples → Samples~}/TMP_Marq_Mask.prefab +336 -336
- package/{Samples → Samples~}/TMP_Marq_Mask.prefab.meta +7 -7
- package/{Samples → Samples~}/Title_Group_Shell.prefab +191 -191
- package/{Samples → Samples~}/Title_Group_Shell.prefab.meta +7 -7
- package/{Samples → Samples~}/Title_Group_Template.prefab +709 -709
- package/{Samples → Samples~}/Title_Group_Template.prefab.meta +7 -7
- package/{Samples → Samples~}/Toggle_Option_ETemplate.prefab +1086 -1086
- package/{Samples → Samples~}/Toggle_Option_ETemplate.prefab.meta +7 -7
- package/{Samples → Samples~}/UI_Button_DRE.prefab +268 -268
- package/{Samples → Samples~}/UI_Button_DRE.prefab.meta +7 -7
- package/{Samples → Samples~}/Value_Event_Save_Handlers.prefab +413 -413
- package/{Samples → Samples~}/Value_Event_Save_Handlers.prefab.meta +7 -7
- package/{Samples → Samples~}/Yes_Button_ETemplate.prefab +260 -260
- package/{Samples → Samples~}/Yes_Button_ETemplate.prefab.meta +7 -7
- package/ScrollGridUI.cs +359 -359
- package/ScrollGridUI.cs.meta +11 -11
- package/ScrollOption.cs +64 -64
- package/ScrollOption.cs.meta +11 -11
- package/ScrollOptionModifier.cs +76 -76
- package/ScrollOptionModifier.cs.meta +11 -11
- package/ScrollableIndexSelector.cs +55 -55
- package/ScrollableIndexSelector.cs.meta +1 -1
- package/SelectHandler.cs +34 -34
- package/SelectHandler.cs.meta +11 -11
- package/SelectableMenuGroupBase.cs +196 -196
- package/SelectableMenuGroupBase.cs.meta +11 -11
- package/SelectableUIOption.cs +76 -76
- package/SelectableUIOption.cs.meta +11 -11
- package/SelectedItemDisplayer.cs +18 -18
- package/SelectedItemDisplayer.cs.meta +11 -11
- package/TrackedIndexListener.cs +66 -66
- package/TrackedIndexListener.cs.meta +1 -1
- package/UIControls/CallableControlledUI.cs +63 -63
- package/UIControls/CallableControlledUI.cs.meta +1 -1
- package/UIControls/CallableUIBase.cs +102 -102
- package/UIControls/CallableUIBase.cs.meta +11 -11
- package/UIControls/ControlPair.cs +23 -23
- package/UIControls/ControlPair.cs.meta +11 -11
- package/UIControls/ControlPanelRow.cs +66 -66
- package/UIControls/ControlPanelRow.cs.meta +11 -11
- package/UIControls/ControlsDatabase.cs +35 -35
- package/UIControls/ControlsDatabase.cs.meta +11 -11
- package/UIControls/ControlsUI.cs +335 -335
- package/UIControls/ControlsUI.cs.meta +11 -11
- package/UIControls/ControlsUIHandler.cs +15 -15
- package/UIControls/ControlsUIHandler.cs.meta +11 -11
- package/UIControls/ControlsUIPanel.cs +48 -48
- package/UIControls/ControlsUIPanel.cs.meta +11 -11
- package/UIControls/ControlsUIService.cs +11 -11
- package/UIControls/ControlsUIService.cs.meta +11 -11
- package/UIControls/ControlsUISlot.cs +242 -242
- package/UIControls/ControlsUISlot.cs.meta +11 -11
- package/UIControls/ControlsUITab.cs +79 -79
- package/UIControls/ControlsUITab.cs.meta +11 -11
- package/UIControls/IControlRowData.cs +41 -41
- package/UIControls/IControlRowData.cs.meta +11 -11
- package/UIControls/IControlsUIPanel.cs +24 -24
- package/UIControls/IControlsUIPanel.cs.meta +11 -11
- package/UIControls/IControlsUIRepository.cs +16 -16
- package/UIControls/IControlsUIRepository.cs.meta +11 -11
- package/UIControls/IControlsUIRow.cs +15 -15
- package/UIControls/IControlsUIRow.cs.meta +11 -11
- package/UIControls/KeysUITab.cs +84 -84
- package/UIControls/KeysUITab.cs.meta +11 -11
- package/UIControls/ModeKeyPair.cs +24 -24
- package/UIControls/ModeKeyPair.cs.meta +1 -1
- package/UIControls/SetControlsKeyByMode.cs +56 -56
- package/UIControls/SetControlsKeyByMode.cs.meta +11 -11
- package/UIControls/SystemUITab.cs +29 -29
- package/UIControls/SystemUITab.cs.meta +11 -11
- package/UIControls.meta +8 -8
- package/VectorIndexSelector.cs +47 -47
- package/VectorIndexSelector.cs.meta +1 -1
- package/VerticalScrollWindow.cs +353 -353
- package/VerticalScrollWindow.cs.meta +11 -11
- package/package.json +49 -44
- package/package.json.meta +7 -7
- package/Samples.meta +0 -8
|
@@ -1,42 +1,42 @@
|
|
|
1
|
-
//Completely Reworked Author: Benjamin "Sweden" Jillson : Discord: sweden_gaming For Project Eden's Garden
|
|
2
|
-
//Originally done by Willy Bee
|
|
3
|
-
using TMPro;
|
|
4
|
-
using UnityEngine;
|
|
5
|
-
using UnityEngine.UI;
|
|
6
|
-
|
|
7
|
-
namespace DREditor.UI.RegulationRules
|
|
8
|
-
{
|
|
9
|
-
/// <summary>
|
|
10
|
-
///
|
|
11
|
-
/// </summary>
|
|
12
|
-
public class RegulationDisplayer : MonoBehaviour
|
|
13
|
-
{
|
|
14
|
-
/// <summary>
|
|
15
|
-
///
|
|
16
|
-
/// </summary>
|
|
17
|
-
[Header("")]
|
|
18
|
-
[Space]
|
|
19
|
-
[Tooltip("")]
|
|
20
|
-
[SerializeField] protected Image ruleImg = null;
|
|
21
|
-
|
|
22
|
-
/// <summary>
|
|
23
|
-
///
|
|
24
|
-
/// </summary>
|
|
25
|
-
[Tooltip("")]
|
|
26
|
-
[SerializeField] protected TextMeshProUGUI ruleText = null;
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
/// <summary>
|
|
31
|
-
///
|
|
32
|
-
/// </summary>
|
|
33
|
-
public virtual void DisplayRegulation(IRegulation regulation)
|
|
34
|
-
{
|
|
35
|
-
if (ruleImg != null)
|
|
36
|
-
ruleImg.sprite = regulation.Image;
|
|
37
|
-
|
|
38
|
-
if (ruleText != null)
|
|
39
|
-
ruleText.text = regulation.Text;
|
|
40
|
-
}
|
|
41
|
-
}
|
|
1
|
+
//Completely Reworked Author: Benjamin "Sweden" Jillson : Discord: sweden_gaming For Project Eden's Garden
|
|
2
|
+
//Originally done by Willy Bee
|
|
3
|
+
using TMPro;
|
|
4
|
+
using UnityEngine;
|
|
5
|
+
using UnityEngine.UI;
|
|
6
|
+
|
|
7
|
+
namespace DREditor.UI.RegulationRules
|
|
8
|
+
{
|
|
9
|
+
/// <summary>
|
|
10
|
+
///
|
|
11
|
+
/// </summary>
|
|
12
|
+
public class RegulationDisplayer : MonoBehaviour
|
|
13
|
+
{
|
|
14
|
+
/// <summary>
|
|
15
|
+
///
|
|
16
|
+
/// </summary>
|
|
17
|
+
[Header("")]
|
|
18
|
+
[Space]
|
|
19
|
+
[Tooltip("")]
|
|
20
|
+
[SerializeField] protected Image ruleImg = null;
|
|
21
|
+
|
|
22
|
+
/// <summary>
|
|
23
|
+
///
|
|
24
|
+
/// </summary>
|
|
25
|
+
[Tooltip("")]
|
|
26
|
+
[SerializeField] protected TextMeshProUGUI ruleText = null;
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
/// <summary>
|
|
31
|
+
///
|
|
32
|
+
/// </summary>
|
|
33
|
+
public virtual void DisplayRegulation(IRegulation regulation)
|
|
34
|
+
{
|
|
35
|
+
if (ruleImg != null)
|
|
36
|
+
ruleImg.sprite = regulation.Image;
|
|
37
|
+
|
|
38
|
+
if (ruleText != null)
|
|
39
|
+
ruleText.text = regulation.Text;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
42
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
fileFormatVersion: 2
|
|
1
|
+
fileFormatVersion: 2
|
|
2
2
|
guid: 04c83293c9808e54bb0f4b092fdcdbb5
|
|
@@ -1,96 +1,96 @@
|
|
|
1
|
-
//Author: Benjamin "Sweden" Jillson : Discord: sweden_gaming For Project Eden's Garden
|
|
2
|
-
using DREditor.Saving;
|
|
3
|
-
using System.Collections.Generic;
|
|
4
|
-
using UnityEngine;
|
|
5
|
-
|
|
6
|
-
namespace DREditor.UI.RegulationRules
|
|
7
|
-
{
|
|
8
|
-
/// <summary>
|
|
9
|
-
///
|
|
10
|
-
/// </summary>
|
|
11
|
-
[ClassHeader(nameof(IDRESaveable) + ", " + nameof(IDRELoadableManager) +
|
|
12
|
-
"\n\n")]
|
|
13
|
-
public class RegulationSaveHandler : MonoBehaviour, IDRESaveable, IDRELoadableManager
|
|
14
|
-
{
|
|
15
|
-
/// <summary>
|
|
16
|
-
///
|
|
17
|
-
/// </summary>
|
|
18
|
-
[Header("")]
|
|
19
|
-
[Divider]
|
|
20
|
-
[Tooltip("")]
|
|
21
|
-
[SerializeField] protected ScriptableObject regulationsDatabase = null;
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
/// <summary>
|
|
25
|
-
///
|
|
26
|
-
/// </summary>
|
|
27
|
-
[Header("")]
|
|
28
|
-
[Divider]
|
|
29
|
-
[Tooltip("")]
|
|
30
|
-
[SerializeField] protected string saveKey = "ActiveRegulations";
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
/// <summary>
|
|
34
|
-
///
|
|
35
|
-
/// </summary>
|
|
36
|
-
protected IRegulationsUIRepository regulationsRepository;
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
/// <inheritdoc/>
|
|
40
|
-
public virtual void Save(Dictionary<string, object> saveDatas)
|
|
41
|
-
{
|
|
42
|
-
if (!RepositoryValid())
|
|
43
|
-
return;
|
|
44
|
-
|
|
45
|
-
List<IRegulation> regulations = regulationsRepository?.GetRegulations();
|
|
46
|
-
|
|
47
|
-
if (regulations == null)
|
|
48
|
-
return;
|
|
49
|
-
|
|
50
|
-
bool[] bools = new bool[regulations.Count];
|
|
51
|
-
|
|
52
|
-
for (int i = 0; i < regulations.Count; i++)
|
|
53
|
-
bools[i] = regulations[i].IsActiveRegulation();
|
|
54
|
-
|
|
55
|
-
saveDatas.Add(saveKey, bools);
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
/// <inheritdoc/>
|
|
59
|
-
public virtual void LoadManager(Dictionary<string, object> saveDatas, bool inChapterSelect)
|
|
60
|
-
{
|
|
61
|
-
if (!RepositoryValid())
|
|
62
|
-
return;
|
|
63
|
-
|
|
64
|
-
List<IRegulation> regulations = regulationsRepository?.GetRegulations();
|
|
65
|
-
|
|
66
|
-
bool[] bools = saveDatas.Get<bool[]>(saveKey);
|
|
67
|
-
|
|
68
|
-
if (bools != null)
|
|
69
|
-
for (int i = 0; i < regulations.Count && i < bools.Length; i++)
|
|
70
|
-
regulations[i].SetRegulationState(bools[i]);
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
/// <summary>
|
|
74
|
-
///
|
|
75
|
-
/// </summary>
|
|
76
|
-
/// <returns></returns>
|
|
77
|
-
protected virtual bool RepositoryValid() => regulationsRepository != null || InitializeRepository();
|
|
78
|
-
|
|
79
|
-
/// <summary>
|
|
80
|
-
///
|
|
81
|
-
/// </summary>
|
|
82
|
-
/// <returns></returns>
|
|
83
|
-
protected virtual bool InitializeRepository()
|
|
84
|
-
{
|
|
85
|
-
if (regulationsDatabase is IRegulationsUIRepository repository)
|
|
86
|
-
regulationsRepository = repository;
|
|
87
|
-
else if (regulationsDatabase != null)
|
|
88
|
-
UnityEngine.Debug.LogError($"ALERT: The database assigned must inherit from {nameof(IRegulationsUIRepository)}!");
|
|
89
|
-
else
|
|
90
|
-
UnityEngine.Debug.LogWarning($"ALERT: There is no regulations database assigned on game object {gameObject.name}! " +
|
|
91
|
-
$"Regulations will not save or load properly until this is corrected.");
|
|
92
|
-
|
|
93
|
-
return regulationsDatabase is IRegulationsUIRepository;
|
|
94
|
-
}
|
|
95
|
-
}
|
|
1
|
+
//Author: Benjamin "Sweden" Jillson : Discord: sweden_gaming For Project Eden's Garden
|
|
2
|
+
using DREditor.Saving;
|
|
3
|
+
using System.Collections.Generic;
|
|
4
|
+
using UnityEngine;
|
|
5
|
+
|
|
6
|
+
namespace DREditor.UI.RegulationRules
|
|
7
|
+
{
|
|
8
|
+
/// <summary>
|
|
9
|
+
///
|
|
10
|
+
/// </summary>
|
|
11
|
+
[ClassHeader(nameof(IDRESaveable) + ", " + nameof(IDRELoadableManager) +
|
|
12
|
+
"\n\n")]
|
|
13
|
+
public class RegulationSaveHandler : MonoBehaviour, IDRESaveable, IDRELoadableManager
|
|
14
|
+
{
|
|
15
|
+
/// <summary>
|
|
16
|
+
///
|
|
17
|
+
/// </summary>
|
|
18
|
+
[Header("")]
|
|
19
|
+
[Divider]
|
|
20
|
+
[Tooltip("")]
|
|
21
|
+
[SerializeField] protected ScriptableObject regulationsDatabase = null;
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
/// <summary>
|
|
25
|
+
///
|
|
26
|
+
/// </summary>
|
|
27
|
+
[Header("")]
|
|
28
|
+
[Divider]
|
|
29
|
+
[Tooltip("")]
|
|
30
|
+
[SerializeField] protected string saveKey = "ActiveRegulations";
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
/// <summary>
|
|
34
|
+
///
|
|
35
|
+
/// </summary>
|
|
36
|
+
protected IRegulationsUIRepository regulationsRepository;
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
/// <inheritdoc/>
|
|
40
|
+
public virtual void Save(Dictionary<string, object> saveDatas)
|
|
41
|
+
{
|
|
42
|
+
if (!RepositoryValid())
|
|
43
|
+
return;
|
|
44
|
+
|
|
45
|
+
List<IRegulation> regulations = regulationsRepository?.GetRegulations();
|
|
46
|
+
|
|
47
|
+
if (regulations == null)
|
|
48
|
+
return;
|
|
49
|
+
|
|
50
|
+
bool[] bools = new bool[regulations.Count];
|
|
51
|
+
|
|
52
|
+
for (int i = 0; i < regulations.Count; i++)
|
|
53
|
+
bools[i] = regulations[i].IsActiveRegulation();
|
|
54
|
+
|
|
55
|
+
saveDatas.Add(saveKey, bools);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
/// <inheritdoc/>
|
|
59
|
+
public virtual void LoadManager(Dictionary<string, object> saveDatas, bool inChapterSelect)
|
|
60
|
+
{
|
|
61
|
+
if (!RepositoryValid())
|
|
62
|
+
return;
|
|
63
|
+
|
|
64
|
+
List<IRegulation> regulations = regulationsRepository?.GetRegulations();
|
|
65
|
+
|
|
66
|
+
bool[] bools = saveDatas.Get<bool[]>(saveKey);
|
|
67
|
+
|
|
68
|
+
if (bools != null)
|
|
69
|
+
for (int i = 0; i < regulations.Count && i < bools.Length; i++)
|
|
70
|
+
regulations[i].SetRegulationState(bools[i]);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
/// <summary>
|
|
74
|
+
///
|
|
75
|
+
/// </summary>
|
|
76
|
+
/// <returns></returns>
|
|
77
|
+
protected virtual bool RepositoryValid() => regulationsRepository != null || InitializeRepository();
|
|
78
|
+
|
|
79
|
+
/// <summary>
|
|
80
|
+
///
|
|
81
|
+
/// </summary>
|
|
82
|
+
/// <returns></returns>
|
|
83
|
+
protected virtual bool InitializeRepository()
|
|
84
|
+
{
|
|
85
|
+
if (regulationsDatabase is IRegulationsUIRepository repository)
|
|
86
|
+
regulationsRepository = repository;
|
|
87
|
+
else if (regulationsDatabase != null)
|
|
88
|
+
UnityEngine.Debug.LogError($"ALERT: The database assigned must inherit from {nameof(IRegulationsUIRepository)}!");
|
|
89
|
+
else
|
|
90
|
+
UnityEngine.Debug.LogWarning($"ALERT: There is no regulations database assigned on game object {gameObject.name}! " +
|
|
91
|
+
$"Regulations will not save or load properly until this is corrected.");
|
|
92
|
+
|
|
93
|
+
return regulationsDatabase is IRegulationsUIRepository;
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
96
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
fileFormatVersion: 2
|
|
2
|
-
guid: 5ad3e25e0098ca145ac181fa7adcbd62
|
|
3
|
-
MonoImporter:
|
|
4
|
-
externalObjects: {}
|
|
5
|
-
serializedVersion: 2
|
|
6
|
-
defaultReferences: []
|
|
7
|
-
executionOrder: 0
|
|
8
|
-
icon: {instanceID: 0}
|
|
9
|
-
userData:
|
|
10
|
-
assetBundleName:
|
|
11
|
-
assetBundleVariant:
|
|
1
|
+
fileFormatVersion: 2
|
|
2
|
+
guid: 5ad3e25e0098ca145ac181fa7adcbd62
|
|
3
|
+
MonoImporter:
|
|
4
|
+
externalObjects: {}
|
|
5
|
+
serializedVersion: 2
|
|
6
|
+
defaultReferences: []
|
|
7
|
+
executionOrder: 0
|
|
8
|
+
icon: {instanceID: 0}
|
|
9
|
+
userData:
|
|
10
|
+
assetBundleName:
|
|
11
|
+
assetBundleVariant:
|
|
@@ -1,53 +1,53 @@
|
|
|
1
|
-
//Completely Reworked Author: Benjamin "Sweden" Jillson : Discord: sweden_gaming For Project Eden's Garden
|
|
2
|
-
//Originally done by Willy Bee
|
|
3
|
-
using System.Collections.Generic;
|
|
4
|
-
using System.Linq;
|
|
5
|
-
using UnityEngine;
|
|
6
|
-
|
|
7
|
-
namespace DREditor.UI.RegulationRules
|
|
8
|
-
{
|
|
9
|
-
/// <summary>
|
|
10
|
-
///
|
|
11
|
-
/// </summary>
|
|
12
|
-
[System.Serializable]
|
|
13
|
-
[CreateAssetMenu(menuName = "DREditor/Regulations/Database", fileName = "RegulationsDatabase")]
|
|
14
|
-
public class RegulationsDatabase : ScriptableObject, IRegulationsUIRepository
|
|
15
|
-
{
|
|
16
|
-
/// <summary>
|
|
17
|
-
///
|
|
18
|
-
/// </summary>
|
|
19
|
-
[Header("")]
|
|
20
|
-
[Space]
|
|
21
|
-
[Tooltip("")]
|
|
22
|
-
[SerializeField] protected List<Regulation> allRegulations = new();
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
/// <summary>
|
|
26
|
-
///
|
|
27
|
-
/// </summary>
|
|
28
|
-
/// <returns></returns>
|
|
29
|
-
public virtual List<IRegulation> GetRegulations() => allRegulations.Cast<IRegulation>().ToList();
|
|
30
|
-
|
|
31
|
-
/// <summary>
|
|
32
|
-
///
|
|
33
|
-
/// </summary>
|
|
34
|
-
/// <param name="regulation"></param>
|
|
35
|
-
public virtual void AddRegulation(IRegulation regulation) => allRegulations.Add(regulation as Regulation);
|
|
36
|
-
|
|
37
|
-
/// <summary>
|
|
38
|
-
///
|
|
39
|
-
/// </summary>
|
|
40
|
-
/// <remarks></remarks>
|
|
41
|
-
public virtual void ClearEmptyValues() => allRegulations.RemoveAll(item => item == null);
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
/// <inheritdoc/>
|
|
46
|
-
public virtual void Initialize() => GetRegulations().ForEach(regulation => regulation.Initialize());
|
|
47
|
-
|
|
48
|
-
/// <inheritdoc/>
|
|
49
|
-
public virtual void Resolve() => GetRegulations().ForEach(regulation => regulation.Resolve());
|
|
50
|
-
|
|
51
|
-
protected virtual void OnValidate() => ClearEmptyValues();
|
|
52
|
-
}
|
|
1
|
+
//Completely Reworked Author: Benjamin "Sweden" Jillson : Discord: sweden_gaming For Project Eden's Garden
|
|
2
|
+
//Originally done by Willy Bee
|
|
3
|
+
using System.Collections.Generic;
|
|
4
|
+
using System.Linq;
|
|
5
|
+
using UnityEngine;
|
|
6
|
+
|
|
7
|
+
namespace DREditor.UI.RegulationRules
|
|
8
|
+
{
|
|
9
|
+
/// <summary>
|
|
10
|
+
///
|
|
11
|
+
/// </summary>
|
|
12
|
+
[System.Serializable]
|
|
13
|
+
[CreateAssetMenu(menuName = "DREditor/Regulations/Database", fileName = "RegulationsDatabase")]
|
|
14
|
+
public class RegulationsDatabase : ScriptableObject, IRegulationsUIRepository
|
|
15
|
+
{
|
|
16
|
+
/// <summary>
|
|
17
|
+
///
|
|
18
|
+
/// </summary>
|
|
19
|
+
[Header("")]
|
|
20
|
+
[Space]
|
|
21
|
+
[Tooltip("")]
|
|
22
|
+
[SerializeField] protected List<Regulation> allRegulations = new();
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
/// <summary>
|
|
26
|
+
///
|
|
27
|
+
/// </summary>
|
|
28
|
+
/// <returns></returns>
|
|
29
|
+
public virtual List<IRegulation> GetRegulations() => allRegulations.Cast<IRegulation>().ToList();
|
|
30
|
+
|
|
31
|
+
/// <summary>
|
|
32
|
+
///
|
|
33
|
+
/// </summary>
|
|
34
|
+
/// <param name="regulation"></param>
|
|
35
|
+
public virtual void AddRegulation(IRegulation regulation) => allRegulations.Add(regulation as Regulation);
|
|
36
|
+
|
|
37
|
+
/// <summary>
|
|
38
|
+
///
|
|
39
|
+
/// </summary>
|
|
40
|
+
/// <remarks></remarks>
|
|
41
|
+
public virtual void ClearEmptyValues() => allRegulations.RemoveAll(item => item == null);
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
/// <inheritdoc/>
|
|
46
|
+
public virtual void Initialize() => GetRegulations().ForEach(regulation => regulation.Initialize());
|
|
47
|
+
|
|
48
|
+
/// <inheritdoc/>
|
|
49
|
+
public virtual void Resolve() => GetRegulations().ForEach(regulation => regulation.Resolve());
|
|
50
|
+
|
|
51
|
+
protected virtual void OnValidate() => ClearEmptyValues();
|
|
52
|
+
}
|
|
53
53
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
fileFormatVersion: 2
|
|
2
|
-
guid: 64de0527ac447b648ab55cae92449260
|
|
3
|
-
MonoImporter:
|
|
4
|
-
externalObjects: {}
|
|
5
|
-
serializedVersion: 2
|
|
6
|
-
defaultReferences: []
|
|
7
|
-
executionOrder: 0
|
|
8
|
-
icon: {instanceID: 0}
|
|
9
|
-
userData:
|
|
10
|
-
assetBundleName:
|
|
11
|
-
assetBundleVariant:
|
|
1
|
+
fileFormatVersion: 2
|
|
2
|
+
guid: 64de0527ac447b648ab55cae92449260
|
|
3
|
+
MonoImporter:
|
|
4
|
+
externalObjects: {}
|
|
5
|
+
serializedVersion: 2
|
|
6
|
+
defaultReferences: []
|
|
7
|
+
executionOrder: 0
|
|
8
|
+
icon: {instanceID: 0}
|
|
9
|
+
userData:
|
|
10
|
+
assetBundleName:
|
|
11
|
+
assetBundleVariant:
|