-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
* Created InventoryData and PartyData SOs Created DefaultInventoryData and DefaultPartyMemberData SOs instances Created converter to Convert ItemData to InventoryItems Updated InventoryMonoSystem to read the default inventory from ConfigurationMonoSystem Updated PartyMonoSystem to read the default inventory from ConfigurationMonoSystem (WIP) Updated serializer settings for managing abstract item data * Added serialization settings with custom SaveFileSerializationBinder Updated partyMember management for save files Created converted classes for partyMember and partyMemberData * Update max health and experience to be the same as base * Added SerializedDictionaries, changed some SOs --------- Co-authored-by: GenoImel <genoimel@gmail.com>
- Loading branch information
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"name": "AYellowpaper.SerializedCollections.Editor", | ||
"references": [ | ||
"GUID:d525ad6bd40672747bde77962f1c401e" | ||
], | ||
"includePlatforms": [ | ||
"Editor" | ||
], | ||
"excludePlatforms": [], | ||
"allowUnsafeCode": false, | ||
"overrideReferences": false, | ||
"precompiledReferences": [], | ||
"autoReferenced": true, | ||
"defineConstraints": [], | ||
"versionDefines": [], | ||
"noEngineReferences": false | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,110 @@ | ||
.sc-close-button { | ||
background-image: resource('d_winbtn_win_close@2x'); | ||
width: 16px; | ||
height: 16px; | ||
position: absolute; | ||
right: 2px; | ||
top: 2px; | ||
background-color: rgba(0, 0, 0, 0); | ||
border-left-width: 0; | ||
border-right-width: 0; | ||
border-top-width: 0; | ||
border-bottom-width: 0; | ||
} | ||
|
||
.sc-close-button:hover { | ||
background-color: rgba(80, 80, 80, 255); | ||
} | ||
|
||
.sc-close-button:active { | ||
background-color: rgba(0, 0, 0, 0); | ||
} | ||
|
||
.sc-text-toggle { | ||
margin: 0; | ||
padding: 0; | ||
justify-content: center; | ||
} | ||
|
||
.sc-text-toggle:checked { | ||
-unity-font-style: bold; | ||
} | ||
|
||
.sc-text-toggle > Label { | ||
min-width: auto; | ||
width: 100%; | ||
height: 100%; | ||
} | ||
|
||
.sc-text-toggle > .unity-radio-button__input { | ||
display: none; | ||
} | ||
|
||
.sc-title { | ||
background-color: rgba(40, 40, 40, 0.35); | ||
padding-left: 4px; | ||
padding-right: 3px; | ||
padding-top: 3px; | ||
padding-bottom: 3px; | ||
border-left-color: rgb(25, 25, 25); | ||
border-right-color: rgb(25, 25, 25); | ||
border-top-color: rgb(25, 25, 25); | ||
border-bottom-color: rgb(25, 25, 25); | ||
border-bottom-width: 1px; | ||
-unity-font-style: bold; | ||
} | ||
|
||
.sc-generator-toggle { | ||
padding-left: 3px; | ||
padding-right: 3px; | ||
padding-top: 3px; | ||
padding-bottom: 3px; | ||
} | ||
|
||
.sc-generator-toggle:hover { | ||
background-color: rgb(48, 48, 48); | ||
} | ||
|
||
.sc-generator-toggle:checked { | ||
background-color: rgb(77, 77, 77); | ||
} | ||
|
||
.sc-modification-toggle { | ||
flex-basis: 100%; | ||
flex-shrink: 1; | ||
border-left-color: rgb(41, 41, 41); | ||
border-right-color: rgb(41, 41, 41); | ||
border-top-color: rgb(41, 41, 41); | ||
border-bottom-color: rgb(41, 41, 41); | ||
border-left-width: 1px; | ||
border-right-width: 1px; | ||
border-top-width: 1px; | ||
border-bottom-width: 1px; | ||
-unity-font-style: normal; | ||
-unity-text-align: middle-center; | ||
padding-left: 2px; | ||
padding-right: 2px; | ||
padding-top: 2px; | ||
padding-bottom: 2px; | ||
} | ||
|
||
.sc-modification-toggle:hover { | ||
background-color: rgb(70, 70, 70); | ||
} | ||
|
||
.sc-modification-toggle:checked { | ||
background-color: rgb(80, 80, 80); | ||
} | ||
|
||
.sc-radio-button-group { | ||
padding: 0; | ||
margin: 0; | ||
} | ||
|
||
.sc-radio-button-group > Label { | ||
display: none; | ||
} | ||
|
||
#generators-group { | ||
flex-direction: column; | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<ui:UXML xmlns:ui="UnityEngine.UIElements" xmlns:uie="UnityEditor.UIElements" xsi="http://www.w3.org/2001/XMLSchema-instance" engine="UnityEngine.UIElements" editor="UnityEditor.UIElements" noNamespaceSchemaLocation="../../../../../UIElementsSchema/UIElements.xsd" editor-extension-mode="False"> | ||
<Style src="project://database/Assets/Plugins/SerializedCollections/Editor/Assets/KeysGeneratorSelectorWindow.uss?fileID=7433441132597879392&guid=df6c2ef835e40c94c976442569324029&type=3#KeysGeneratorSelectorWindow" /> | ||
<ui:VisualElement style="flex-direction: row; flex-grow: 1; border-left-color: rgb(97, 97, 97); border-right-color: rgb(97, 97, 97); border-top-color: rgb(97, 97, 97); border-bottom-color: rgb(97, 97, 97); border-left-width: 2px; border-right-width: 2px; border-top-width: 2px; border-bottom-width: 2px;"> | ||
<ui:VisualElement name="LeftContent" style="flex-basis: 66%; border-left-color: rgb(25, 25, 25); border-right-color: rgb(25, 25, 25); border-top-color: rgb(25, 25, 25); border-bottom-color: rgb(25, 25, 25); border-right-width: 1px;"> | ||
<ui:Label text="Generators" display-tooltip-when-elided="true" class="sc-title" /> | ||
<ui:ScrollView scroll-deceleration-rate="0,135" elasticity="0,1" name="generators-content" style="flex-grow: 1;" /> | ||
</ui:VisualElement> | ||
<ui:VisualElement name="RightContent" style="flex-basis: 100%;"> | ||
<ui:Label text="Inspector" display-tooltip-when-elided="true" class="sc-title" /> | ||
<ui:IMGUIContainer name="imgui-inspector" style="flex-grow: 1; margin-left: 4px; margin-right: 4px; margin-top: 4px; margin-bottom: 4px;" /> | ||
<ui:Label text="4 Elements " display-tooltip-when-elided="true" name="generated-count-label" style="padding-left: 2px; padding-right: 2px; padding-top: 2px; padding-bottom: 2px;" /> | ||
<ui:VisualElement style="flex-direction: row;"> | ||
<ui:RadioButtonGroup label="Radio Button Group" value="-1" name="modification-group" class="sc-radio-button-group" style="flex-grow: 1;"> | ||
<ui:RadioButton label="Add" name="add-modification" tooltip="Add the generated missing keys to the target." class="sc-text-toggle sc-modification-toggle" /> | ||
<ui:RadioButton label="Remove" name="remove-modification" tooltip="Remove the generated keys form the target." class="sc-text-toggle sc-modification-toggle" /> | ||
<ui:RadioButton label="Confine" name="confine-modification" tooltip="Remove all keys that are not part of the generated keys from the target." class="sc-text-toggle sc-modification-toggle" /> | ||
</ui:RadioButtonGroup> | ||
</ui:VisualElement> | ||
<ui:VisualElement style="flex-direction: row;"> | ||
<ui:Label display-tooltip-when-elided="true" name="result-label" style="flex-grow: 1; -unity-text-align: middle-left; padding-left: 2px; padding-right: 2px; padding-top: 2px; padding-bottom: 2px;" /> | ||
<ui:Button text="Apply" display-tooltip-when-elided="true" name="apply-button" style="width: 100px;" /> | ||
</ui:VisualElement> | ||
</ui:VisualElement> | ||
<ui:Button display-tooltip-when-elided="true" class="sc-close-button" /> | ||
</ui:VisualElement> | ||
</ui:UXML> |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.