├── .gitignore ├── GameKit ├── Core.meta ├── Core │ ├── Chats.meta │ ├── Chats │ │ ├── Prefabs.meta │ │ ├── Prefabs │ │ │ ├── Canvases.meta │ │ │ └── Canvases │ │ │ │ ├── ChatCanvas.prefab │ │ │ │ ├── ChatCanvas.prefab.meta │ │ │ │ ├── ChatEntry.prefab │ │ │ │ └── ChatEntry.prefab.meta │ │ ├── Scenes.meta │ │ ├── Scenes │ │ │ ├── Chat.unity │ │ │ └── Chat.unity.meta │ │ ├── Scripts.meta │ │ └── Scripts │ │ │ ├── BlockedChatMessage.cs │ │ │ ├── BlockedChatMessage.cs.meta │ │ │ ├── Canvases.meta │ │ │ ├── Canvases │ │ │ ├── ChatCanvas.cs │ │ │ ├── ChatCanvas.cs.meta │ │ │ ├── ChatCanvasBase.cs │ │ │ ├── ChatCanvasBase.cs.meta │ │ │ ├── ChatEntity.cs │ │ │ ├── ChatEntity.cs.meta │ │ │ ├── ChatEntry.cs │ │ │ └── ChatEntry.cs.meta │ │ │ ├── ChatMessage.cs │ │ │ ├── ChatMessage.cs.meta │ │ │ ├── IChatEntity.cs │ │ │ ├── IChatEntity.cs.meta │ │ │ ├── Managers.meta │ │ │ ├── Managers │ │ │ ├── ChatManager.cs │ │ │ ├── ChatManager.cs.meta │ │ │ ├── ChatManagerBase.cs │ │ │ └── ChatManagerBase.cs.meta │ │ │ ├── MessageType.cs │ │ │ ├── MessageType.cs.meta │ │ │ ├── TeamType.cs │ │ │ └── TeamType.cs.meta │ ├── Crafting.meta │ ├── Crafting │ │ ├── Prefabs.meta │ │ ├── Prefabs │ │ │ ├── RecipeEntry.prefab │ │ │ ├── RecipeEntry.prefab.meta │ │ │ ├── RequiredResourceEntry.prefab │ │ │ └── RequiredResourceEntry.prefab.meta │ │ ├── Scenes.meta │ │ ├── Scenes │ │ │ ├── Crafting and Inventory.unity │ │ │ └── Crafting and Inventory.unity.meta │ │ ├── Scripts.meta │ │ └── Scripts │ │ │ ├── Canvases.meta │ │ │ ├── Canvases │ │ │ ├── CraftingCanvas.cs │ │ │ ├── CraftingCanvas.cs.meta │ │ │ ├── RecipeEntry.cs │ │ │ ├── RecipeEntry.cs.meta │ │ │ ├── RequiredResourceEntry.cs │ │ │ └── RequiredResourceEntry.cs.meta │ │ │ ├── Crafter.Client.cs │ │ │ ├── Crafter.Client.cs.meta │ │ │ ├── Crafter.Server.cs │ │ │ ├── Crafter.Server.cs.meta │ │ │ ├── Crafter.cs │ │ │ ├── Crafter.cs.meta │ │ │ ├── CraftingManager.cs │ │ │ ├── CraftingManager.cs.meta │ │ │ ├── CraftingResult.cs │ │ │ ├── CraftingResult.cs.meta │ │ │ ├── Recipe.Serializer.cs │ │ │ ├── Recipe.Serializer.cs.meta │ │ │ ├── RecipeCraftableQuantity.cs │ │ │ ├── RecipeCraftableQuantity.cs.meta │ │ │ ├── RecipeData.cs │ │ │ ├── RecipeData.cs.meta │ │ │ ├── ScriptableObjects.meta │ │ │ └── ScriptableObjects │ │ │ ├── Crossbow.asset │ │ │ ├── Crossbow.asset.meta │ │ │ ├── Rope.asset │ │ │ └── Rope.asset.meta │ ├── Databases.meta │ ├── Databases │ │ ├── Dependencies.meta │ │ ├── Dependencies │ │ │ ├── LiteDB.meta │ │ │ ├── LiteDB │ │ │ │ ├── LiteDB.dll │ │ │ │ └── LiteDB.dll.meta │ │ │ ├── NpgSql.zip │ │ │ └── NpgSql.zip.meta │ │ ├── IDroppableDbService_Client.cs │ │ ├── IDroppableDbService_Client.cs.meta │ │ ├── IDroppableDbService_Server.cs │ │ ├── IDroppableDbService_Server.cs.meta │ │ ├── IInventoryDbService_Client.cs │ │ ├── IInventoryDbService_Client.cs.meta │ │ ├── IInventoryDbService_Server.cs │ │ ├── IInventoryDbService_Server.cs.meta │ │ ├── LiteDb.meta │ │ └── LiteDb │ │ │ ├── DroppableDbService.Client.cs │ │ │ ├── DroppableDbService.Client.cs.meta │ │ │ ├── DroppableDbService.Server.cs │ │ │ ├── DroppableDbService.Server.cs.meta │ │ │ ├── DroppableDbService.cs │ │ │ ├── DroppableDbService.cs.meta │ │ │ ├── InventoryDbService.Client.cs │ │ │ ├── InventoryDbService.Client.cs.meta │ │ │ ├── InventoryDbService.Server.cs │ │ │ ├── InventoryDbService.Server.cs.meta │ │ │ ├── InventoryDbService.cs │ │ │ └── InventoryDbService.cs.meta │ ├── Dependencies.meta │ ├── Dependencies │ │ ├── Floating Containers.meta │ │ ├── Floating Containers │ │ │ ├── Prefabs.meta │ │ │ ├── Prefabs │ │ │ │ ├── Button.prefab │ │ │ │ └── Button.prefab.meta │ │ │ ├── Scripts.meta │ │ │ └── Scripts │ │ │ │ ├── FloatingOptions.meta │ │ │ │ ├── FloatingOptions │ │ │ │ ├── FloatingOptionsCanvas.cs │ │ │ │ ├── FloatingOptionsCanvas.cs.meta │ │ │ │ ├── FloatingOptionsConfig.cs │ │ │ │ ├── FloatingOptionsConfig.cs.meta │ │ │ │ ├── OptionMenuButton.cs │ │ │ │ ├── OptionMenuButton.cs.meta │ │ │ │ ├── SplittingCanvas.cs │ │ │ │ ├── SplittingCanvas.cs.meta │ │ │ │ ├── SplittingCanvasHelpers.cs │ │ │ │ └── SplittingCanvasHelpers.cs.meta │ │ │ │ ├── FloatingTooltip.meta │ │ │ │ └── FloatingTooltip │ │ │ │ ├── FloatingTooltipCanvas.cs │ │ │ │ └── FloatingTooltipCanvas.cs.meta │ │ ├── Prefabs.meta │ │ ├── Prefabs │ │ │ ├── ClientInstance.prefab │ │ │ └── ClientInstance.prefab.meta │ │ ├── Scripts.meta │ │ └── Scripts │ │ │ ├── ClientInstance.cs │ │ │ ├── ClientInstance.cs.meta │ │ │ ├── ClientInstanceState.cs │ │ │ ├── ClientInstanceState.cs.meta │ │ │ ├── Constants.cs │ │ │ ├── Constants.cs.meta │ │ │ ├── Utilities.meta │ │ │ └── Utilities │ │ │ ├── ActiveOnLocalClientInstance.cs │ │ │ └── ActiveOnLocalClientInstance.cs.meta │ ├── GameKit.Core.asmdef │ ├── GameKit.Core.asmdef.meta │ ├── Inventories.meta │ ├── Inventories │ │ ├── Prefabs.meta │ │ ├── Prefabs │ │ │ ├── BagEntry.prefab │ │ │ ├── BagEntry.prefab.meta │ │ │ ├── FloatingResourceEntry.prefab │ │ │ ├── FloatingResourceEntry.prefab.meta │ │ │ ├── ResourceEntry.prefab │ │ │ └── ResourceEntry.prefab.meta │ │ ├── Scripts.meta │ │ ├── Scripts │ │ │ ├── BagData.cs │ │ │ ├── BagData.cs.meta │ │ │ ├── BagSlot.cs │ │ │ ├── BagSlot.cs.meta │ │ │ ├── Canvases.meta │ │ │ ├── Canvases │ │ │ │ ├── BagEntry.cs │ │ │ │ ├── BagEntry.cs.meta │ │ │ │ ├── BagEntryTooltipHover.cs │ │ │ │ ├── BagEntryTooltipHover.cs.meta │ │ │ │ ├── CharacterInventory.meta │ │ │ │ ├── CharacterInventory │ │ │ │ │ ├── CharacterInventoryCanvas.cs │ │ │ │ │ └── CharacterInventoryCanvas.cs.meta │ │ │ │ ├── FloatingResourceEntry.cs │ │ │ │ ├── FloatingResourceEntry.cs.meta │ │ │ │ ├── InventoryCanvasBase.cs │ │ │ │ ├── InventoryCanvasBase.cs.meta │ │ │ │ ├── ResourceEntry.cs │ │ │ │ └── ResourceEntry.cs.meta │ │ │ ├── CharacterInventory.Server.cs │ │ │ ├── CharacterInventory.Server.cs.meta │ │ │ ├── CharacterInventory.cs │ │ │ ├── CharacterInventory.cs.meta │ │ │ ├── Inventory.Server.cs │ │ │ ├── Inventory.Server.cs.meta │ │ │ ├── Inventory.cs │ │ │ ├── Inventory.cs.meta │ │ │ ├── InventoryBase.Client.cs │ │ │ ├── InventoryBase.Client.cs.meta │ │ │ ├── InventoryBase.Server.cs │ │ │ ├── InventoryBase.Server.cs.meta │ │ │ ├── InventoryBase.cs │ │ │ ├── InventoryBase.cs.meta │ │ │ ├── InventoryCategory.cs │ │ │ ├── InventoryCategory.cs.meta │ │ │ ├── InventoryConsts.cs │ │ │ ├── InventoryConsts.cs.meta │ │ │ ├── Managers.meta │ │ │ ├── Managers │ │ │ │ ├── BagManager.cs │ │ │ │ └── BagManager.cs.meta │ │ │ ├── ScriptableObjects.meta │ │ │ ├── ScriptableObjects │ │ │ │ ├── Bags.meta │ │ │ │ └── Bags │ │ │ │ │ ├── Small Backpack.asset │ │ │ │ │ ├── Small Backpack.asset.meta │ │ │ │ │ ├── Small Sack.asset │ │ │ │ │ └── Small Sack.asset.meta │ │ │ ├── SerializableActiveBag.cs │ │ │ ├── SerializableActiveBag.cs.meta │ │ │ ├── SerializableBagData.cs │ │ │ ├── SerializableBagData.cs.meta │ │ │ ├── SerializableFilledSlot.cs │ │ │ ├── SerializableFilledSlot.cs.meta │ │ │ ├── SerializableInventoryDb.cs │ │ │ └── SerializableInventoryDb.cs.meta │ │ ├── Testing.meta │ │ └── Testing │ │ │ ├── Scripts.meta │ │ │ └── Scripts │ │ │ ├── ChangeResourcesCanvas.cs │ │ │ ├── ChangeResourcesCanvas.cs.meta │ │ │ ├── GameKit.Testing.asmdef │ │ │ └── GameKit.Testing.asmdef.meta │ ├── Leveling.meta │ ├── Leveling │ │ ├── Scripts.meta │ │ └── Scripts │ │ │ ├── LevelBase.cs │ │ │ ├── LevelBase.cs.meta │ │ │ ├── XPLevel.cs │ │ │ └── XPLevel.cs.meta │ ├── Providers.meta │ ├── Providers │ │ ├── Scripts.meta │ │ └── Scripts │ │ │ ├── Provider.cs │ │ │ ├── Provider.cs.meta │ │ │ ├── ProviderData.cs │ │ │ └── ProviderData.cs.meta │ ├── Quests.meta │ ├── Quests │ │ ├── Scripts.meta │ │ └── Scripts │ │ │ ├── ActiveQuest.cs │ │ │ ├── ActiveQuest.cs.meta │ │ │ ├── ConditionType.cs │ │ │ ├── ConditionType.cs.meta │ │ │ ├── Conditions.meta │ │ │ ├── Conditions │ │ │ ├── GatherCondition.cs │ │ │ ├── GatherCondition.cs.meta │ │ │ ├── InteractCondition.cs │ │ │ ├── InteractCondition.cs.meta │ │ │ ├── QuestConditionBase.cs │ │ │ ├── QuestConditionBase.cs.meta │ │ │ ├── QuestConditionState.cs │ │ │ ├── QuestConditionState.cs.meta │ │ │ ├── ScriptableObjects.meta │ │ │ ├── ScriptableObjects │ │ │ │ ├── Precious Garbage.asset │ │ │ │ └── Precious Garbage.asset.meta │ │ │ ├── TravelCondition.cs │ │ │ └── TravelCondition.cs.meta │ │ │ ├── GatherableResource.cs │ │ │ ├── GatherableResource.cs.meta │ │ │ ├── QuestData.cs │ │ │ ├── QuestData.cs.meta │ │ │ ├── QuestState.cs │ │ │ ├── QuestState.cs.meta │ │ │ ├── Quester.cs │ │ │ ├── Quester.cs.meta │ │ │ ├── Quests.meta │ │ │ ├── Quests │ │ │ ├── Precious Garbage.meta │ │ │ └── Precious Garbage │ │ │ │ ├── Gathering.asset │ │ │ │ ├── Gathering.asset.meta │ │ │ │ ├── Precious Garbage.asset │ │ │ │ └── Precious Garbage.asset.meta │ │ │ ├── Rewards.meta │ │ │ └── Rewards │ │ │ ├── QuestRewardBase.cs │ │ │ ├── QuestRewardBase.cs.meta │ │ │ ├── RewardType.cs │ │ │ ├── RewardType.cs.meta │ │ │ ├── RewardableResource.cs │ │ │ ├── RewardableResource.cs.meta │ │ │ └── ScriptableObjects.meta │ ├── Resources.meta │ ├── Resources │ │ ├── Droppables.meta │ │ ├── Droppables │ │ │ ├── DroppableData.cs │ │ │ ├── DroppableData.cs.meta │ │ │ ├── DroppableManager.cs │ │ │ ├── DroppableManager.cs.meta │ │ │ ├── ScriptableObjects.meta │ │ │ └── ScriptableObjects │ │ │ │ ├── Coir_Droppable.asset │ │ │ │ └── Coir_Droppable.asset.meta │ │ ├── ResourceCategory.cs │ │ ├── ResourceCategory.cs.meta │ │ ├── ResourceCategoryData.cs │ │ ├── ResourceCategoryData.cs.meta │ │ ├── ResourceConsts.cs │ │ ├── ResourceConsts.cs.meta │ │ ├── ResourceData.cs │ │ ├── ResourceData.cs.meta │ │ ├── ResourceDataBase.cs │ │ ├── ResourceDataBase.cs.meta │ │ ├── ResourceManager.cs │ │ ├── ResourceManager.cs.meta │ │ ├── ResourceQuantity.cs │ │ ├── ResourceQuantity.cs.meta │ │ ├── ScriptableObjects.meta │ │ └── ScriptableObjects │ │ │ ├── ResourceCategoryData.meta │ │ │ ├── ResourceCategoryData │ │ │ ├── Crafting_ResourceCategoryData.asset │ │ │ ├── Crafting_ResourceCategoryData.asset.meta │ │ │ ├── Equipped_ResourceCategoryData.asset │ │ │ ├── Equipped_ResourceCategoryData.asset.meta │ │ │ ├── Food_ResourceCategoryData.asset │ │ │ ├── Food_ResourceCategoryData.asset.meta │ │ │ ├── Scraps_ResourceCategoryData.asset │ │ │ ├── Scraps_ResourceCategoryData.asset.meta │ │ │ ├── Weapon_ResourceCategoryData.asset │ │ │ └── Weapon_ResourceCategoryData.asset.meta │ │ │ ├── ResourceData.meta │ │ │ └── ResourceData │ │ │ ├── Bone_ResourceData.asset │ │ │ ├── Bone_ResourceData.asset.meta │ │ │ ├── Coir_ResourceData.asset │ │ │ ├── Coir_ResourceData.asset.meta │ │ │ ├── Crossbow_ResourceData.asset │ │ │ ├── Crossbow_ResourceData.asset.meta │ │ │ ├── Flask_ResourceData.asset │ │ │ ├── Flask_ResourceData.asset.meta │ │ │ ├── Log_ResourceData.asset │ │ │ ├── Log_ResourceData.asset.meta │ │ │ ├── Orange Elixir_ResourceData.asset │ │ │ ├── Orange Elixir_ResourceData.asset.meta │ │ │ ├── Probably Toxic Dust_ResourceData.asset │ │ │ ├── Probably Toxic Dust_ResourceData.asset.meta │ │ │ ├── Rope_ResourceData.asset │ │ │ ├── Rope_ResourceData.asset.meta │ │ │ ├── Stone_ResourceData.asset │ │ │ └── Stone_ResourceData.asset.meta │ ├── Textures.meta │ ├── Textures │ │ ├── Canvases.meta │ │ ├── Canvases │ │ │ ├── GUI.meta │ │ │ ├── GUI │ │ │ │ ├── Frame_Grid.png │ │ │ │ ├── Frame_Grid.png.meta │ │ │ │ ├── Frame_big.png │ │ │ │ ├── Frame_big.png.meta │ │ │ │ ├── Frame_mid.png │ │ │ │ ├── Frame_mid.png.meta │ │ │ │ ├── Frame_mid_2.png │ │ │ │ ├── Frame_mid_2.png.meta │ │ │ │ ├── Hp_frame.png │ │ │ │ ├── Hp_frame.png.meta │ │ │ │ ├── Hp_line.png │ │ │ │ ├── Hp_line.png.meta │ │ │ │ ├── Mini_background.png │ │ │ │ ├── Mini_background.png.meta │ │ │ │ ├── Mini_frame0.png │ │ │ │ ├── Mini_frame0.png.meta │ │ │ │ ├── Mini_frame1.png │ │ │ │ ├── Mini_frame1.png.meta │ │ │ │ ├── Mini_frame2.png │ │ │ │ ├── Mini_frame2.png.meta │ │ │ │ ├── Scroll Handle.png │ │ │ │ ├── Scroll Handle.png.meta │ │ │ │ ├── Slim_Border_Plate.png │ │ │ │ ├── Slim_Border_Plate.png.meta │ │ │ │ ├── bar_ready.png │ │ │ │ ├── bar_ready.png.meta │ │ │ │ ├── barmid_ready.png │ │ │ │ ├── barmid_ready.png.meta │ │ │ │ ├── big_background.png │ │ │ │ ├── big_background.png.meta │ │ │ │ ├── big_roundframe.png │ │ │ │ ├── big_roundframe.png.meta │ │ │ │ ├── button.png │ │ │ │ ├── button.png.meta │ │ │ │ ├── button2.png │ │ │ │ ├── button2.png.meta │ │ │ │ ├── button2_ready_off.png │ │ │ │ ├── button2_ready_off.png.meta │ │ │ │ ├── button2_ready_on.png │ │ │ │ ├── button2_ready_on.png.meta │ │ │ │ ├── button3_ready.png │ │ │ │ ├── button3_ready.png.meta │ │ │ │ ├── button_agree.png │ │ │ │ ├── button_agree.png.meta │ │ │ │ ├── button_cancel.png │ │ │ │ ├── button_cancel.png.meta │ │ │ │ ├── button_frame.png │ │ │ │ ├── button_frame.png.meta │ │ │ │ ├── button_ready_off.png │ │ │ │ ├── button_ready_off.png.meta │ │ │ │ ├── button_ready_on.png │ │ │ │ ├── button_ready_on.png.meta │ │ │ │ ├── lil_roundbackground.png │ │ │ │ ├── lil_roundbackground.png.meta │ │ │ │ ├── lil_roundframe.png │ │ │ │ ├── lil_roundframe.png.meta │ │ │ │ ├── lil_roundframe_light.png │ │ │ │ ├── lil_roundframe_light.png.meta │ │ │ │ ├── lil_roundframe_ready.png │ │ │ │ ├── lil_roundframe_ready.png.meta │ │ │ │ ├── lil_roundframe_ready2.png │ │ │ │ ├── lil_roundframe_ready2.png.meta │ │ │ │ ├── mid_background.png │ │ │ │ ├── mid_background.png.meta │ │ │ │ ├── mini_bar_h.png │ │ │ │ ├── mini_bar_h.png.meta │ │ │ │ ├── mini_bar_v.png │ │ │ │ ├── mini_bar_v.png.meta │ │ │ │ ├── name_bar.png │ │ │ │ ├── name_bar.png.meta │ │ │ │ ├── name_bar2.png │ │ │ │ ├── name_bar2.png.meta │ │ │ │ ├── name_bar3.png │ │ │ │ ├── name_bar3.png.meta │ │ │ │ ├── warrior_silhouette_man.png │ │ │ │ ├── warrior_silhouette_man.png.meta │ │ │ │ ├── warrior_silhouette_woman.png │ │ │ │ └── warrior_silhouette_woman.png.meta │ │ │ ├── Icons.meta │ │ │ └── Icons │ │ │ │ ├── Shikashi's Fantasy Icons Pack.meta │ │ │ │ └── Shikashi's Fantasy Icons Pack │ │ │ │ ├── #2 - Transparent Icons & Drop Shadow.png │ │ │ │ ├── #2 - Transparent Icons & Drop Shadow.png.meta │ │ │ │ ├── Shikashi's Fantasy Icons Pack.txt │ │ │ │ └── Shikashi's Fantasy Icons Pack.txt.meta │ │ ├── WhiteDot.png │ │ └── WhiteDot.png.meta │ ├── Utilities.meta │ └── Utilities │ │ ├── DatasLoader.cs │ │ ├── DatasLoader.cs.meta │ │ ├── Keybinds.cs │ │ └── Keybinds.cs.meta ├── Dependencies.meta └── Dependencies │ ├── Editor.meta │ ├── Editor │ ├── PlaceholderAttributes.cs │ └── PlaceholderAttributes.cs.meta │ ├── GameKit.Dependencies.asmdef │ ├── GameKit.Dependencies.asmdef.meta │ ├── Inspectors.meta │ ├── Inspectors │ ├── BoxGroupAttribute.cs │ ├── BoxGroupAttribute.cs.meta │ ├── Group.meta │ ├── Group │ │ ├── Editor.meta │ │ ├── Editor │ │ │ ├── EditorOverride.cs │ │ │ ├── EditorOverride.cs.meta │ │ │ ├── Resources.meta │ │ │ └── Resources │ │ │ │ ├── IN foldout focus on-5718.png │ │ │ │ ├── IN foldout focus on-5718.png.meta │ │ │ │ ├── IN foldout focus-6510.png │ │ │ │ └── IN foldout focus-6510.png.meta │ │ ├── GroupAttribute.cs │ │ └── GroupAttribute.cs.meta │ ├── ShowIf.meta │ └── ShowIf │ │ ├── Editor.meta │ │ ├── Editor │ │ ├── ShowIfProperty.cs │ │ └── ShowIfProperty.cs.meta │ │ ├── ShowIfAttribute.cs │ │ └── ShowIfAttribute.cs.meta │ ├── Utilities.meta │ └── Utilities │ ├── ApplicationState.cs │ ├── ApplicationState.cs.meta │ ├── Arrays.cs │ ├── Arrays.cs.meta │ ├── Bools.cs │ ├── Bools.cs.meta │ ├── Bytes.cs │ ├── Bytes.cs.meta │ ├── CanvasGroups.cs │ ├── CanvasGroups.cs.meta │ ├── Colliders.cs │ ├── Colliders.cs.meta │ ├── Dictionaries.cs │ ├── Dictionaries.cs.meta │ ├── Disks.cs │ ├── Disks.cs.meta │ ├── Editing.cs │ ├── Editing.cs.meta │ ├── Enums.cs │ ├── Enums.cs.meta │ ├── Floats.cs │ ├── Floats.cs.meta │ ├── Hashing.cs │ ├── Hashing.cs.meta │ ├── IOs.cs │ ├── IOs.cs.meta │ ├── Ints.cs │ ├── Ints.cs.meta │ ├── Layers.cs │ ├── Layers.cs.meta │ ├── LayoutGroups.cs │ ├── LayoutGroups.cs.meta │ ├── Materials.cs │ ├── Materials.cs.meta │ ├── Maths.cs │ ├── Maths.cs.meta │ ├── NewInput.cs │ ├── NewInput.cs.meta │ ├── ObjectCaching.cs │ ├── ObjectCaching.cs.meta │ ├── Objects.cs │ ├── Objects.cs.meta │ ├── Particles.cs │ ├── Particles.cs.meta │ ├── Quaternions.cs │ ├── Quaternions.cs.meta │ ├── Strings.cs │ ├── Strings.cs.meta │ ├── Transforms.cs │ ├── Transforms.cs.meta │ ├── Types.meta │ ├── Types │ ├── BasicQueue.cs │ ├── BasicQueue.cs.meta │ ├── ByteRange.cs │ ├── ByteRange.cs.meta │ ├── CanvasGroupFader.cs │ ├── CanvasGroupFader.cs.meta │ ├── Canvases.meta │ ├── Canvases │ │ ├── ButtonData.cs │ │ ├── ButtonData.cs.meta │ │ ├── CanvasTracker.cs │ │ ├── CanvasTracker.cs.meta │ │ ├── FloatingContainer.cs │ │ ├── FloatingContainer.cs.meta │ │ ├── FloatingImage.cs │ │ ├── FloatingImage.cs.meta │ │ ├── FloatingOptions.cs │ │ ├── FloatingOptions.cs.meta │ │ ├── ImageButtonData.cs │ │ ├── ImageButtonData.cs.meta │ │ ├── ImageOptionButton.cs │ │ ├── ImageOptionButton.cs.meta │ │ ├── OptionButton.cs │ │ ├── OptionButton.cs.meta │ │ ├── PressedDelegate.cs │ │ ├── PressedDelegate.cs.meta │ │ ├── PressedDelgateData.cs │ │ ├── PressedDelgateData.cs.meta │ │ ├── RectTransformResizer.cs │ │ ├── RectTransformResizer.cs.meta │ │ ├── ResizableContainer.cs │ │ └── ResizableContainer.cs.meta │ ├── DDOL.cs │ ├── DDOL.cs.meta │ ├── Editor.meta │ ├── Editor │ │ ├── SceneDrawer.cs │ │ └── SceneDrawer.cs.meta │ ├── FloatRange.cs │ ├── FloatRange.cs.meta │ ├── FloatRange2D.cs │ ├── FloatRange2D.cs.meta │ ├── IOrderable.cs │ ├── IOrderable.cs.meta │ ├── IntRange.cs │ ├── IntRange.cs.meta │ ├── ObjectPooling.meta │ ├── ObjectPooling │ │ ├── CHANGELOG.txt │ │ ├── CHANGELOG.txt.meta │ │ ├── Demo.meta │ │ ├── Demo │ │ │ ├── Prefabs.meta │ │ │ ├── Prefabs │ │ │ │ ├── Projectile.prefab │ │ │ │ └── Projectile.prefab.meta │ │ │ ├── Scenes.meta │ │ │ ├── Scenes │ │ │ │ ├── ObjectPool.unity │ │ │ │ └── ObjectPool.unity.meta │ │ │ ├── Scripts.meta │ │ │ └── Scripts │ │ │ │ ├── Projectile.cs │ │ │ │ ├── Projectile.cs.meta │ │ │ │ ├── ProjectileSpawner.cs │ │ │ │ └── ProjectileSpawner.cs.meta │ │ ├── README.txt │ │ ├── README.txt.meta │ │ ├── Scripts.meta │ │ └── Scripts │ │ │ ├── ListStack.cs │ │ │ ├── ListStack.cs.meta │ │ │ ├── ObjectPool.cs │ │ │ ├── ObjectPool.cs.meta │ │ │ ├── PoolData.cs │ │ │ └── PoolData.cs.meta │ ├── PointerMonoBehaviour.cs │ ├── PointerMonoBehaviour.cs.meta │ ├── ResettableRingBuffer.cs │ ├── ResettableRingBuffer.cs.meta │ ├── RingBuffer.cs │ ├── RingBuffer.cs.meta │ ├── SceneAttribute.cs │ ├── SceneAttribute.cs.meta │ ├── ScrollbarValueSetter.cs │ ├── ScrollbarValueSetter.cs.meta │ ├── SingletonScriptableObject.cs │ ├── SingletonScriptableObject.cs.meta │ ├── SmoothCameraTarget.cs │ ├── SmoothCameraTarget.cs.meta │ ├── TimedOperation.cs │ ├── TimedOperation.cs.meta │ ├── UIntRange.cs │ ├── UIntRange.cs.meta │ ├── Vector2Range.cs │ └── Vector2Range.cs.meta │ ├── UInts.cs │ ├── UInts.cs.meta │ ├── Vectors.cs │ ├── Vectors.cs.meta │ ├── WeightedRandom.cs │ └── WeightedRandom.cs.meta ├── LICENSE.md ├── README.md └── THIRD PARTY NOTICE.md /.gitignore: -------------------------------------------------------------------------------- 1 | #Ignore everything. 2 | /* 3 | 4 | #Except these; we like these. 5 | !/.gitignore 6 | !/THIRD PARTY NOTICE.md 7 | !/GameKit/ 8 | -------------------------------------------------------------------------------- /GameKit/Core.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bd39a9eb4e2594d4482a7cf4e2b8fbc4 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /GameKit/Core/Chats.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6a483f08425fb01498e60bc5ba71cd73 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /GameKit/Core/Chats/Prefabs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 499fa0f1ebe7fa34aa36612349750718 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /GameKit/Core/Chats/Prefabs/Canvases.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bacde60d153b14343be9305c93e4cbbc 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /GameKit/Core/Chats/Prefabs/Canvases/ChatCanvas.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 904124c98e3f9b4418d2fe7b97da94c4 3 | PrefabImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /GameKit/Core/Chats/Prefabs/Canvases/ChatEntry.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 02c54e48796c8044081ecd4db23f62da 3 | PrefabImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /GameKit/Core/Chats/Scenes.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 66f66e6aa6779104099dde0a4996f99e 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /GameKit/Core/Chats/Scenes/Chat.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f43dbeefca3af4549a8ea8b558ff06f3 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /GameKit/Core/Chats/Scripts.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 32143c50e14541548b141f9d4e1553b0 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /GameKit/Core/Chats/Scripts/BlockedChatMessage.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 32a200f0567f7fc45be35c94f2e71d81 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Core/Chats/Scripts/Canvases.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 694ebf6888912a9489822226fd2d2d78 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /GameKit/Core/Chats/Scripts/Canvases/ChatCanvas.cs: -------------------------------------------------------------------------------- 1 | using FishNet.Connection; 2 | 3 | namespace GameKit.Core.Chats.Canvases 4 | { 5 | /// 6 | /// Used to display chat and take chat input from the local client. 7 | /// 8 | public class ChatCanvas : ChatCanvasBase 9 | { 10 | 11 | /// 12 | /// Returns TeamType of a to b. 13 | /// 14 | protected override TeamType GetTeamType(NetworkConnection a, NetworkConnection b) 15 | { 16 | /* Implement this properly when you have a team 17 | * system setup for your game. */ 18 | if (a == b) 19 | return TeamType.Self; 20 | else 21 | return TeamType.Friendly; 22 | } 23 | 24 | } 25 | 26 | } -------------------------------------------------------------------------------- /GameKit/Core/Chats/Scripts/Canvases/ChatCanvas.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e320bcb6a2b107f48891ddf64d3b7259 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Core/Chats/Scripts/Canvases/ChatCanvasBase.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f368738b65633c64883513476ce3fd3b 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Core/Chats/Scripts/Canvases/ChatEntity.cs: -------------------------------------------------------------------------------- 1 | using FishNet.Connection; 2 | using GameKit.Core.Chats; 3 | using GameKit.Dependencies.Utilities; 4 | 5 | namespace GameKit.Core.Chats.Canvases 6 | { 7 | 8 | public class ChatEntity : IChatEntity, IResettable 9 | { 10 | public NetworkConnection Connection { get; private set; } 11 | public string EntityName { get; private set; } 12 | public string GetEntityName() => EntityName; 13 | public NetworkConnection GetConnection() => Connection; 14 | 15 | public ChatEntity() { } 16 | public ChatEntity(NetworkConnection connection, string entityName) 17 | { 18 | Connection = connection; 19 | EntityName = entityName; 20 | } 21 | 22 | public void Initialize(NetworkConnection conn, string entityName) 23 | { 24 | Connection = conn; 25 | EntityName = entityName; 26 | } 27 | 28 | public void ResetState() 29 | { 30 | Connection = null; 31 | EntityName = string.Empty; 32 | } 33 | 34 | public void InitializeState() { } 35 | 36 | public void SetEntityName(string entityName) 37 | { 38 | EntityName = entityName; 39 | } 40 | 41 | } 42 | 43 | 44 | } -------------------------------------------------------------------------------- /GameKit/Core/Chats/Scripts/Canvases/ChatEntity.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f715fbc0693150348be46213f17588b2 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Core/Chats/Scripts/Canvases/ChatEntry.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3e960ac125e6e3d4fa4a5a301b78a669 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Core/Chats/Scripts/ChatMessage.cs: -------------------------------------------------------------------------------- 1 | using FishNet.Connection; 2 | 3 | namespace GameKit.Core.Chats 4 | { 5 | 6 | public struct ChatMessage 7 | { 8 | /// 9 | /// Type of message sent or received. 10 | /// 11 | public ushort MessageType; 12 | /// 13 | /// Client receiving the message. This value may be null if not a direct message. 14 | /// 15 | public NetworkConnection Receiver; 16 | /// 17 | /// Client sending the message. This value may be null if not sent from a client. 18 | /// 19 | public NetworkConnection Sender; 20 | /// 21 | /// True if the message was sent, false if received. This is applicable with direct messages. 22 | /// 23 | public bool Outbound; 24 | /// 25 | /// Message sent. 26 | /// 27 | public string Message; 28 | 29 | public ChatMessage(ushort messageType, NetworkConnection receiver, NetworkConnection sender, string message, bool outbound) 30 | { 31 | MessageType = messageType; 32 | Receiver = receiver; 33 | Sender = sender; 34 | Message = message; 35 | Outbound = outbound; 36 | } 37 | } 38 | 39 | 40 | } -------------------------------------------------------------------------------- /GameKit/Core/Chats/Scripts/ChatMessage.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 88dfd38f032ca7e4c8520fbdfafe39dd 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Core/Chats/Scripts/IChatEntity.cs: -------------------------------------------------------------------------------- 1 | using FishNet.Connection; 2 | 3 | namespace GameKit.Core.Chats 4 | { 5 | 6 | public interface IChatEntity 7 | { 8 | /// 9 | /// Name for this client. 10 | /// 11 | public string GetEntityName(); 12 | /// 13 | /// Updates the name for this entity. 14 | /// 15 | /// New value. 16 | public void SetEntityName(string entityName); 17 | /// 18 | /// Client for this entity. 19 | /// 20 | /// 21 | public NetworkConnection GetConnection(); 22 | /// 23 | /// Initializes this for use. 24 | /// 25 | /// Client this entity is for. 26 | /// Name of the client. 27 | public void Initialize(NetworkConnection connection, string entityName); 28 | } 29 | 30 | } -------------------------------------------------------------------------------- /GameKit/Core/Chats/Scripts/IChatEntity.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2c02a562f276de842b0d6bcf1c630931 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Core/Chats/Scripts/Managers.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 128e11937b086d94fbbbd2c2b2973273 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /GameKit/Core/Chats/Scripts/Managers/ChatManager.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4053d9d8701535b48a442e66c8852691 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Core/Chats/Scripts/Managers/ChatManagerBase.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d0897453a1354d1458e4c77d9712cff9 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Core/Chats/Scripts/MessageType.cs: -------------------------------------------------------------------------------- 1 | namespace GameKit.Core.Chats 2 | { 3 | /// 4 | /// Where a message is going to or coming from. 5 | /// 6 | public enum MessageType : ushort 7 | { 8 | Tell = 0, 9 | All = 1, 10 | Team = 2, 11 | System = 3, 12 | } 13 | 14 | } -------------------------------------------------------------------------------- /GameKit/Core/Chats/Scripts/MessageType.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: eb0dd85e4ff49934c831294e2c205afa 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Core/Chats/Scripts/TeamType.cs: -------------------------------------------------------------------------------- 1 | 2 | namespace GameKit.Core.Chats 3 | { 4 | /// 5 | /// What faction sent the message. 6 | /// 7 | public enum TeamType : ushort 8 | { 9 | Unset = 0, 10 | Self = 1, 11 | Enemy = 2, 12 | Friendly = 3, 13 | } 14 | 15 | } -------------------------------------------------------------------------------- /GameKit/Core/Chats/Scripts/TeamType.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a844442ff3de6a0489bd87569d15a734 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Core/Crafting.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4492cddf5f2356742adc5a83344b6b3e 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /GameKit/Core/Crafting/Prefabs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2086d3960fd116d4eba2950f25f3953a 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /GameKit/Core/Crafting/Prefabs/RecipeEntry.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0daf12d09d760dd4a9bbc4d87f7f2019 3 | PrefabImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /GameKit/Core/Crafting/Prefabs/RequiredResourceEntry.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: df25ab723113e9e4c97f80de6b50bd07 3 | PrefabImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /GameKit/Core/Crafting/Scenes.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d6ff1ec955781cb489baa92fdb99abbd 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /GameKit/Core/Crafting/Scenes/Crafting and Inventory.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d0e88134aab7e58448d5fe44257158de 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /GameKit/Core/Crafting/Scripts.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f4f8dbb6d5a61674f8b2bb2450fd7685 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /GameKit/Core/Crafting/Scripts/Canvases.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6436bf652c4fa244a840816cb20f3378 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /GameKit/Core/Crafting/Scripts/Canvases/CraftingCanvas.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c620dc258920e914abcd370ba434a168 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Core/Crafting/Scripts/Canvases/RecipeEntry.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1fa1e0aa43b1b1d478186224bac74b89 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Core/Crafting/Scripts/Canvases/RequiredResourceEntry.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 239cddfad3679e7428b71119f8b85df0 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Core/Crafting/Scripts/Crafter.Client.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 142b787e66183584281d8c3c1fe65c23 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Core/Crafting/Scripts/Crafter.Server.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: de180cb1c12498546a74adf1d90056f2 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Core/Crafting/Scripts/Crafter.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c35d67e3cd60b5847bccc305a5017654 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Core/Crafting/Scripts/CraftingManager.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 392fbc3d849fa42419fa91419d492ad4 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Core/Crafting/Scripts/CraftingResult.cs: -------------------------------------------------------------------------------- 1 | namespace GameKit.Core.Crafting 2 | { 3 | public enum CraftingResult : byte 4 | { 5 | /// 6 | /// Generic failed reason. 7 | /// 8 | Failed = 0, 9 | /// 10 | /// Canceled by server or client. 11 | /// 12 | Canceled = 1, 13 | /// 14 | /// Crafting is already in progress and no more may be queued. 15 | /// 16 | FullQueue = 2, 17 | /// 18 | /// Completed successfully. 19 | /// 20 | Completed = 3, 21 | /// 22 | /// Not enough space is available to accomodate recipe results. 23 | /// 24 | NoSpace = 4, 25 | /// 26 | /// Not enough resources to craft the recipe. 27 | /// 28 | NoResources = 5, 29 | } 30 | 31 | } -------------------------------------------------------------------------------- /GameKit/Core/Crafting/Scripts/CraftingResult.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: df5f49fef7c83b94ca8ba325ec00d708 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Core/Crafting/Scripts/Recipe.Serializer.cs: -------------------------------------------------------------------------------- 1 | using FishNet.Serializing; 2 | using GameKit.Core.Resources; 3 | 4 | namespace GameKit.Core.Crafting 5 | { 6 | 7 | 8 | public static class Recipe_Serializers 9 | { 10 | public static void WriteRecipeData(this Writer w, RecipeData value) 11 | { 12 | if (value == null) 13 | w.WriteUInt32(ResourceConsts.UNSET_RESOURCE_ID); 14 | else 15 | w.WriteUInt32(value.UniqueId); 16 | } 17 | public static RecipeData ReadRecipeData(this Reader r) 18 | { 19 | uint index = r.ReadUInt32(); 20 | if (index == ResourceConsts.UNSET_RESOURCE_ID) 21 | return null; 22 | 23 | CraftingManager cm = r.NetworkManager.GetInstance(); 24 | if (cm != null) 25 | return cm.GetRecipe(index); 26 | 27 | //Fall through. 28 | return null; 29 | } 30 | } 31 | 32 | } 33 | -------------------------------------------------------------------------------- /GameKit/Core/Crafting/Scripts/Recipe.Serializer.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f0883fb8033e08e449385d4c7111150e 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Core/Crafting/Scripts/RecipeCraftableQuantity.cs: -------------------------------------------------------------------------------- 1 | namespace GameKit.Core.Crafting 2 | { 3 | 4 | /// 5 | /// Contains how many times a recipe may be performed with current resources. 6 | /// 7 | public struct CraftableRecipeQuantity 8 | { 9 | /// 10 | /// How many of recipe which can be made. 11 | /// 12 | public int Quantity; 13 | /// 14 | /// Recipe quantity is for. 15 | /// 16 | public RecipeData Recipe; 17 | 18 | public CraftableRecipeQuantity(int quantity, RecipeData recipe) 19 | { 20 | Quantity = quantity; 21 | Recipe = recipe; 22 | } 23 | } 24 | 25 | 26 | } -------------------------------------------------------------------------------- /GameKit/Core/Crafting/Scripts/RecipeCraftableQuantity.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b72a2989799927c46bb31e2801fc1c6f 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Core/Crafting/Scripts/RecipeData.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5df86c6455919cb42b3f4a2bf2fe8292 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Core/Crafting/Scripts/ScriptableObjects.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c46107bfde614fe4b924baae98b53a83 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /GameKit/Core/Crafting/Scripts/ScriptableObjects/Crossbow.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &11400000 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInstance: {fileID: 0} 8 | m_PrefabAsset: {fileID: 0} 9 | m_GameObject: {fileID: 0} 10 | m_Enabled: 1 11 | m_EditorHideFlags: 0 12 | m_Script: {fileID: 11500000, guid: 5df86c6455919cb42b3f4a2bf2fe8292, type: 3} 13 | m_Name: Crossbow 14 | m_EditorClassIdentifier: 15 | CraftTime: 4 16 | Result: 17 | ResourceData: {fileID: 11400000, guid: 40a45c09059ce3a45aac342bdcafeedd, type: 2} 18 | Quantity: 1 19 | RequiredResources: 20 | - ResourceData: {fileID: 11400000, guid: d8ca8a27764ab8f4a9ed6441ca14475a, type: 2} 21 | Quantity: 1 22 | - ResourceData: {fileID: 11400000, guid: 9b7eeb25a77dfbc4888bed7329aa165c, type: 2} 23 | Quantity: 2 24 | - ResourceData: {fileID: 11400000, guid: 69de988c276da234db9296bcc59cf945, type: 2} 25 | Quantity: 1 26 | -------------------------------------------------------------------------------- /GameKit/Core/Crafting/Scripts/ScriptableObjects/Crossbow.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4238442ce1af438429d3d375996fac72 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 11400000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /GameKit/Core/Crafting/Scripts/ScriptableObjects/Rope.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &11400000 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInstance: {fileID: 0} 8 | m_PrefabAsset: {fileID: 0} 9 | m_GameObject: {fileID: 0} 10 | m_Enabled: 1 11 | m_EditorHideFlags: 0 12 | m_Script: {fileID: 11500000, guid: 5df86c6455919cb42b3f4a2bf2fe8292, type: 3} 13 | m_Name: Rope 14 | m_EditorClassIdentifier: 15 | CraftTime: 1.5 16 | Result: 17 | ResourceData: {fileID: 11400000, guid: 9b7eeb25a77dfbc4888bed7329aa165c, type: 2} 18 | Quantity: 1 19 | RequiredResources: 20 | - ResourceData: {fileID: 11400000, guid: f10ab11ec16777d4db0a748c8d19a31a, type: 2} 21 | Quantity: 4 22 | -------------------------------------------------------------------------------- /GameKit/Core/Crafting/Scripts/ScriptableObjects/Rope.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e0797d1aef7d52c409517228890df3bc 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 11400000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /GameKit/Core/Databases.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 56c4854d37679714298dfc86e895e707 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /GameKit/Core/Databases/Dependencies.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a97f865b1860dab4aad69ccfff280143 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /GameKit/Core/Databases/Dependencies/LiteDB.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 44179ec8fb4cc324a9be71d1a534714a 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /GameKit/Core/Databases/Dependencies/LiteDB/LiteDB.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FirstGearGames/GameKit/3d82ad6a7a527cb41236b223ac981c8edee652d2/GameKit/Core/Databases/Dependencies/LiteDB/LiteDB.dll -------------------------------------------------------------------------------- /GameKit/Core/Databases/Dependencies/NpgSql.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FirstGearGames/GameKit/3d82ad6a7a527cb41236b223ac981c8edee652d2/GameKit/Core/Databases/Dependencies/NpgSql.zip -------------------------------------------------------------------------------- /GameKit/Core/Databases/Dependencies/NpgSql.zip.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 595ca31288dfd9540aff0813987ab441 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /GameKit/Core/Databases/IDroppableDbService_Client.cs: -------------------------------------------------------------------------------- 1 | 2 | namespace GameKit.Core.Databases 3 | { 4 | 5 | public interface IDroppableDbService_Client 6 | { 7 | 8 | } 9 | 10 | } -------------------------------------------------------------------------------- /GameKit/Core/Databases/IDroppableDbService_Client.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 66136621ebe5a964dbc3ba3c97ac0d8d 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Core/Databases/IDroppableDbService_Server.cs: -------------------------------------------------------------------------------- 1 | namespace GameKit.Core.Databases 2 | { 3 | 4 | public interface IDroppableDbService_Server 5 | { 6 | 7 | 8 | } 9 | 10 | } -------------------------------------------------------------------------------- /GameKit/Core/Databases/IDroppableDbService_Server.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5a34bec41c5241647b1889fb77834f4e 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Core/Databases/IInventoryDbService_Client.cs: -------------------------------------------------------------------------------- 1 | using GameKit.Core.Inventories; 2 | using GameKit.Core.Inventories.Bags; 3 | using System.Collections.Generic; 4 | 5 | namespace GameKit.Core.Databases 6 | { 7 | 8 | public interface IInventoryDbService_Client 9 | { 10 | List GetSortedInventory(uint categoryId); 11 | void SetSortedInventory(InventoryBase inventoryBase, List sortedInventory); 12 | 13 | } 14 | 15 | } -------------------------------------------------------------------------------- /GameKit/Core/Databases/IInventoryDbService_Client.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2ba34e7362b7e6b43b6e9b5e3a9cc246 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Core/Databases/IInventoryDbService_Server.cs: -------------------------------------------------------------------------------- 1 | using GameKit.Core.Inventories; 2 | using GameKit.Core.Inventories.Bags; 3 | using System.Collections.Generic; 4 | 5 | namespace GameKit.Core.Databases 6 | { 7 | 8 | public interface IInventoryDbService_Server 9 | { 10 | SerializableInventoryDb GetInventory(uint clientUniqueId, uint categoryId); 11 | void SetInventory(uint clientUniqueId, InventoryBase inventoryBase, SerializableInventoryDb inventory); 12 | List GetSortedInventory(uint clientUniqueId, uint categoryId); 13 | void SetSortedInventory(uint clientUniqueId, InventoryBase inventoryBase, List sortedInventory); 14 | 15 | } 16 | 17 | } -------------------------------------------------------------------------------- /GameKit/Core/Databases/IInventoryDbService_Server.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c25b1ce8fb1a4aa4e849664b1cf6f851 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Core/Databases/LiteDb.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f7621737fb9698b44b866a690637e45c 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /GameKit/Core/Databases/LiteDb/DroppableDbService.Client.cs: -------------------------------------------------------------------------------- 1 | namespace GameKit.Core.Databases.LiteDb 2 | { 3 | public partial class DroppableDbService : IDroppableDbService_Client 4 | { 5 | private void InitializeState_Client() { } 6 | 7 | private void ResetState_Client() { } 8 | } 9 | } -------------------------------------------------------------------------------- /GameKit/Core/Databases/LiteDb/DroppableDbService.Client.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e88e6ee098411d24a873ec174ee28121 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Core/Databases/LiteDb/DroppableDbService.Server.cs: -------------------------------------------------------------------------------- 1 | using LiteDB; 2 | using System.IO; 3 | using UnityEngine; 4 | 5 | namespace GameKit.Core.Databases.LiteDb 6 | { 7 | 8 | public partial class DroppableDbService : IDroppableDbService_Server 9 | { 10 | private LiteDatabase _databaseServer; 11 | 12 | private void InitializeState_Server() 13 | { 14 | string path = $"{Path.Combine(Application.persistentDataPath, "Droppable_Server.db")}"; 15 | _databaseServer = new LiteDatabase(path); 16 | } 17 | 18 | private void ResetState_Server() 19 | { 20 | _databaseServer.Dispose(); 21 | _databaseServer = null; 22 | } 23 | 24 | } 25 | 26 | 27 | } -------------------------------------------------------------------------------- /GameKit/Core/Databases/LiteDb/DroppableDbService.Server.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ac8251ba125a3524698004cc85a29bba 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Core/Databases/LiteDb/DroppableDbService.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 72102e49eae913246b658be507ffb2c6 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Core/Databases/LiteDb/InventoryDbService.Client.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9318de5339789ab4da0f7479912ebcb5 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Core/Databases/LiteDb/InventoryDbService.Server.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0672b87f89c00e440aa7aff4f5984a9b 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Core/Databases/LiteDb/InventoryDbService.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f497dbbfd86eab341a611965accef72d 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Core/Dependencies.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1984802552862f14aa063996433bf8ee 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /GameKit/Core/Dependencies/Floating Containers.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6193f98126562bf4093117ed21e7d2cb 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /GameKit/Core/Dependencies/Floating Containers/Prefabs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 79909512fbfd3c6498e078b205cf1e3a 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /GameKit/Core/Dependencies/Floating Containers/Prefabs/Button.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d9ee5cd05b7ecb84095f0c2513632cfb 3 | PrefabImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /GameKit/Core/Dependencies/Floating Containers/Scripts.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 315b69b791866e94dbf6bfedfd6d705b 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /GameKit/Core/Dependencies/Floating Containers/Scripts/FloatingOptions.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 98233abedffdeda4d9d45f715597ffdd 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /GameKit/Core/Dependencies/Floating Containers/Scripts/FloatingOptions/FloatingOptionsCanvas.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 16296ea241bd9d644ae3824bf8aa8672 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Core/Dependencies/Floating Containers/Scripts/FloatingOptions/FloatingOptionsConfig.cs: -------------------------------------------------------------------------------- 1 | using GameKit.Dependencies.Utilities.Types.CanvasContainers; 2 | 3 | namespace GameKit.Core.FloatingContainers.OptionMenuButtons 4 | { 5 | public struct FloatingOptionsConfig 6 | { 7 | /// 8 | /// True to allow cancel / close without selecting an option. 9 | /// 10 | public bool AllowCancel; 11 | 12 | /// 13 | /// Callback to perform when canceling. 14 | /// 15 | public PressedDelegateData CancelCallback; 16 | } 17 | 18 | } -------------------------------------------------------------------------------- /GameKit/Core/Dependencies/Floating Containers/Scripts/FloatingOptions/FloatingOptionsConfig.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cd8841cc18f4c9b42867f185a16ff6e7 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Core/Dependencies/Floating Containers/Scripts/FloatingOptions/OptionMenuButton.cs: -------------------------------------------------------------------------------- 1 | using GameKit.Dependencies.Utilities.Types.CanvasContainers; 2 | using TMPro; 3 | using UnityEngine; 4 | 5 | namespace GameKit.Core.FloatingContainers.OptionMenuButtons 6 | { 7 | public class OptionMenuButton : MonoBehaviour 8 | { 9 | #region Public. 10 | /// 11 | /// ButtonData for this button. 12 | /// 13 | public ButtonData ButtonData { get; private set; } 14 | #endregion 15 | 16 | #region Serialized. 17 | /// 18 | /// Textbox to show buttonData text. 19 | /// 20 | [Tooltip("Textbox to show buttonData text.")] 21 | [SerializeField] 22 | private TextMeshProUGUI _text; 23 | #endregion 24 | 25 | public virtual void Initialize(ButtonData bd) 26 | { 27 | ButtonData = bd; 28 | _text.text = bd.Text; 29 | } 30 | 31 | /// 32 | /// To be called when the button is pressed. 33 | /// 34 | public virtual void OnPressed() 35 | { 36 | ButtonData?.OnPressed(); 37 | } 38 | } 39 | 40 | } -------------------------------------------------------------------------------- /GameKit/Core/Dependencies/Floating Containers/Scripts/FloatingOptions/OptionMenuButton.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ad41f0b4e9741ba4bae890423b761592 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Core/Dependencies/Floating Containers/Scripts/FloatingOptions/SplittingCanvas.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d11c6b1141a6cd248a7ba4b78d5f4bec 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Core/Dependencies/Floating Containers/Scripts/FloatingOptions/SplittingCanvasHelpers.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b2829d8c038e7b445b940204043660d9 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Core/Dependencies/Floating Containers/Scripts/FloatingTooltip.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e6a9e10ab2099594d8c980c7dd2b5d1d 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /GameKit/Core/Dependencies/Floating Containers/Scripts/FloatingTooltip/FloatingTooltipCanvas.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 341dfeb660f24d44fad0b858cc04ae09 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Core/Dependencies/Prefabs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a60d0f4022460da439adb4da5f94ff35 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /GameKit/Core/Dependencies/Prefabs/ClientInstance.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1079b7f7236786f479feb036037c19cd 3 | PrefabImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /GameKit/Core/Dependencies/Scripts.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b114b1322af0dbf4bab44076be4a6ab4 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /GameKit/Core/Dependencies/Scripts/ClientInstance.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1aaea69f0aa12e040bb4d4bc4498bdce 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Core/Dependencies/Scripts/ClientInstanceState.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d63bd6778ad45fb49978030b1a08c45c 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Core/Dependencies/Scripts/Constants.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | 3 | namespace GameKit.Core.Dependencies 4 | { 5 | 6 | public static class Constants 7 | { 8 | /// 9 | /// Screen edge padding added onto all floating canvases. 10 | /// 11 | public static readonly Vector2 FLOATING_CANVAS_EDGE_PADDING = new Vector2(10f, 10f); 12 | } 13 | 14 | } -------------------------------------------------------------------------------- /GameKit/Core/Dependencies/Scripts/Constants.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9d5f55afc71635c4fa344ef309fe2d84 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Core/Dependencies/Scripts/Utilities.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9cfac8dc9099c25499349fbcaa369368 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /GameKit/Core/Dependencies/Scripts/Utilities/ActiveOnLocalClientInstance.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 10740ebf960e7e64b94016e47c79cc68 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Core/GameKit.Core.asmdef: -------------------------------------------------------------------------------- 1 | { 2 | "name": "GameKit.Core", 3 | "rootNamespace": "", 4 | "references": [ 5 | "GUID:7c88a4a7926ee5145ad2dfa06f454c67", 6 | "GUID:6055be8ebefd69e48b49212b09b47b2f", 7 | "GUID:75469ad4d38634e559750d17036d5f7c", 8 | "GUID:1d82bdf40e2465b44b34adf79595e74c" 9 | ], 10 | "includePlatforms": [], 11 | "excludePlatforms": [], 12 | "allowUnsafeCode": false, 13 | "overrideReferences": false, 14 | "precompiledReferences": [], 15 | "autoReferenced": true, 16 | "defineConstraints": [], 17 | "versionDefines": [], 18 | "noEngineReferences": false 19 | } -------------------------------------------------------------------------------- /GameKit/Core/GameKit.Core.asmdef.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a4aaaebfad4fc444db61baa169dd89c1 3 | AssemblyDefinitionImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /GameKit/Core/Inventories.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: df9249efecfc9914da2cad2aaf9b4286 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /GameKit/Core/Inventories/Prefabs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a09f51f20ebbb3247b5ef073797cd3e1 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /GameKit/Core/Inventories/Prefabs/BagEntry.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3c7177032c595864487ee8315e226290 3 | PrefabImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /GameKit/Core/Inventories/Prefabs/FloatingResourceEntry.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1dac750f6701f03479684b2d69af4b85 3 | PrefabImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /GameKit/Core/Inventories/Prefabs/ResourceEntry.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 10227fd06f72eeb4e9fbf3059df1365f 3 | PrefabImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /GameKit/Core/Inventories/Scripts.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 567bc63fd4cc1ee40a13023048c02ff4 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /GameKit/Core/Inventories/Scripts/BagData.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 317b363fa13bf16459984edfc6e0c034 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Core/Inventories/Scripts/BagSlot.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 56a230757f06f9e4dbf4b5521a86a53a 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Core/Inventories/Scripts/Canvases.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: dcb207766ac179f4994bcacba9c1180a 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /GameKit/Core/Inventories/Scripts/Canvases/BagEntry.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 467d50665e969d84288ad412780c8f74 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Core/Inventories/Scripts/Canvases/BagEntryTooltipHover.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e8e046d153c28d244b9285a6f3d6381d 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Core/Inventories/Scripts/Canvases/CharacterInventory.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3244be258d1b0d04ba455d0b06410e07 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /GameKit/Core/Inventories/Scripts/Canvases/CharacterInventory/CharacterInventoryCanvas.cs: -------------------------------------------------------------------------------- 1 | using GameKit.Core.Dependencies; 2 | 3 | namespace GameKit.Core.Inventories.Canvases.Characters 4 | { 5 | public class CharacterInventoryCanvas : InventoryCanvasBase 6 | { 7 | protected override void ClientInstance_OnClientInstanceChange(ClientInstance instance, ClientInstanceState state, bool asServer) 8 | { 9 | base.ClientInstance_OnClientInstanceChange(instance, state, asServer); 10 | 11 | bool started = (state == ClientInstanceState.PostInitialize); 12 | //If started then get the character inventory and initialize bags. 13 | if (started) 14 | { 15 | Inventory inv = instance.Inventory; 16 | Inventory = inv.GetInventoryBase(InventoryCategory.Character, true); 17 | 18 | InitializeBags(); 19 | } 20 | 21 | base.ChangeSubscription(started); 22 | } 23 | 24 | 25 | } 26 | } -------------------------------------------------------------------------------- /GameKit/Core/Inventories/Scripts/Canvases/CharacterInventory/CharacterInventoryCanvas.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 35788ea6822e76d4bae0aad2dbff2cc0 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Core/Inventories/Scripts/Canvases/FloatingResourceEntry.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d316e3d4e05b2b849ab2c2137fe6ab88 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Core/Inventories/Scripts/Canvases/InventoryCanvasBase.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4b197439288196b45a83aa2effc675a5 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Core/Inventories/Scripts/Canvases/ResourceEntry.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: aa240273027d5d248800c124a3a2daf6 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Core/Inventories/Scripts/CharacterInventory.Server.cs: -------------------------------------------------------------------------------- 1 | using GameKit.Core.Crafting; 2 | 3 | namespace GameKit.Core.Inventories 4 | { 5 | 6 | public partial class CharacterInventory : InventoryBase 7 | { 8 | 9 | public override void OnStartServer() 10 | { 11 | Crafter crafter = GetComponentInParent(); 12 | crafter.OnCraftingResult += Crafter_OnCraftingResult; 13 | } 14 | 15 | 16 | /// 17 | /// Called after receiving a crafting result. 18 | /// 19 | /// Recipe the result is for. 20 | /// The crafting result. 21 | /// True if callback is for server. 22 | private void Crafter_OnCraftingResult(RecipeData r, CraftingResult result, bool asServer) 23 | { 24 | //Already invoked on server side. 25 | if (!asServer && base.IsServerStarted) 26 | return; 27 | 28 | if (result == CraftingResult.Completed) 29 | base.UpdateResourcesFromRecipe(r, asServer); 30 | } 31 | 32 | } 33 | 34 | } -------------------------------------------------------------------------------- /GameKit/Core/Inventories/Scripts/CharacterInventory.Server.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d28b87a02ca27b740bf7dcfc1ddde384 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Core/Inventories/Scripts/CharacterInventory.cs: -------------------------------------------------------------------------------- 1 | 2 | namespace GameKit.Core.Inventories 3 | { 4 | 5 | public partial class CharacterInventory : InventoryBase 6 | { 7 | public override ushort CategoryId => (ushort)InventoryCategory.Character; 8 | } 9 | 10 | } -------------------------------------------------------------------------------- /GameKit/Core/Inventories/Scripts/CharacterInventory.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c56d0fe19ff961d45acef99ec3fa390e 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Core/Inventories/Scripts/Inventory.Server.cs: -------------------------------------------------------------------------------- 1 | using FishNet.Object; 2 | 3 | namespace GameKit.Core.Inventories 4 | { 5 | 6 | public partial class Inventory : NetworkBehaviour 7 | { 8 | } 9 | } -------------------------------------------------------------------------------- /GameKit/Core/Inventories/Scripts/Inventory.Server.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4a20e01e44b7312408cdba10109ef72b 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Core/Inventories/Scripts/Inventory.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b68b48a0ea84a1c4fb4d0a11e18888ef 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Core/Inventories/Scripts/InventoryBase.Client.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: abd1ebcb0de15984bbeed089d6e93611 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Core/Inventories/Scripts/InventoryBase.Server.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9ee627ee8cd032b49bf67147791e5553 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Core/Inventories/Scripts/InventoryBase.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cba861d9f80f4f44c8411596fea65acb 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Core/Inventories/Scripts/InventoryCategory.cs: -------------------------------------------------------------------------------- 1 | namespace GameKit.Core.Inventories 2 | { 3 | 4 | public enum InventoryCategory : ushort 5 | { 6 | Unset = InventoryConsts.UNSET_CATEGORY_ID, 7 | Character = 1, 8 | Bank = 2, 9 | } 10 | 11 | } -------------------------------------------------------------------------------- /GameKit/Core/Inventories/Scripts/InventoryCategory.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d46b68c416b289d49b373ed8b7502c34 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Core/Inventories/Scripts/InventoryConsts.cs: -------------------------------------------------------------------------------- 1 | 2 | namespace GameKit.Core.Inventories 3 | { 4 | /// 5 | /// Constants related to Inventory. 6 | /// 7 | public class InventoryConsts 8 | { 9 | /// 10 | /// Value to use when a bag Id is unset. 11 | /// This is used for database Id as well runtime UniqueId. 12 | /// 13 | public const uint UNSET_BAG_ID = 0; 14 | /// 15 | /// Value to use when a category Id is unset. 16 | /// 17 | public const ushort UNSET_CATEGORY_ID = 0; 18 | /// 19 | /// Value to use when bag space is not specified. 20 | /// 21 | public const int UNSET_BAG_SPACE = 0; 22 | /// 23 | /// Value to use when a layout index is not specified. 24 | /// 25 | public const int UNSET_LAYOUT_INDEX = -1; 26 | } 27 | 28 | } -------------------------------------------------------------------------------- /GameKit/Core/Inventories/Scripts/InventoryConsts.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 46886fcf7de1d8a4ab358d7583b1bedb 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Core/Inventories/Scripts/Managers.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0380379d975e8434cafccd6c23a4f276 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /GameKit/Core/Inventories/Scripts/Managers/BagManager.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3d9588fa7666e14478ef1075111086af 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Core/Inventories/Scripts/ScriptableObjects.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8b7f853b5696a3f40a31d91be77d4f3c 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /GameKit/Core/Inventories/Scripts/ScriptableObjects/Bags.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d878a6193faa5444cb8c588d807f2460 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /GameKit/Core/Inventories/Scripts/ScriptableObjects/Bags/Small Backpack.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &11400000 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInstance: {fileID: 0} 8 | m_PrefabAsset: {fileID: 0} 9 | m_GameObject: {fileID: 0} 10 | m_Enabled: 1 11 | m_EditorHideFlags: 0 12 | m_Script: {fileID: 11500000, guid: 317b363fa13bf16459984edfc6e0c034, type: 3} 13 | m_Name: Small Backpack 14 | m_EditorClassIdentifier: 15 | Space: 20 16 | Name: Small Backpack 17 | Description: A smaller backpack but still capable of holding a decent amount of 18 | storage. 19 | -------------------------------------------------------------------------------- /GameKit/Core/Inventories/Scripts/ScriptableObjects/Bags/Small Backpack.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b590bda2580265d478d6a1ca07a80b25 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 11400000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /GameKit/Core/Inventories/Scripts/ScriptableObjects/Bags/Small Sack.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &11400000 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInstance: {fileID: 0} 8 | m_PrefabAsset: {fileID: 0} 9 | m_GameObject: {fileID: 0} 10 | m_Enabled: 1 11 | m_EditorHideFlags: 0 12 | m_Script: {fileID: 11500000, guid: 317b363fa13bf16459984edfc6e0c034, type: 3} 13 | m_Name: Small Sack 14 | m_EditorClassIdentifier: 15 | Space: 6 16 | Name: Small Sack 17 | Description: A lightweight cloth bag. 18 | -------------------------------------------------------------------------------- /GameKit/Core/Inventories/Scripts/ScriptableObjects/Bags/Small Sack.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0c636be3748d8c44dafe22fa447b4f19 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 11400000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /GameKit/Core/Inventories/Scripts/SerializableActiveBag.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: db549af1a4a46954f8a0ecb15652682e 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Core/Inventories/Scripts/SerializableBagData.cs: -------------------------------------------------------------------------------- 1 | namespace GameKit.Core.Inventories.Bags 2 | { 3 | public struct SerializableBagData 4 | { 5 | /// 6 | /// Unique Id for this bag. This is generally a database Id for the bag. 7 | /// 8 | public uint UniqueId; 9 | 10 | public SerializableBagData(uint uniqueId) 11 | { 12 | UniqueId = uniqueId; 13 | } 14 | } 15 | 16 | } -------------------------------------------------------------------------------- /GameKit/Core/Inventories/Scripts/SerializableBagData.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 357b5893ada9eec4eb9854a2756425f6 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Core/Inventories/Scripts/SerializableFilledSlot.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 957bcfb123b821344a0f1eece309e08e 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Core/Inventories/Scripts/SerializableInventoryDb.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e7c1df10e9f77bb4c995dde75b30ab97 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Core/Inventories/Testing.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 337afe580de118248a4046d592fbb634 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /GameKit/Core/Inventories/Testing/Scripts.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 08936db6c4c18f14e9454f85d86ae6ed 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /GameKit/Core/Inventories/Testing/Scripts/ChangeResourcesCanvas.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b8b6578b17ca4d246af94ab48fed8b95 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Core/Inventories/Testing/Scripts/GameKit.Testing.asmdef: -------------------------------------------------------------------------------- 1 | { 2 | "name": "GameKit.Testing", 3 | "rootNamespace": "", 4 | "references": [ 5 | "GUID:a4aaaebfad4fc444db61baa169dd89c1", 6 | "GUID:7c88a4a7926ee5145ad2dfa06f454c67", 7 | "GUID:1d82bdf40e2465b44b34adf79595e74c", 8 | "GUID:3811cbac4941d474a930b5ab62be9ac0" 9 | ], 10 | "includePlatforms": [], 11 | "excludePlatforms": [], 12 | "allowUnsafeCode": false, 13 | "overrideReferences": false, 14 | "precompiledReferences": [], 15 | "autoReferenced": true, 16 | "defineConstraints": [], 17 | "versionDefines": [], 18 | "noEngineReferences": false 19 | } -------------------------------------------------------------------------------- /GameKit/Core/Inventories/Testing/Scripts/GameKit.Testing.asmdef.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9f77b3da236e1ee40a290270bf0e6f2f 3 | AssemblyDefinitionImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /GameKit/Core/Leveling.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ef069e0253ff0d04e87e3bb125da4b8e 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /GameKit/Core/Leveling/Scripts.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cc495e867a9a32143973863e4469b4a0 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /GameKit/Core/Leveling/Scripts/LevelBase.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 48ca19f8eee6cb74b8e2dfba11d7e24d 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Core/Leveling/Scripts/XPLevel.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 272ae8c8c3bc48f409939c5d280d2af2 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Core/Providers.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c4e2a23ec7ad9c34abf0ec29ee865753 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /GameKit/Core/Providers/Scripts.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 983b73f0761c72f499a01c29b869d174 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /GameKit/Core/Providers/Scripts/Provider.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | 3 | namespace GameKit.Core.Providers 4 | { 5 | 6 | public class Provider : MonoBehaviour 7 | { 8 | /// 9 | /// Data for this provider. 10 | /// 11 | public ProviderData ProviderData; 12 | } 13 | 14 | 15 | } -------------------------------------------------------------------------------- /GameKit/Core/Providers/Scripts/Provider.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8c00377ebe3aa4c43afd36732b3559bf 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Core/Providers/Scripts/ProviderData.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | 3 | namespace GameKit.Core.Providers 4 | { 5 | [CreateAssetMenu(fileName = "New ProviderData", menuName = "Game/Providers/ProviderData", order = 1)] 6 | public class ProviderData : ScriptableObject 7 | { 8 | /// 9 | /// UniqueId for the provider. 10 | /// 11 | public uint UniqueId; 12 | } 13 | 14 | 15 | } -------------------------------------------------------------------------------- /GameKit/Core/Providers/Scripts/ProviderData.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c3331aeb6f615624487389728b9e0545 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Core/Quests.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 120a3a69c828f93449c3246ec9f0af35 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /GameKit/Core/Quests/Scripts.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c7924415e5f4a924ca676bf537d4cfb3 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /GameKit/Core/Quests/Scripts/ActiveQuest.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9581f766ffdc5d548987426468a3c9b9 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Core/Quests/Scripts/ConditionType.cs: -------------------------------------------------------------------------------- 1 | 2 | namespace GameKit.Core.Quests 3 | { 4 | 5 | public enum ConditionType 6 | { 7 | Unset = 0, 8 | /// 9 | /// Gather objects. 10 | /// 11 | Gather = 1, 12 | /// 13 | /// Travel to a location. 14 | /// 15 | Travel = 2, 16 | /// 17 | /// Interact with objects. 18 | /// 19 | Interactive = 3, 20 | /// 21 | /// Defeat a number of objects. 22 | /// 23 | Defeat = 4, 24 | } 25 | 26 | 27 | } -------------------------------------------------------------------------------- /GameKit/Core/Quests/Scripts/ConditionType.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ac56c297abca4fb40b1faf8a5ab7d78d 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Core/Quests/Scripts/Conditions.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 646d04a740db86c44b0e8c1732ae7b13 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /GameKit/Core/Quests/Scripts/Conditions/GatherCondition.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | using UnityEngine; 3 | 4 | namespace GameKit.Core.Quests 5 | { 6 | [CreateAssetMenu(fileName = "New Gather Condition", menuName = "Game/Quests/Gather Condition")] 7 | public class GatherCondition : QuestConditionBase 8 | { 9 | /// 10 | /// Type of condition which must be met. 11 | /// 12 | public override ConditionType QuestType => ConditionType.Gather; 13 | /// 14 | /// Resources which must be gathered. 15 | /// 16 | public List Resources; 17 | } 18 | 19 | 20 | } -------------------------------------------------------------------------------- /GameKit/Core/Quests/Scripts/Conditions/GatherCondition.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 70d0ba42defcc38448db578b84c92ab0 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Core/Quests/Scripts/Conditions/InteractCondition.cs: -------------------------------------------------------------------------------- 1 | using GameKit.Core.Providers; 2 | using UnityEngine; 3 | 4 | namespace GameKit.Core.Quests 5 | { 6 | [CreateAssetMenu(fileName = "New Interact Condition", menuName = "Game/Quests/Interact Condition")] 7 | public class InteractCondition : QuestConditionBase 8 | { 9 | /// 10 | /// Type of condition which must be met. 11 | /// 12 | public override ConditionType QuestType => ConditionType.Interactive; 13 | /// 14 | /// Provider to interact with. 15 | /// 16 | public ProviderData ProviderData; 17 | } 18 | 19 | 20 | } -------------------------------------------------------------------------------- /GameKit/Core/Quests/Scripts/Conditions/InteractCondition.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 25ede2b08dad4784c96c7bce3f2bb22e 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Core/Quests/Scripts/Conditions/QuestConditionBase.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | 3 | namespace GameKit.Core.Quests 4 | { 5 | public abstract class QuestConditionBase : ScriptableObject 6 | { 7 | /// 8 | /// Type of condition which must be met. 9 | /// 10 | public abstract ConditionType QuestType { get; } 11 | } 12 | 13 | } -------------------------------------------------------------------------------- /GameKit/Core/Quests/Scripts/Conditions/QuestConditionBase.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 434a8e7ff726eeb4cbadb4d68bbae81d 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Core/Quests/Scripts/Conditions/QuestConditionState.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace GameKit.Core.Quests 4 | { 5 | [Flags] 6 | public enum QuestConditionState 7 | { 8 | NotMet = 0, 9 | Met = 1, 10 | } 11 | 12 | 13 | } -------------------------------------------------------------------------------- /GameKit/Core/Quests/Scripts/Conditions/QuestConditionState.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ad9c045f61816fe49aaa8c46eaf71acd 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Core/Quests/Scripts/Conditions/ScriptableObjects.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 889693e394a22ab4c95f3585439bb03e 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /GameKit/Core/Quests/Scripts/Conditions/ScriptableObjects/Precious Garbage.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &11400000 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInstance: {fileID: 0} 8 | m_PrefabAsset: {fileID: 0} 9 | m_GameObject: {fileID: 0} 10 | m_Enabled: 1 11 | m_EditorHideFlags: 0 12 | m_Script: {fileID: 11500000, guid: 70d0ba42defcc38448db578b84c92ab0, type: 3} 13 | m_Name: Precious Garbage 14 | m_EditorClassIdentifier: 15 | Resources: 16 | - ResourceData: {fileID: 11400000, guid: 06ebe3bc174078343bd8e342a3ec8d24, type: 2} 17 | Quantity: 5 18 | - ResourceData: {fileID: 11400000, guid: 9b7eeb25a77dfbc4888bed7329aa165c, type: 2} 19 | Quantity: 2 20 | -------------------------------------------------------------------------------- /GameKit/Core/Quests/Scripts/Conditions/ScriptableObjects/Precious Garbage.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2acde0524ec001b4db4eebafe19adf14 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 11400000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /GameKit/Core/Quests/Scripts/Conditions/TravelCondition.cs: -------------------------------------------------------------------------------- 1 | using GameKit.Core.Resources; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | namespace GameKit.Core.Quests 6 | { 7 | [CreateAssetMenu(fileName = "New Travel Condition", menuName = "Game/Quests/Travel Condition")] 8 | public class TravelCondition : QuestConditionBase 9 | { 10 | /// 11 | /// Type of condition which must be met. 12 | /// 13 | public override ConditionType QuestType => ConditionType.Travel; 14 | /// 15 | /// Objects which must be acquired to indicate visiting a region. 16 | /// 17 | public List Objects; 18 | } 19 | 20 | 21 | } -------------------------------------------------------------------------------- /GameKit/Core/Quests/Scripts/Conditions/TravelCondition.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ae477b8d005017b4e8896ab3a61062b2 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Core/Quests/Scripts/GatherableResource.cs: -------------------------------------------------------------------------------- 1 | using GameKit.Core.Resources; 2 | 3 | namespace GameKit.Core.Quests 4 | { 5 | [System.Serializable] 6 | public struct GatherableResource 7 | { 8 | public ResourceData ResourceData; 9 | public int Quantity; 10 | } 11 | 12 | 13 | } -------------------------------------------------------------------------------- /GameKit/Core/Quests/Scripts/GatherableResource.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 476ca30a7954708498fed974301e7989 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Core/Quests/Scripts/QuestData.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: aa4740d2dcde653439ff202fd59ede93 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Core/Quests/Scripts/QuestState.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace GameKit.Core.Quests 4 | { 5 | [Flags] 6 | public enum QuestState 7 | { 8 | Unset = 0, 9 | Started = 1, 10 | Canceled = 2, 11 | Completed = 4, 12 | Failed = 8, 13 | Active = 16, 14 | } 15 | 16 | 17 | } -------------------------------------------------------------------------------- /GameKit/Core/Quests/Scripts/QuestState.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2f9fe1f1927febc47b479091bbbb5f3d 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Core/Quests/Scripts/Quester.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cbac58e0dcff71c48bd289467d503f43 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Core/Quests/Scripts/Quests.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6aca904feee94fe41bcbed9165bfa6f1 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /GameKit/Core/Quests/Scripts/Quests/Precious Garbage.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 336ffa01e72aaa2459b76dc46bb59f4e 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /GameKit/Core/Quests/Scripts/Quests/Precious Garbage/Gathering.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &11400000 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInstance: {fileID: 0} 8 | m_PrefabAsset: {fileID: 0} 9 | m_GameObject: {fileID: 0} 10 | m_Enabled: 1 11 | m_EditorHideFlags: 0 12 | m_Script: {fileID: 11500000, guid: aa4740d2dcde653439ff202fd59ede93, type: 3} 13 | m_Name: Gathering 14 | m_EditorClassIdentifier: GameKit.Core:GameKit.Core.Quests:GatherObjective 15 | UniqueId: 0 16 | Trackable: 0 17 | Title: 18 | Description: 19 | Conditions: [] 20 | Rewards: [] 21 | -------------------------------------------------------------------------------- /GameKit/Core/Quests/Scripts/Quests/Precious Garbage/Gathering.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1bc941cc71e5bc5469eddd0be6327866 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 11400000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /GameKit/Core/Quests/Scripts/Quests/Precious Garbage/Precious Garbage.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &11400000 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInstance: {fileID: 0} 8 | m_PrefabAsset: {fileID: 0} 9 | m_GameObject: {fileID: 0} 10 | m_Enabled: 1 11 | m_EditorHideFlags: 0 12 | m_Script: {fileID: 11500000, guid: aa4740d2dcde653439ff202fd59ede93, type: 3} 13 | m_Name: Precious Garbage 14 | m_EditorClassIdentifier: 15 | UniqueId: 0 16 | Trackable: 1 17 | Title: Precious Garbage 18 | Description: One animals garbage is another's ... not garbage. 19 | Conditions: 20 | - {fileID: 11400000, guid: 2acde0524ec001b4db4eebafe19adf14, type: 2} 21 | Rewards: 22 | - {fileID: 0} 23 | QuestDroppables: [] 24 | -------------------------------------------------------------------------------- /GameKit/Core/Quests/Scripts/Quests/Precious Garbage/Precious Garbage.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cfacdef087a49ed4390717cce558c1cc 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 11400000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /GameKit/Core/Quests/Scripts/Rewards.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 34f0f914096f45a43818d5dd5cfaf5a5 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /GameKit/Core/Quests/Scripts/Rewards/QuestRewardBase.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | 3 | namespace GameKit.Core.Quests 4 | { 5 | public class QuestRewardBase : ScriptableObject 6 | { 7 | public ConditionType QuestType; 8 | } 9 | 10 | } -------------------------------------------------------------------------------- /GameKit/Core/Quests/Scripts/Rewards/QuestRewardBase.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e6a0c7f33d5d1c646b7e9459690ec043 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Core/Quests/Scripts/Rewards/RewardType.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | 3 | namespace GameKit.Core.Quests 4 | { 5 | 6 | public enum RewardType 7 | { 8 | Unset = 0, 9 | /// 10 | /// Gives resources. 11 | /// 12 | Resource = 1, 13 | /// 14 | /// Provides experience. 15 | /// 16 | Experience = 2, 17 | /// 18 | /// Unlocks another quest. 19 | /// 20 | Quest = 3 21 | } 22 | 23 | 24 | } -------------------------------------------------------------------------------- /GameKit/Core/Quests/Scripts/Rewards/RewardType.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0728c4bc682619d47acfc64ed2a175e1 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Core/Quests/Scripts/Rewards/RewardableResource.cs: -------------------------------------------------------------------------------- 1 | using GameKit.Core.Resources; 2 | 3 | namespace GameKit.Core.Quests 4 | { 5 | [System.Serializable] 6 | public struct RewardableResource 7 | { 8 | public ResourceData ResourceData; 9 | public int Quantity; 10 | } 11 | 12 | 13 | } -------------------------------------------------------------------------------- /GameKit/Core/Quests/Scripts/Rewards/RewardableResource.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4a15b1f0c2fffbc40bc07f13f6b8888b 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Core/Quests/Scripts/Rewards/ScriptableObjects.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f31510c0a70585648a4b8a40e9b31530 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /GameKit/Core/Resources.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 86c698b655a71744092b9f275687eb07 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /GameKit/Core/Resources/Droppables.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bc50edc8aebb2904eb73f59d5e9b41b4 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /GameKit/Core/Resources/Droppables/DroppableData.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c11a49cf1e3a7484093008405954071f 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Core/Resources/Droppables/DroppableManager.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0036fbabdd50b254bbfa0e65dd1169cc 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Core/Resources/Droppables/ScriptableObjects.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f90bda471da75df44ab1e2e777a0b6ca 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /GameKit/Core/Resources/Droppables/ScriptableObjects/Coir_Droppable.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &11400000 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInstance: {fileID: 0} 8 | m_PrefabAsset: {fileID: 0} 9 | m_GameObject: {fileID: 0} 10 | m_Enabled: 1 11 | m_EditorHideFlags: 0 12 | m_Script: {fileID: 11500000, guid: c11a49cf1e3a7484093008405954071f, type: 3} 13 | m_Name: Coir_Droppable 14 | m_EditorClassIdentifier: 15 | Enabled: 1 16 | ResourceData: {fileID: 11400000, guid: f10ab11ec16777d4db0a748c8d19a31a, type: 2} 17 | Quantity: 18 | Minimum: 1 19 | Maximum: 3 20 | DropRate: 0.17 21 | -------------------------------------------------------------------------------- /GameKit/Core/Resources/Droppables/ScriptableObjects/Coir_Droppable.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f2310ece004081849a732fa22681850b 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 11400000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /GameKit/Core/Resources/ResourceCategory.cs: -------------------------------------------------------------------------------- 1 | namespace GameKit.Core.Resources 2 | { 3 | /// 4 | /// Categories a resource may be used for. 5 | /// A resource could have multiple categories, such as food and crafting. 6 | /// 7 | [System.Flags] 8 | public enum ResourceCategory : uint 9 | { 10 | Unset = 0, 11 | //Junk. 12 | Scrap = 1, 13 | //Can be used in crafting. 14 | Crafting = 2, 15 | //Can be used as food, potions, and so on. 16 | Consumable = 4, 17 | //Can be a weapon. 18 | Weapon = 8, 19 | //Can be equipped on characters. 20 | Equipped = 16, 21 | } 22 | 23 | } -------------------------------------------------------------------------------- /GameKit/Core/Resources/ResourceCategory.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9bc08e159c74c404da7d48834f930c98 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Core/Resources/ResourceCategoryData.cs: -------------------------------------------------------------------------------- 1 | using GameKit.Core.Resources; 2 | using UnityEngine; 3 | 4 | namespace GameKit.Core.Resources 5 | { 6 | 7 | [CreateAssetMenu(fileName = "New ResourceCategoryData", menuName = "Game/Resources/ResourceCategoryData", order = 1)] 8 | public class ResourceCategoryData : ScriptableObject 9 | { 10 | /// 11 | /// Category which this resource belongs. 12 | /// 13 | public ResourceCategory Category; 14 | /// 15 | /// Display name of the resource category. 16 | /// 17 | public string DisplayName; 18 | /// 19 | /// Icon for this resource category. 20 | /// 21 | public Sprite Icon; 22 | } 23 | 24 | 25 | } -------------------------------------------------------------------------------- /GameKit/Core/Resources/ResourceCategoryData.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c3c87b4cf659d264b99247cdaea8aabe 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Core/Resources/ResourceConsts.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | 3 | namespace GameKit.Core.Resources 4 | { 5 | public class ResourceConsts 6 | { 7 | /// 8 | /// Value for when a resourceId is unset. 9 | /// 10 | public const uint UNSET_RESOURCE_ID = 0; 11 | /// 12 | /// Value for when a resource category is unset. 13 | /// 14 | public const uint UNSET_RESOURCE_CATEGORY = 0; 15 | /// 16 | /// Value for when a resource does not have a maximum limit. 17 | /// 18 | public const int UNSET_QUANTITY_LIMIT = 0; 19 | /// 20 | /// Value for when a resource does not have a stack limit. 21 | /// 22 | public const int UNSET_STACK_LIMIT = 0; 23 | } 24 | 25 | 26 | } -------------------------------------------------------------------------------- /GameKit/Core/Resources/ResourceConsts.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4136433a23ed4db44a2ffb53dbf06e41 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Core/Resources/ResourceData.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | 3 | namespace GameKit.Core.Resources 4 | { 5 | 6 | [CreateAssetMenu(fileName = "New ResourceData", menuName = "Game/Resources/ResourceData", order = 1)] 7 | public class ResourceData : ResourceDataBase 8 | { 9 | /// 10 | /// Type of categories this resource fits into. 11 | /// 12 | public ResourceCategory Category; 13 | /// 14 | /// Display name of the resource. 15 | /// 16 | public string DisplayName; 17 | /// 18 | /// Description for the resource. 19 | /// 20 | [Multiline] 21 | public string Description; 22 | /// 23 | /// Icon for the resource. 24 | /// 25 | public Sprite Icon; 26 | } 27 | } -------------------------------------------------------------------------------- /GameKit/Core/Resources/ResourceData.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2918aa4b5d3dd8945a61e83592837c8e 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Core/Resources/ResourceDataBase.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | 3 | namespace GameKit.Core.Resources 4 | { 5 | 6 | public class ResourceDataBase : ScriptableObject 7 | { 8 | /// 9 | /// True if should be recognized and used. False to remove from the game. 10 | /// 11 | public bool Enabled = true; 12 | /// 13 | /// UniqueId of the resource. 14 | /// 15 | [HideInInspector, System.NonSerialized] 16 | public uint UniqueId = ResourceConsts.UNSET_RESOURCE_ID; 17 | /// 18 | /// Maximum number of times this item can be stacked. 19 | /// 20 | [Range(0, ushort.MaxValue)] 21 | public int StackLimit = ResourceConsts.UNSET_STACK_LIMIT; 22 | /// 23 | /// Maximum number of items which may exist with an inventory. 24 | /// 25 | [Range(0, ushort.MaxValue)] 26 | public int QuantityLimit = ResourceConsts.UNSET_QUANTITY_LIMIT; 27 | /// 28 | /// True if this resource is visible in player bags. False if the resource is hidden when acquired. 29 | /// 30 | public bool IsBaggable = true; 31 | } 32 | } -------------------------------------------------------------------------------- /GameKit/Core/Resources/ResourceDataBase.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 82b889d2817d9124c9713b4544da24a0 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Core/Resources/ResourceManager.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 868afeb1ade265c46b538345c265245f 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Core/Resources/ResourceQuantity.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9144355ac5d53c549bae438e74fcb547 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Core/Resources/ScriptableObjects.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c28c53cd9e647864fab2c631a98bdd6d 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /GameKit/Core/Resources/ScriptableObjects/ResourceCategoryData.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f771cdb2587bf0144bdfa794976ae40e 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /GameKit/Core/Resources/ScriptableObjects/ResourceCategoryData/Crafting_ResourceCategoryData.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &11400000 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInstance: {fileID: 0} 8 | m_PrefabAsset: {fileID: 0} 9 | m_GameObject: {fileID: 0} 10 | m_Enabled: 1 11 | m_EditorHideFlags: 0 12 | m_Script: {fileID: 11500000, guid: c3c87b4cf659d264b99247cdaea8aabe, type: 3} 13 | m_Name: Crafting_ResourceCategoryData 14 | m_EditorClassIdentifier: 15 | Category: 2 16 | DisplayName: Crafting 17 | Icon: {fileID: 21300000, guid: c0ace32710f3ef84da326856ede76b2d, type: 3} 18 | -------------------------------------------------------------------------------- /GameKit/Core/Resources/ScriptableObjects/ResourceCategoryData/Crafting_ResourceCategoryData.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7d14258c9fd701c4ba2b5c6ad024149b 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 11400000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /GameKit/Core/Resources/ScriptableObjects/ResourceCategoryData/Equipped_ResourceCategoryData.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &11400000 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInstance: {fileID: 0} 8 | m_PrefabAsset: {fileID: 0} 9 | m_GameObject: {fileID: 0} 10 | m_Enabled: 1 11 | m_EditorHideFlags: 0 12 | m_Script: {fileID: 11500000, guid: c3c87b4cf659d264b99247cdaea8aabe, type: 3} 13 | m_Name: Equipped_ResourceCategoryData 14 | m_EditorClassIdentifier: 15 | Category: 16 16 | DisplayName: Equipped 17 | Icon: {fileID: 21300000, guid: b25a6115885b10d478844af5865d5877, type: 3} 18 | -------------------------------------------------------------------------------- /GameKit/Core/Resources/ScriptableObjects/ResourceCategoryData/Equipped_ResourceCategoryData.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: af0fd57f13ed48749969ea2dc745409e 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 11400000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /GameKit/Core/Resources/ScriptableObjects/ResourceCategoryData/Food_ResourceCategoryData.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &11400000 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInstance: {fileID: 0} 8 | m_PrefabAsset: {fileID: 0} 9 | m_GameObject: {fileID: 0} 10 | m_Enabled: 1 11 | m_EditorHideFlags: 0 12 | m_Script: {fileID: 11500000, guid: c3c87b4cf659d264b99247cdaea8aabe, type: 3} 13 | m_Name: Food_ResourceCategoryData 14 | m_EditorClassIdentifier: 15 | Category: 4 16 | DisplayName: Food 17 | Icon: {fileID: 21300000, guid: bb587ebaabdbb6b4f9a57c32010c9815, type: 3} 18 | -------------------------------------------------------------------------------- /GameKit/Core/Resources/ScriptableObjects/ResourceCategoryData/Food_ResourceCategoryData.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: deec55c5b983ec843b67d10a5658cc9a 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 11400000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /GameKit/Core/Resources/ScriptableObjects/ResourceCategoryData/Scraps_ResourceCategoryData.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &11400000 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInstance: {fileID: 0} 8 | m_PrefabAsset: {fileID: 0} 9 | m_GameObject: {fileID: 0} 10 | m_Enabled: 1 11 | m_EditorHideFlags: 0 12 | m_Script: {fileID: 11500000, guid: c3c87b4cf659d264b99247cdaea8aabe, type: 3} 13 | m_Name: Scraps_ResourceCategoryData 14 | m_EditorClassIdentifier: 15 | Category: 1 16 | DisplayName: Scraps 17 | Icon: {fileID: 21300000, guid: 936f985a19c2f754d90f5ae962cd431d, type: 3} 18 | -------------------------------------------------------------------------------- /GameKit/Core/Resources/ScriptableObjects/ResourceCategoryData/Scraps_ResourceCategoryData.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 59148adfdb353f64b9a05620cd27a3ce 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 11400000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /GameKit/Core/Resources/ScriptableObjects/ResourceCategoryData/Weapon_ResourceCategoryData.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &11400000 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInstance: {fileID: 0} 8 | m_PrefabAsset: {fileID: 0} 9 | m_GameObject: {fileID: 0} 10 | m_Enabled: 1 11 | m_EditorHideFlags: 0 12 | m_Script: {fileID: 11500000, guid: c3c87b4cf659d264b99247cdaea8aabe, type: 3} 13 | m_Name: Weapon_ResourceCategoryData 14 | m_EditorClassIdentifier: 15 | Category: 8 16 | DisplayName: Weapon 17 | Icon: {fileID: 21300000, guid: b25a6115885b10d478844af5865d5877, type: 3} 18 | -------------------------------------------------------------------------------- /GameKit/Core/Resources/ScriptableObjects/ResourceCategoryData/Weapon_ResourceCategoryData.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d6c3c6ece756c30479e334d4ea4fd6e3 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 11400000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /GameKit/Core/Resources/ScriptableObjects/ResourceData.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7e8a05d431a9a1045a062267fa03bcf9 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /GameKit/Core/Resources/ScriptableObjects/ResourceData/Bone_ResourceData.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &11400000 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInstance: {fileID: 0} 8 | m_PrefabAsset: {fileID: 0} 9 | m_GameObject: {fileID: 0} 10 | m_Enabled: 1 11 | m_EditorHideFlags: 0 12 | m_Script: {fileID: 11500000, guid: 2918aa4b5d3dd8945a61e83592837c8e, type: 3} 13 | m_Name: Bone_ResourceData 14 | m_EditorClassIdentifier: 15 | Enabled: 1 16 | StackLimit: 5 17 | QuantityLimit: 65535 18 | IsBaggable: 1 19 | Category: 3 20 | DisplayName: Bone 21 | Description: People sure collect some weird things. 22 | Icon: {fileID: -693445840, guid: de7fd6530fc3868488a3da464c9b2d64, type: 3} 23 | -------------------------------------------------------------------------------- /GameKit/Core/Resources/ScriptableObjects/ResourceData/Bone_ResourceData.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 06ebe3bc174078343bd8e342a3ec8d24 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 11400000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /GameKit/Core/Resources/ScriptableObjects/ResourceData/Coir_ResourceData.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &11400000 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInstance: {fileID: 0} 8 | m_PrefabAsset: {fileID: 0} 9 | m_GameObject: {fileID: 0} 10 | m_Enabled: 1 11 | m_EditorHideFlags: 0 12 | m_Script: {fileID: 11500000, guid: 2918aa4b5d3dd8945a61e83592837c8e, type: 3} 13 | m_Name: Coir_ResourceData 14 | m_EditorClassIdentifier: 15 | Enabled: 1 16 | StackLimit: 10 17 | QuantityLimit: 65535 18 | IsBaggable: 1 19 | Category: 3 20 | DisplayName: Coir 21 | Description: We'll just put this in the junk drawer. 22 | Icon: {fileID: 1093434400, guid: de7fd6530fc3868488a3da464c9b2d64, type: 3} 23 | -------------------------------------------------------------------------------- /GameKit/Core/Resources/ScriptableObjects/ResourceData/Coir_ResourceData.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f10ab11ec16777d4db0a748c8d19a31a 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 11400000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /GameKit/Core/Resources/ScriptableObjects/ResourceData/Crossbow_ResourceData.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &11400000 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInstance: {fileID: 0} 8 | m_PrefabAsset: {fileID: 0} 9 | m_GameObject: {fileID: 0} 10 | m_Enabled: 1 11 | m_EditorHideFlags: 0 12 | m_Script: {fileID: 11500000, guid: 2918aa4b5d3dd8945a61e83592837c8e, type: 3} 13 | m_Name: Crossbow_ResourceData 14 | m_EditorClassIdentifier: 15 | Enabled: 1 16 | StackLimit: 1 17 | QuantityLimit: 65535 18 | IsBaggable: 1 19 | Category: 24 20 | DisplayName: Crossbow 21 | Description: Do you really need an excuse to own a crossbow? 22 | Icon: {fileID: -71728835, guid: de7fd6530fc3868488a3da464c9b2d64, type: 3} 23 | -------------------------------------------------------------------------------- /GameKit/Core/Resources/ScriptableObjects/ResourceData/Crossbow_ResourceData.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 40a45c09059ce3a45aac342bdcafeedd 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 11400000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /GameKit/Core/Resources/ScriptableObjects/ResourceData/Flask_ResourceData.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &11400000 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInstance: {fileID: 0} 8 | m_PrefabAsset: {fileID: 0} 9 | m_GameObject: {fileID: 0} 10 | m_Enabled: 1 11 | m_EditorHideFlags: 0 12 | m_Script: {fileID: 11500000, guid: 2918aa4b5d3dd8945a61e83592837c8e, type: 3} 13 | m_Name: Flask_ResourceData 14 | m_EditorClassIdentifier: 15 | Enabled: 1 16 | StackLimit: 3 17 | QuantityLimit: 65535 18 | IsBaggable: 1 19 | Category: 3 20 | DisplayName: Flask 21 | Description: Looks stained from previous uses. 22 | Icon: {fileID: 1791051367, guid: de7fd6530fc3868488a3da464c9b2d64, type: 3} 23 | -------------------------------------------------------------------------------- /GameKit/Core/Resources/ScriptableObjects/ResourceData/Flask_ResourceData.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8256e29568ccb7e4483ba0b09035cbb9 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 11400000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /GameKit/Core/Resources/ScriptableObjects/ResourceData/Log_ResourceData.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &11400000 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInstance: {fileID: 0} 8 | m_PrefabAsset: {fileID: 0} 9 | m_GameObject: {fileID: 0} 10 | m_Enabled: 1 11 | m_EditorHideFlags: 0 12 | m_Script: {fileID: 11500000, guid: 2918aa4b5d3dd8945a61e83592837c8e, type: 3} 13 | m_Name: Log_ResourceData 14 | m_EditorClassIdentifier: 15 | Enabled: 1 16 | StackLimit: 5 17 | QuantityLimit: 65535 18 | IsBaggable: 1 19 | Category: 2 20 | DisplayName: Log 21 | Description: Objects are much closer than they appear. 22 | Icon: {fileID: 982816313, guid: de7fd6530fc3868488a3da464c9b2d64, type: 3} 23 | -------------------------------------------------------------------------------- /GameKit/Core/Resources/ScriptableObjects/ResourceData/Log_ResourceData.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d8ca8a27764ab8f4a9ed6441ca14475a 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 11400000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /GameKit/Core/Resources/ScriptableObjects/ResourceData/Orange Elixir_ResourceData.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &11400000 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInstance: {fileID: 0} 8 | m_PrefabAsset: {fileID: 0} 9 | m_GameObject: {fileID: 0} 10 | m_Enabled: 1 11 | m_EditorHideFlags: 0 12 | m_Script: {fileID: 11500000, guid: 2918aa4b5d3dd8945a61e83592837c8e, type: 3} 13 | m_Name: Orange Elixir_ResourceData 14 | m_EditorClassIdentifier: 15 | Enabled: 1 16 | StackLimit: 5 17 | QuantityLimit: 65535 18 | IsBaggable: 1 19 | Category: 4 20 | DisplayName: Orange Elixir 21 | Description: Oh, you mixed the thing! 22 | Icon: {fileID: 471749365, guid: de7fd6530fc3868488a3da464c9b2d64, type: 3} 23 | -------------------------------------------------------------------------------- /GameKit/Core/Resources/ScriptableObjects/ResourceData/Orange Elixir_ResourceData.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 128fb9fb65c2c8a45bcec69e81152056 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 11400000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /GameKit/Core/Resources/ScriptableObjects/ResourceData/Probably Toxic Dust_ResourceData.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &11400000 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInstance: {fileID: 0} 8 | m_PrefabAsset: {fileID: 0} 9 | m_GameObject: {fileID: 0} 10 | m_Enabled: 1 11 | m_EditorHideFlags: 0 12 | m_Script: {fileID: 11500000, guid: 2918aa4b5d3dd8945a61e83592837c8e, type: 3} 13 | m_Name: Probably Toxic Dust_ResourceData 14 | m_EditorClassIdentifier: 15 | Enabled: 1 16 | StackLimit: 20 17 | QuantityLimit: 65535 18 | IsBaggable: 1 19 | Category: 3 20 | DisplayName: Probably Toxic Dust 21 | Description: Not your grandpa's Tumeric. 22 | Icon: {fileID: -1845184590, guid: de7fd6530fc3868488a3da464c9b2d64, type: 3} 23 | -------------------------------------------------------------------------------- /GameKit/Core/Resources/ScriptableObjects/ResourceData/Probably Toxic Dust_ResourceData.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 519aa7b5772b32e4eb69af78efc216eb 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 11400000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /GameKit/Core/Resources/ScriptableObjects/ResourceData/Rope_ResourceData.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &11400000 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInstance: {fileID: 0} 8 | m_PrefabAsset: {fileID: 0} 9 | m_GameObject: {fileID: 0} 10 | m_Enabled: 1 11 | m_EditorHideFlags: 0 12 | m_Script: {fileID: 11500000, guid: 2918aa4b5d3dd8945a61e83592837c8e, type: 3} 13 | m_Name: Rope_ResourceData 14 | m_EditorClassIdentifier: 15 | Enabled: 1 16 | StackLimit: 10 17 | QuantityLimit: 65535 18 | IsBaggable: 1 19 | Category: 3 20 | DisplayName: Rope 21 | Description: 'A handy person always has rope. 22 | 23 | And saws, and a torch, and drills. 24 | 25 | Honestly, 26 | you can never really have enough tools!' 27 | Icon: {fileID: 1304250086, guid: de7fd6530fc3868488a3da464c9b2d64, type: 3} 28 | -------------------------------------------------------------------------------- /GameKit/Core/Resources/ScriptableObjects/ResourceData/Rope_ResourceData.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9b7eeb25a77dfbc4888bed7329aa165c 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 11400000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /GameKit/Core/Resources/ScriptableObjects/ResourceData/Stone_ResourceData.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &11400000 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInstance: {fileID: 0} 8 | m_PrefabAsset: {fileID: 0} 9 | m_GameObject: {fileID: 0} 10 | m_Enabled: 1 11 | m_EditorHideFlags: 0 12 | m_Script: {fileID: 11500000, guid: 2918aa4b5d3dd8945a61e83592837c8e, type: 3} 13 | m_Name: Stone_ResourceData 14 | m_EditorClassIdentifier: 15 | Enabled: 1 16 | StackLimit: 3 17 | QuantityLimit: 65535 18 | IsBaggable: 1 19 | Category: 2 20 | DisplayName: Stone 21 | Description: Sticks and stones may break my bones, so please let's not get violent. 22 | Icon: {fileID: 1625063731, guid: de7fd6530fc3868488a3da464c9b2d64, type: 3} 23 | -------------------------------------------------------------------------------- /GameKit/Core/Resources/ScriptableObjects/ResourceData/Stone_ResourceData.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 69de988c276da234db9296bcc59cf945 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 11400000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /GameKit/Core/Textures.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9d1b169f1b252154192b5428599c10bd 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /GameKit/Core/Textures/Canvases.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 48259a2dcd7d4cd4d9b3f400d1b6edd0 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /GameKit/Core/Textures/Canvases/GUI.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a957a67a46c13fc4896c247b570581f4 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /GameKit/Core/Textures/Canvases/GUI/Frame_Grid.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FirstGearGames/GameKit/3d82ad6a7a527cb41236b223ac981c8edee652d2/GameKit/Core/Textures/Canvases/GUI/Frame_Grid.png -------------------------------------------------------------------------------- /GameKit/Core/Textures/Canvases/GUI/Frame_big.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FirstGearGames/GameKit/3d82ad6a7a527cb41236b223ac981c8edee652d2/GameKit/Core/Textures/Canvases/GUI/Frame_big.png -------------------------------------------------------------------------------- /GameKit/Core/Textures/Canvases/GUI/Frame_mid.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FirstGearGames/GameKit/3d82ad6a7a527cb41236b223ac981c8edee652d2/GameKit/Core/Textures/Canvases/GUI/Frame_mid.png -------------------------------------------------------------------------------- /GameKit/Core/Textures/Canvases/GUI/Frame_mid_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FirstGearGames/GameKit/3d82ad6a7a527cb41236b223ac981c8edee652d2/GameKit/Core/Textures/Canvases/GUI/Frame_mid_2.png -------------------------------------------------------------------------------- /GameKit/Core/Textures/Canvases/GUI/Hp_frame.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FirstGearGames/GameKit/3d82ad6a7a527cb41236b223ac981c8edee652d2/GameKit/Core/Textures/Canvases/GUI/Hp_frame.png -------------------------------------------------------------------------------- /GameKit/Core/Textures/Canvases/GUI/Hp_line.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FirstGearGames/GameKit/3d82ad6a7a527cb41236b223ac981c8edee652d2/GameKit/Core/Textures/Canvases/GUI/Hp_line.png -------------------------------------------------------------------------------- /GameKit/Core/Textures/Canvases/GUI/Mini_background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FirstGearGames/GameKit/3d82ad6a7a527cb41236b223ac981c8edee652d2/GameKit/Core/Textures/Canvases/GUI/Mini_background.png -------------------------------------------------------------------------------- /GameKit/Core/Textures/Canvases/GUI/Mini_frame0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FirstGearGames/GameKit/3d82ad6a7a527cb41236b223ac981c8edee652d2/GameKit/Core/Textures/Canvases/GUI/Mini_frame0.png -------------------------------------------------------------------------------- /GameKit/Core/Textures/Canvases/GUI/Mini_frame1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FirstGearGames/GameKit/3d82ad6a7a527cb41236b223ac981c8edee652d2/GameKit/Core/Textures/Canvases/GUI/Mini_frame1.png -------------------------------------------------------------------------------- /GameKit/Core/Textures/Canvases/GUI/Mini_frame2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FirstGearGames/GameKit/3d82ad6a7a527cb41236b223ac981c8edee652d2/GameKit/Core/Textures/Canvases/GUI/Mini_frame2.png -------------------------------------------------------------------------------- /GameKit/Core/Textures/Canvases/GUI/Scroll Handle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FirstGearGames/GameKit/3d82ad6a7a527cb41236b223ac981c8edee652d2/GameKit/Core/Textures/Canvases/GUI/Scroll Handle.png -------------------------------------------------------------------------------- /GameKit/Core/Textures/Canvases/GUI/Slim_Border_Plate.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FirstGearGames/GameKit/3d82ad6a7a527cb41236b223ac981c8edee652d2/GameKit/Core/Textures/Canvases/GUI/Slim_Border_Plate.png -------------------------------------------------------------------------------- /GameKit/Core/Textures/Canvases/GUI/bar_ready.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FirstGearGames/GameKit/3d82ad6a7a527cb41236b223ac981c8edee652d2/GameKit/Core/Textures/Canvases/GUI/bar_ready.png -------------------------------------------------------------------------------- /GameKit/Core/Textures/Canvases/GUI/barmid_ready.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FirstGearGames/GameKit/3d82ad6a7a527cb41236b223ac981c8edee652d2/GameKit/Core/Textures/Canvases/GUI/barmid_ready.png -------------------------------------------------------------------------------- /GameKit/Core/Textures/Canvases/GUI/big_background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FirstGearGames/GameKit/3d82ad6a7a527cb41236b223ac981c8edee652d2/GameKit/Core/Textures/Canvases/GUI/big_background.png -------------------------------------------------------------------------------- /GameKit/Core/Textures/Canvases/GUI/big_roundframe.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FirstGearGames/GameKit/3d82ad6a7a527cb41236b223ac981c8edee652d2/GameKit/Core/Textures/Canvases/GUI/big_roundframe.png -------------------------------------------------------------------------------- /GameKit/Core/Textures/Canvases/GUI/button.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FirstGearGames/GameKit/3d82ad6a7a527cb41236b223ac981c8edee652d2/GameKit/Core/Textures/Canvases/GUI/button.png -------------------------------------------------------------------------------- /GameKit/Core/Textures/Canvases/GUI/button2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FirstGearGames/GameKit/3d82ad6a7a527cb41236b223ac981c8edee652d2/GameKit/Core/Textures/Canvases/GUI/button2.png -------------------------------------------------------------------------------- /GameKit/Core/Textures/Canvases/GUI/button2_ready_off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FirstGearGames/GameKit/3d82ad6a7a527cb41236b223ac981c8edee652d2/GameKit/Core/Textures/Canvases/GUI/button2_ready_off.png -------------------------------------------------------------------------------- /GameKit/Core/Textures/Canvases/GUI/button2_ready_on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FirstGearGames/GameKit/3d82ad6a7a527cb41236b223ac981c8edee652d2/GameKit/Core/Textures/Canvases/GUI/button2_ready_on.png -------------------------------------------------------------------------------- /GameKit/Core/Textures/Canvases/GUI/button3_ready.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FirstGearGames/GameKit/3d82ad6a7a527cb41236b223ac981c8edee652d2/GameKit/Core/Textures/Canvases/GUI/button3_ready.png -------------------------------------------------------------------------------- /GameKit/Core/Textures/Canvases/GUI/button_agree.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FirstGearGames/GameKit/3d82ad6a7a527cb41236b223ac981c8edee652d2/GameKit/Core/Textures/Canvases/GUI/button_agree.png -------------------------------------------------------------------------------- /GameKit/Core/Textures/Canvases/GUI/button_cancel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FirstGearGames/GameKit/3d82ad6a7a527cb41236b223ac981c8edee652d2/GameKit/Core/Textures/Canvases/GUI/button_cancel.png -------------------------------------------------------------------------------- /GameKit/Core/Textures/Canvases/GUI/button_frame.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FirstGearGames/GameKit/3d82ad6a7a527cb41236b223ac981c8edee652d2/GameKit/Core/Textures/Canvases/GUI/button_frame.png -------------------------------------------------------------------------------- /GameKit/Core/Textures/Canvases/GUI/button_ready_off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FirstGearGames/GameKit/3d82ad6a7a527cb41236b223ac981c8edee652d2/GameKit/Core/Textures/Canvases/GUI/button_ready_off.png -------------------------------------------------------------------------------- /GameKit/Core/Textures/Canvases/GUI/button_ready_on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FirstGearGames/GameKit/3d82ad6a7a527cb41236b223ac981c8edee652d2/GameKit/Core/Textures/Canvases/GUI/button_ready_on.png -------------------------------------------------------------------------------- /GameKit/Core/Textures/Canvases/GUI/lil_roundbackground.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FirstGearGames/GameKit/3d82ad6a7a527cb41236b223ac981c8edee652d2/GameKit/Core/Textures/Canvases/GUI/lil_roundbackground.png -------------------------------------------------------------------------------- /GameKit/Core/Textures/Canvases/GUI/lil_roundframe.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FirstGearGames/GameKit/3d82ad6a7a527cb41236b223ac981c8edee652d2/GameKit/Core/Textures/Canvases/GUI/lil_roundframe.png -------------------------------------------------------------------------------- /GameKit/Core/Textures/Canvases/GUI/lil_roundframe_light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FirstGearGames/GameKit/3d82ad6a7a527cb41236b223ac981c8edee652d2/GameKit/Core/Textures/Canvases/GUI/lil_roundframe_light.png -------------------------------------------------------------------------------- /GameKit/Core/Textures/Canvases/GUI/lil_roundframe_ready.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FirstGearGames/GameKit/3d82ad6a7a527cb41236b223ac981c8edee652d2/GameKit/Core/Textures/Canvases/GUI/lil_roundframe_ready.png -------------------------------------------------------------------------------- /GameKit/Core/Textures/Canvases/GUI/lil_roundframe_ready2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FirstGearGames/GameKit/3d82ad6a7a527cb41236b223ac981c8edee652d2/GameKit/Core/Textures/Canvases/GUI/lil_roundframe_ready2.png -------------------------------------------------------------------------------- /GameKit/Core/Textures/Canvases/GUI/mid_background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FirstGearGames/GameKit/3d82ad6a7a527cb41236b223ac981c8edee652d2/GameKit/Core/Textures/Canvases/GUI/mid_background.png -------------------------------------------------------------------------------- /GameKit/Core/Textures/Canvases/GUI/mini_bar_h.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FirstGearGames/GameKit/3d82ad6a7a527cb41236b223ac981c8edee652d2/GameKit/Core/Textures/Canvases/GUI/mini_bar_h.png -------------------------------------------------------------------------------- /GameKit/Core/Textures/Canvases/GUI/mini_bar_v.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FirstGearGames/GameKit/3d82ad6a7a527cb41236b223ac981c8edee652d2/GameKit/Core/Textures/Canvases/GUI/mini_bar_v.png -------------------------------------------------------------------------------- /GameKit/Core/Textures/Canvases/GUI/name_bar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FirstGearGames/GameKit/3d82ad6a7a527cb41236b223ac981c8edee652d2/GameKit/Core/Textures/Canvases/GUI/name_bar.png -------------------------------------------------------------------------------- /GameKit/Core/Textures/Canvases/GUI/name_bar2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FirstGearGames/GameKit/3d82ad6a7a527cb41236b223ac981c8edee652d2/GameKit/Core/Textures/Canvases/GUI/name_bar2.png -------------------------------------------------------------------------------- /GameKit/Core/Textures/Canvases/GUI/name_bar3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FirstGearGames/GameKit/3d82ad6a7a527cb41236b223ac981c8edee652d2/GameKit/Core/Textures/Canvases/GUI/name_bar3.png -------------------------------------------------------------------------------- /GameKit/Core/Textures/Canvases/GUI/warrior_silhouette_man.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FirstGearGames/GameKit/3d82ad6a7a527cb41236b223ac981c8edee652d2/GameKit/Core/Textures/Canvases/GUI/warrior_silhouette_man.png -------------------------------------------------------------------------------- /GameKit/Core/Textures/Canvases/GUI/warrior_silhouette_woman.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FirstGearGames/GameKit/3d82ad6a7a527cb41236b223ac981c8edee652d2/GameKit/Core/Textures/Canvases/GUI/warrior_silhouette_woman.png -------------------------------------------------------------------------------- /GameKit/Core/Textures/Canvases/Icons.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 036595ac03790ba48b5017ed8191039a 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /GameKit/Core/Textures/Canvases/Icons/Shikashi's Fantasy Icons Pack.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 90cc37ffe4cd7a941826f252c04d35ca 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /GameKit/Core/Textures/Canvases/Icons/Shikashi's Fantasy Icons Pack/#2 - Transparent Icons & Drop Shadow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FirstGearGames/GameKit/3d82ad6a7a527cb41236b223ac981c8edee652d2/GameKit/Core/Textures/Canvases/Icons/Shikashi's Fantasy Icons Pack/#2 - Transparent Icons & Drop Shadow.png -------------------------------------------------------------------------------- /GameKit/Core/Textures/Canvases/Icons/Shikashi's Fantasy Icons Pack/Shikashi's Fantasy Icons Pack.txt.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 747c9ab7226251147ace0833448df71a 3 | TextScriptImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /GameKit/Core/Textures/WhiteDot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FirstGearGames/GameKit/3d82ad6a7a527cb41236b223ac981c8edee652d2/GameKit/Core/Textures/WhiteDot.png -------------------------------------------------------------------------------- /GameKit/Core/Utilities.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e884f30512df5a94f9ab4731bf86de9c 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /GameKit/Core/Utilities/DatasLoader.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 42bda8c7c6d3926408b57fd03262135b 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Core/Utilities/Keybinds.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fa8222ed6e24c1c4499132c8f2fe918e 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Dependencies.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cd9a0ca39fab66c448fdc3e25da9d482 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /GameKit/Dependencies/Editor.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e92e9b5fef66ccb4d991a260767c3be4 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /GameKit/Dependencies/Editor/PlaceholderAttributes.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using UnityEngine; 3 | 4 | namespace Sirenix.OdinInspector 5 | { 6 | #if !ODIN_INSPECTOR 7 | 8 | public enum ButtonSizes 9 | { 10 | Large 11 | } 12 | 13 | public class TabGroupAttribute : PropertyAttribute 14 | { 15 | public TabGroupAttribute(string name, bool foldEverything = false) { } 16 | } 17 | 18 | public class BoxGroupAttribute : PropertyAttribute 19 | { 20 | public BoxGroupAttribute(string name) { } 21 | } 22 | 23 | public class PropertySpaceAttribute : Attribute 24 | { 25 | public PropertySpaceAttribute() { } 26 | } 27 | 28 | 29 | public class IndentAttribute : PropertyAttribute 30 | { 31 | public IndentAttribute(int value) { } 32 | } 33 | 34 | public class ButtonAttribute : Attribute 35 | { 36 | 37 | public ButtonAttribute(string label, ButtonSizes size) { } 38 | } 39 | public class ShowIfAttribute : PropertyAttribute 40 | { 41 | public enum DisablingType 42 | { 43 | ReadOnly = 2, 44 | DontDraw = 3 45 | } 46 | 47 | public ShowIfAttribute(string comparedPropertyName, object comparedValue, DisablingType disablingType = DisablingType.DontDraw) { } 48 | } 49 | 50 | #endif 51 | } -------------------------------------------------------------------------------- /GameKit/Dependencies/Editor/PlaceholderAttributes.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8d18dbd89f49c7a4888bbc0e330675a9 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Dependencies/GameKit.Dependencies.asmdef: -------------------------------------------------------------------------------- 1 | { 2 | "name": "GameKit.Dependencies", 3 | "rootNamespace": "", 4 | "references": [ 5 | "GUID:6055be8ebefd69e48b49212b09b47b2f" 6 | ], 7 | "includePlatforms": [], 8 | "excludePlatforms": [], 9 | "allowUnsafeCode": false, 10 | "overrideReferences": false, 11 | "precompiledReferences": [], 12 | "autoReferenced": true, 13 | "defineConstraints": [], 14 | "versionDefines": [ 15 | { 16 | "name": "com.unity.textmeshpro", 17 | "expression": "", 18 | "define": "TEXTMESHPRO" 19 | } 20 | ], 21 | "noEngineReferences": false 22 | } -------------------------------------------------------------------------------- /GameKit/Dependencies/GameKit.Dependencies.asmdef.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1d82bdf40e2465b44b34adf79595e74c 3 | AssemblyDefinitionImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /GameKit/Dependencies/Inspectors.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c8ce00cde8ada214fb582a92539f14b9 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /GameKit/Dependencies/Inspectors/BoxGroupAttribute.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace GameKit.Dependencies.Inspectors 4 | { 5 | 6 | #if !ODIN_INSPECTOR 7 | public class BoxGroupAttribute : Attribute 8 | { 9 | public BoxGroupAttribute(string name) { } 10 | public BoxGroupAttribute(string name, int index) { } 11 | } 12 | #endif 13 | 14 | 15 | } 16 | -------------------------------------------------------------------------------- /GameKit/Dependencies/Inspectors/BoxGroupAttribute.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2333f572d99fd5c4b83114ecf7ad6da8 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Dependencies/Inspectors/Group.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b43a8f6c3cc189c40ae6b248e76e2788 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /GameKit/Dependencies/Inspectors/Group/Editor.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c197d238762d66b41927449d5c48b3f4 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /GameKit/Dependencies/Inspectors/Group/Editor/EditorOverride.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 428419a625f80f6438c5b74beb2ac763 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Dependencies/Inspectors/Group/Editor/Resources.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bce51828adfc9b540b10914a9ec82c31 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /GameKit/Dependencies/Inspectors/Group/Editor/Resources/IN foldout focus on-5718.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FirstGearGames/GameKit/3d82ad6a7a527cb41236b223ac981c8edee652d2/GameKit/Dependencies/Inspectors/Group/Editor/Resources/IN foldout focus on-5718.png -------------------------------------------------------------------------------- /GameKit/Dependencies/Inspectors/Group/Editor/Resources/IN foldout focus-6510.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FirstGearGames/GameKit/3d82ad6a7a527cb41236b223ac981c8edee652d2/GameKit/Dependencies/Inspectors/Group/Editor/Resources/IN foldout focus-6510.png -------------------------------------------------------------------------------- /GameKit/Dependencies/Inspectors/Group/GroupAttribute.cs: -------------------------------------------------------------------------------- 1 | // Project : UNITY FOLDOUT 2 | // Contacts : Pix - ask@pixeye.games 3 | // https://github.com/PixeyeHQ/InspectorFoldoutGroup 4 | // MIT license https://github.com/PixeyeHQ/InspectorFoldoutGroup/blob/master/LICENSE 5 | 6 | using System; 7 | using UnityEngine; 8 | 9 | namespace GameKit.Dependencies.Inspectors 10 | { 11 | public class GroupAttribute : PropertyAttribute 12 | { 13 | public string name; 14 | public bool foldEverything; 15 | 16 | /// Adds the property to the specified foldout group. 17 | /// Name of the foldout group. 18 | /// Toggle to put all properties to the specified group 19 | public GroupAttribute(string name, bool foldEverything = false) 20 | { 21 | this.foldEverything = foldEverything; 22 | this.name = name; 23 | } 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /GameKit/Dependencies/Inspectors/Group/GroupAttribute.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e3c02d1d5545ae54687d1a313ebb2fd6 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Dependencies/Inspectors/ShowIf.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 102b5a2337dae434f989eee1a6a1c571 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /GameKit/Dependencies/Inspectors/ShowIf/Editor.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a8361a4f779768242840a9c994392e20 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /GameKit/Dependencies/Inspectors/ShowIf/Editor/ShowIfProperty.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1266c8c8d104aeb4faf3f1daaee87479 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Dependencies/Inspectors/ShowIf/ShowIfAttribute.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 203e832301eed08499198358cfd13e7d 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Dependencies/Utilities.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 53002e457d153bf49aad4b2b28d4353c 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /GameKit/Dependencies/Utilities/ApplicationState.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 54eb82a57a65e8548b57f5ca2a62bb76 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Dependencies/Utilities/Arrays.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1b93eae9ff81b3e4b892128ca4b392ed 3 | timeCreated: 1530140103 4 | licenseType: Free 5 | MonoImporter: 6 | externalObjects: {} 7 | serializedVersion: 2 8 | defaultReferences: [] 9 | executionOrder: 0 10 | icon: {instanceID: 0} 11 | userData: 12 | assetBundleName: 13 | assetBundleVariant: 14 | -------------------------------------------------------------------------------- /GameKit/Dependencies/Utilities/Bools.cs: -------------------------------------------------------------------------------- 1 | 2 | namespace GameKit.Dependencies.Utilities 3 | { 4 | public static class Booleans 5 | { 6 | /// 7 | /// Converts a boolean to an integer, 1 for true 0 for false. 8 | /// 9 | public static int ToInt(this bool b) 10 | { 11 | return (b) ? 1 : 0; 12 | } 13 | } 14 | 15 | } -------------------------------------------------------------------------------- /GameKit/Dependencies/Utilities/Bools.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 602eeac4b016b174f90ae5e85254ac86 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Dependencies/Utilities/Bytes.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 26489022ceafbfe4d85bfd5cccf37303 3 | timeCreated: 1527268448 4 | licenseType: Free 5 | MonoImporter: 6 | externalObjects: {} 7 | serializedVersion: 2 8 | defaultReferences: [] 9 | executionOrder: 0 10 | icon: {instanceID: 0} 11 | userData: 12 | assetBundleName: 13 | assetBundleVariant: 14 | -------------------------------------------------------------------------------- /GameKit/Dependencies/Utilities/CanvasGroups.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c0e7937b287d3d24d807a115c1a3a464 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Dependencies/Utilities/Colliders.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 29e69fa855dd3634d9e66313e7748db4 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Dependencies/Utilities/Dictionaries.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9d31d19bc39eb6041bad18d8eb68ed68 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Dependencies/Utilities/Disks.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a3a909760282d284591c20c873f20837 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Dependencies/Utilities/Editing.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: dd42f76391fc1254f82767dbf1a4bc8b 3 | timeCreated: 1525378031 4 | licenseType: Free 5 | MonoImporter: 6 | externalObjects: {} 7 | serializedVersion: 2 8 | defaultReferences: [] 9 | executionOrder: 0 10 | icon: {instanceID: 0} 11 | userData: 12 | assetBundleName: 13 | assetBundleVariant: 14 | -------------------------------------------------------------------------------- /GameKit/Dependencies/Utilities/Enums.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e6c66aec505f9254491b2b126a2d4745 3 | timeCreated: 1522959833 4 | licenseType: Free 5 | MonoImporter: 6 | externalObjects: {} 7 | serializedVersion: 2 8 | defaultReferences: [] 9 | executionOrder: 0 10 | icon: {instanceID: 0} 11 | userData: 12 | assetBundleName: 13 | assetBundleVariant: 14 | -------------------------------------------------------------------------------- /GameKit/Dependencies/Utilities/Floats.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4ab517aa5c3b6e34ca20461339adda04 3 | timeCreated: 1526172456 4 | licenseType: Free 5 | MonoImporter: 6 | externalObjects: {} 7 | serializedVersion: 2 8 | defaultReferences: [] 9 | executionOrder: 0 10 | icon: {instanceID: 0} 11 | userData: 12 | assetBundleName: 13 | assetBundleVariant: 14 | -------------------------------------------------------------------------------- /GameKit/Dependencies/Utilities/Hashing.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7be723c9549bdd041ac1dc8e8c6d2d18 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Dependencies/Utilities/IOs.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b1994e262a1e963479497289602e4461 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Dependencies/Utilities/Ints.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c673118198f5c4b41986d52762828363 3 | timeCreated: 1527268448 4 | licenseType: Free 5 | MonoImporter: 6 | externalObjects: {} 7 | serializedVersion: 2 8 | defaultReferences: [] 9 | executionOrder: 0 10 | icon: {instanceID: 0} 11 | userData: 12 | assetBundleName: 13 | assetBundleVariant: 14 | -------------------------------------------------------------------------------- /GameKit/Dependencies/Utilities/Layers.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1c18e15e44d21a94d8919f4b6b125a1f 3 | timeCreated: 1522349045 4 | licenseType: Free 5 | MonoImporter: 6 | externalObjects: {} 7 | serializedVersion: 2 8 | defaultReferences: [] 9 | executionOrder: 0 10 | icon: {instanceID: 0} 11 | userData: 12 | assetBundleName: 13 | assetBundleVariant: 14 | -------------------------------------------------------------------------------- /GameKit/Dependencies/Utilities/LayoutGroups.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using UnityEngine.UI; 3 | 4 | namespace GameKit.Dependencies.Utilities 5 | { 6 | 7 | public static class LayoutGroups 8 | { 9 | /// 10 | /// Returns how many entries can fit into a GridLayoutGroup 11 | /// 12 | public static int EntriesPerWidth(this GridLayoutGroup lg) 13 | { 14 | RectTransform rectTransform = lg.GetComponent(); 15 | return Mathf.CeilToInt(rectTransform.rect.width / lg.cellSize.x); 16 | } 17 | 18 | } 19 | 20 | } -------------------------------------------------------------------------------- /GameKit/Dependencies/Utilities/LayoutGroups.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e330113395c59ca4dba5de001e010f08 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Dependencies/Utilities/Materials.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | 3 | namespace GameKit.Dependencies.Utilities 4 | { 5 | 6 | public static class Materials 7 | { 8 | /// 9 | /// Returns the color or tint color property for a material. 10 | /// 11 | /// 12 | /// 13 | public static Color GetColor(this Material material) 14 | { 15 | if (material.HasProperty("_Color")) 16 | return material.color; 17 | else if (material.HasProperty("_TintColor")) 18 | return material.GetColor("_TintColor"); 19 | 20 | return Color.white; 21 | } 22 | 23 | /// 24 | /// Sets the color or tint color property for a material. 25 | /// 26 | /// 27 | public static void SetColor(this Material material, Color color) 28 | { 29 | if (material.HasProperty("_Color")) 30 | material.color = color; 31 | else if (material.HasProperty("_TintColor")) 32 | material.SetColor("_TintColor", color); 33 | } 34 | } 35 | 36 | } -------------------------------------------------------------------------------- /GameKit/Dependencies/Utilities/Materials.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 27a618c551d5fdb4ca70bf07e1905580 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Dependencies/Utilities/Maths.cs: -------------------------------------------------------------------------------- 1 | namespace GameKit.Dependencies.Utilities 2 | { 3 | public static class Maths 4 | { 5 | /// 6 | /// Returns a clamped SBytte. 7 | /// 8 | public static sbyte ClampSByte(long value, sbyte min, sbyte max) 9 | { 10 | if (value < min) 11 | return min; 12 | else if (value > max) 13 | return max; 14 | else 15 | return (sbyte)value; 16 | } 17 | 18 | /// 19 | /// Returns a clamped double. 20 | /// 21 | public static double ClampDouble(double value, double min, double max) 22 | { 23 | if (value < min) 24 | return min; 25 | else if (value > max) 26 | return max; 27 | else 28 | return value; 29 | } 30 | 31 | /// 32 | /// Returns a clamped byte. 33 | /// 34 | public static byte ClampByte(byte value, byte min, byte max) 35 | { 36 | if (value < min) 37 | return min; 38 | else if (value > max) 39 | return max; 40 | else 41 | return value; 42 | } 43 | } 44 | } -------------------------------------------------------------------------------- /GameKit/Dependencies/Utilities/Maths.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 18a583dc22a9a0f4cabec0c4a0219c6e 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Dependencies/Utilities/NewInput.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ea6d91237dc169249b4a375e7e9eef00 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Dependencies/Utilities/ObjectCaching.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3cb13274f7491a941b6e89a767905f56 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Dependencies/Utilities/Objects.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4fa6d28a28dbf6b4295602abad3de328 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Dependencies/Utilities/Particles.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5f3d973dcfa06554998575e8eef0938a 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Dependencies/Utilities/Quaternions.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 02a9084f4f788cd4293cdff56a49b5dd 3 | timeCreated: 1522043602 4 | licenseType: Free 5 | MonoImporter: 6 | externalObjects: {} 7 | serializedVersion: 2 8 | defaultReferences: [] 9 | executionOrder: 0 10 | icon: {instanceID: 0} 11 | userData: 12 | assetBundleName: 13 | assetBundleVariant: 14 | -------------------------------------------------------------------------------- /GameKit/Dependencies/Utilities/Strings.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b396f2be4de550a4e92b552650311600 3 | timeCreated: 1525378031 4 | licenseType: Free 5 | MonoImporter: 6 | externalObjects: {} 7 | serializedVersion: 2 8 | defaultReferences: [] 9 | executionOrder: 0 10 | icon: {instanceID: 0} 11 | userData: 12 | assetBundleName: 13 | assetBundleVariant: 14 | -------------------------------------------------------------------------------- /GameKit/Dependencies/Utilities/Transforms.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ba23540de73f58b458e7d7a200f3bb30 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Dependencies/Utilities/Types.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a29cd7621a70a044bb205cc8cfd96b3c 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /GameKit/Dependencies/Utilities/Types/BasicQueue.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f966ec63b499e77438c185b2870595cd 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Dependencies/Utilities/Types/ByteRange.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2756054f52fbd5d4cb1871b0dd6ff5b7 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Dependencies/Utilities/Types/CanvasGroupFader.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6aa7bd78c33474948b74e3c7a1d97454 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Dependencies/Utilities/Types/Canvases.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f04cb37e5f34ee749b8be696cb9c6ba3 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /GameKit/Dependencies/Utilities/Types/Canvases/ButtonData.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1baacd2a6a8a0e94b897c6b7176c7000 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Dependencies/Utilities/Types/Canvases/CanvasTracker.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bd8ee85ef5b290246b270cefc7f018ca 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Dependencies/Utilities/Types/Canvases/FloatingContainer.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f1fcd998728ace94ea809c34ad0d09e8 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Dependencies/Utilities/Types/Canvases/FloatingImage.cs: -------------------------------------------------------------------------------- 1 | 2 | using Sirenix.OdinInspector; 3 | using UnityEngine; 4 | using UnityEngine.UI; 5 | 6 | namespace GameKit.Dependencies.Utilities.Types.CanvasContainers 7 | { 8 | 9 | public class FloatingImage : FloatingContainer 10 | { 11 | /// 12 | /// Renderer to apply sprite on. 13 | /// 14 | [Tooltip("Renderer to apply sprite on.")] 15 | [SerializeField, TabGroup("Components")] 16 | protected Image Renderer; 17 | 18 | /// 19 | /// Sets which sprite to use. 20 | /// 21 | /// Sprite to use. 22 | /// When has value the renderer will be set to this size. Otherwise, the size of the sprite will be used. This value assumes the sprite anchors are set to center. 23 | public virtual void SetSprite(Sprite sprite, Vector3? sizeOverride) 24 | { 25 | Renderer.sprite = sprite; 26 | Vector3 size = (sizeOverride == null) 27 | ? (sprite.bounds.size * sprite.pixelsPerUnit) 28 | : sizeOverride.Value; 29 | 30 | Renderer.rectTransform.sizeDelta = size; 31 | } 32 | 33 | } 34 | 35 | 36 | } -------------------------------------------------------------------------------- /GameKit/Dependencies/Utilities/Types/Canvases/FloatingImage.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2169e34ec7dd63a4e99b5cc89fd0e966 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Dependencies/Utilities/Types/Canvases/FloatingOptions.cs: -------------------------------------------------------------------------------- 1 | using GameKit.Dependencies.Utilities.Types.CanvasContainers; 2 | using System.Collections.Generic; 3 | 4 | 5 | namespace GameKit.Dependencies.Utilities.Types.OptionMenuButtons 6 | { 7 | 8 | public class FloatingOptions : CanvasGroupFader 9 | { 10 | #region Protected. 11 | /// 12 | /// Current buttons. 13 | /// 14 | protected List Buttons = new(); 15 | #endregion 16 | 17 | /// 18 | /// Adds buttons. 19 | /// 20 | /// True to clear existing buttons first. 21 | /// Buttons to add. 22 | protected virtual void AddButtons(bool clearExisting, IEnumerable buttonDatas) 23 | { 24 | if (clearExisting) 25 | RemoveButtons(); 26 | foreach (ButtonData item in buttonDatas) 27 | Buttons.Add(item); 28 | } 29 | 30 | /// 31 | /// Removes all buttons. 32 | /// 33 | protected virtual void RemoveButtons() 34 | { 35 | foreach (ButtonData item in Buttons) 36 | ResettableObjectCaches.Store(item); 37 | Buttons.Clear(); 38 | } 39 | 40 | 41 | } 42 | 43 | 44 | } -------------------------------------------------------------------------------- /GameKit/Dependencies/Utilities/Types/Canvases/FloatingOptions.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cbc5b08db621303449f60b59f56eac92 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Dependencies/Utilities/Types/Canvases/ImageButtonData.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using UnityEngine; 3 | 4 | namespace GameKit.Dependencies.Utilities.Types.CanvasContainers 5 | { 6 | public class ImageButtonData : ButtonData 7 | { 8 | #region Public. 9 | /// 10 | /// Image to display. 11 | /// 12 | public Sprite DisplayImage { get; protected set; } = null; 13 | #endregion 14 | 15 | /// 16 | /// Initializes this for use. 17 | /// 18 | /// Image to use on the button. 19 | /// Text to display on the button. 20 | /// Callback when OnPressed is called. 21 | /// Optional key to include within the callback. 22 | public void Initialize(Sprite sprite, string text, PressedDelegate callback, string key = "") 23 | { 24 | base.Initialize(text, callback, key); 25 | DisplayImage = sprite; 26 | } 27 | 28 | public override void ResetState() 29 | { 30 | base.ResetState(); 31 | DisplayImage = null; 32 | } 33 | 34 | } 35 | 36 | 37 | } -------------------------------------------------------------------------------- /GameKit/Dependencies/Utilities/Types/Canvases/ImageButtonData.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d60e355b6d09be14487df1ed91e901b2 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Dependencies/Utilities/Types/Canvases/ImageOptionButton.cs: -------------------------------------------------------------------------------- 1 | #if TEXTMESHPRO 2 | using TMPro; 3 | using UnityEngine; 4 | using UnityEngine.UI; 5 | 6 | namespace GameKit.Dependencies.Utilities.Types.CanvasContainers 7 | { 8 | 9 | public class OptionMenuImageButton : OptionMenuButton 10 | { 11 | #region Serialized. 12 | /// 13 | /// Image component to show image on. 14 | /// 15 | [Tooltip("Image component to show image on.")] 16 | [SerializeField] 17 | private Image _image; 18 | #endregion 19 | 20 | public virtual void Initialize(ImageButtonData buttonData) 21 | { 22 | base.Initialize(buttonData); 23 | _image.sprite = buttonData.DisplayImage; 24 | } 25 | } 26 | 27 | 28 | } 29 | #endif -------------------------------------------------------------------------------- /GameKit/Dependencies/Utilities/Types/Canvases/ImageOptionButton.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2fee1d5cad375e84eaab6a4cd1d6e915 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Dependencies/Utilities/Types/Canvases/OptionButton.cs: -------------------------------------------------------------------------------- 1 | #if TEXTMESHPRO 2 | using TMPro; 3 | using UnityEngine; 4 | 5 | 6 | namespace GameKit.Dependencies.Utilities.Types.CanvasContainers 7 | { 8 | 9 | public class OptionMenuButton : MonoBehaviour 10 | { 11 | #region Public. 12 | /// 13 | /// ButtonData for this button. 14 | /// 15 | public ButtonData ButtonData { get; protected set; } 16 | #endregion 17 | 18 | #region Serialized. 19 | /// 20 | /// Text component to show button text. 21 | /// 22 | [Tooltip("Text component to show button text.")] 23 | [SerializeField] 24 | private TextMeshProUGUI _text; 25 | #endregion 26 | 27 | public virtual void Initialize(ButtonData buttonData) 28 | { 29 | ButtonData = buttonData; 30 | _text.text = buttonData.Text; 31 | } 32 | } 33 | 34 | 35 | } 36 | #endif -------------------------------------------------------------------------------- /GameKit/Dependencies/Utilities/Types/Canvases/OptionButton.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 22d4118a529704b49858d02b956dc48d 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Dependencies/Utilities/Types/Canvases/PressedDelegate.cs: -------------------------------------------------------------------------------- 1 | namespace GameKit.Dependencies.Utilities.Types.CanvasContainers 2 | { 3 | /// 4 | /// Delegate to invoke when an object is pressed. 5 | /// 6 | public delegate void PressedDelegateDel(string key); 7 | } -------------------------------------------------------------------------------- /GameKit/Dependencies/Utilities/Types/Canvases/PressedDelegate.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cba0f56afc846494b844bad5ab2bb349 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Dependencies/Utilities/Types/Canvases/PressedDelgateData.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | 3 | namespace GameKit.Dependencies.Utilities.Types.CanvasContainers 4 | { 5 | public struct PressedDelegateData 6 | { 7 | #region Public. 8 | 9 | /// 10 | /// Callback to use. 11 | /// 12 | public PressedDelegateDel Callback; 13 | 14 | /// 15 | /// Key for the callback. 16 | /// 17 | public string Key; 18 | 19 | #endregion 20 | 21 | public PressedDelegateData(PressedDelegateDel callback) 22 | { 23 | Callback = callback; 24 | Key = string.Empty; 25 | } 26 | public PressedDelegateData(PressedDelegateDel callback, string key) 27 | { 28 | Callback = callback; 29 | Key = key; 30 | } 31 | 32 | /// 33 | /// Invokes this if Callback is set. 34 | /// 35 | public void Invoke() 36 | { 37 | if (Callback != null) 38 | Callback.Invoke(Key); 39 | } 40 | } 41 | } -------------------------------------------------------------------------------- /GameKit/Dependencies/Utilities/Types/Canvases/PressedDelgateData.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d10d8e4368d73504b983845443552e93 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Dependencies/Utilities/Types/Canvases/RectTransformResizer.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c4b4655d59b39584faed638f43d4d287 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Dependencies/Utilities/Types/Canvases/ResizableContainer.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5764e627642cf5643a3f4518d450840e 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Dependencies/Utilities/Types/DDOL.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using UnityEngine; 3 | 4 | namespace GameKit.Dependencies.Utilities.Types 5 | { 6 | 7 | 8 | public class DDOL : MonoBehaviour 9 | { 10 | #region Public. 11 | /// 12 | /// Created instance of DDOL. 13 | /// 14 | private static DDOL _instance; 15 | #endregion 16 | 17 | /// 18 | /// Returns the current DDOL or creates one if not yet created. 19 | /// 20 | public static DDOL GetDDOL() 21 | { 22 | //Not yet made. 23 | if (_instance == null) 24 | { 25 | GameObject obj = new(); 26 | obj.name = "FirstGearGames DDOL"; 27 | DDOL ddol = obj.AddComponent(); 28 | DontDestroyOnLoad(ddol); 29 | _instance = ddol; 30 | return ddol; 31 | } 32 | //Already made. 33 | else 34 | { 35 | return _instance; 36 | } 37 | } 38 | } 39 | 40 | 41 | } -------------------------------------------------------------------------------- /GameKit/Dependencies/Utilities/Types/DDOL.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4e0b25628cfd4f241a22a7c0ee2b932f 3 | timeCreated: 1528404670 4 | licenseType: Free 5 | MonoImporter: 6 | externalObjects: {} 7 | serializedVersion: 2 8 | defaultReferences: [] 9 | executionOrder: 0 10 | icon: {instanceID: 0} 11 | userData: 12 | assetBundleName: 13 | assetBundleVariant: 14 | -------------------------------------------------------------------------------- /GameKit/Dependencies/Utilities/Types/Editor.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a4e1653f734aa924a947707391413c6c 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /GameKit/Dependencies/Utilities/Types/Editor/SceneDrawer.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c144891e57ef5054d9b7e03b82c00cf2 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Dependencies/Utilities/Types/FloatRange.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | 3 | namespace GameKit.Dependencies.Utilities.Types 4 | { 5 | 6 | 7 | [System.Serializable] 8 | public struct FloatRange 9 | { 10 | public FloatRange(float minimum, float maximum) 11 | { 12 | Minimum = minimum; 13 | Maximum = maximum; 14 | } 15 | /// 16 | /// Minimum range. 17 | /// 18 | public float Minimum; 19 | /// 20 | /// Maximum range. 21 | /// 22 | public float Maximum; 23 | 24 | /// 25 | /// Returns a random value between Minimum and Maximum. 26 | /// 27 | /// 28 | public float RandomInclusive() 29 | { 30 | return Floats.RandomInclusiveRange(Minimum, Maximum); 31 | } 32 | 33 | public float Lerp(float percent) 34 | { 35 | return Mathf.Lerp(Minimum, Maximum, percent); 36 | } 37 | } 38 | 39 | 40 | } -------------------------------------------------------------------------------- /GameKit/Dependencies/Utilities/Types/FloatRange.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 35d4414338c0ab248a1b838402887ac0 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Dependencies/Utilities/Types/FloatRange2D.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | 3 | namespace GameKit.Dependencies.Utilities.Types 4 | { 5 | 6 | 7 | [System.Serializable] 8 | 9 | public struct FloatRange2D 10 | { 11 | public FloatRange X; 12 | public FloatRange Y; 13 | 14 | public FloatRange2D(FloatRange x, FloatRange y) 15 | { 16 | X = x; 17 | Y = y; 18 | } 19 | 20 | 21 | public FloatRange2D(float xMin, float xMax, float yMin, float yMax) 22 | { 23 | X = new(xMin, xMax); 24 | Y = new(yMin, yMax); 25 | } 26 | 27 | public Vector2 Clamp(Vector2 original) 28 | { 29 | return new( 30 | ClampX(original.x), 31 | ClampY(original.y) 32 | ); 33 | } 34 | 35 | public Vector3 Clamp(Vector3 original) 36 | { 37 | return new( 38 | ClampX(original.x), 39 | ClampY(original.y), 40 | original.z 41 | ); 42 | } 43 | 44 | public float ClampX(float original) 45 | { 46 | return Mathf.Clamp(original, X.Minimum, X.Maximum); 47 | } 48 | 49 | public float ClampY(float original) 50 | { 51 | return Mathf.Clamp(original, Y.Minimum, Y.Maximum); 52 | } 53 | 54 | } 55 | 56 | 57 | 58 | } -------------------------------------------------------------------------------- /GameKit/Dependencies/Utilities/Types/FloatRange2D.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4a2c6d65e69e9154b8f99096ed3096dc 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Dependencies/Utilities/Types/IOrderable.cs: -------------------------------------------------------------------------------- 1 | namespace GameKit.Dependencies.Utilities.Types 2 | { 3 | 4 | public interface IOrderable 5 | { 6 | public int Order { get; } 7 | } 8 | 9 | 10 | } -------------------------------------------------------------------------------- /GameKit/Dependencies/Utilities/Types/IOrderable.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 310411b63c217834297f4b81bda8b175 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Dependencies/Utilities/Types/IntRange.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 16f03af589a154c47bcbcc3f82b710a6 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Dependencies/Utilities/Types/ObjectPooling.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 05bf45e6c53189b428920bb4f1f4244d 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /GameKit/Dependencies/Utilities/Types/ObjectPooling/CHANGELOG.txt: -------------------------------------------------------------------------------- 1 | 2020/09/22 2 | + Added demo scene. 3 | + You can now Store with a delay, which will behave similar to Destroy(obj, delay). -------------------------------------------------------------------------------- /GameKit/Dependencies/Utilities/Types/ObjectPooling/CHANGELOG.txt.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f20abb868e2b92a4d979359d81d97aa0 3 | TextScriptImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /GameKit/Dependencies/Utilities/Types/ObjectPooling/Demo.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d9e1126c6a21b924ebe296adf0d3e282 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /GameKit/Dependencies/Utilities/Types/ObjectPooling/Demo/Prefabs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: eb1d9debba52ef04999d361f88e67f06 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /GameKit/Dependencies/Utilities/Types/ObjectPooling/Demo/Prefabs/Projectile.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6ed8235e90a17434597bd75f8631dfe4 3 | PrefabImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /GameKit/Dependencies/Utilities/Types/ObjectPooling/Demo/Scenes.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4777e69010a7d0c4e92e16a1b690014a 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /GameKit/Dependencies/Utilities/Types/ObjectPooling/Demo/Scenes/ObjectPool.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 986fe9a85bd2d904fa3d44ac2c7bf0da 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /GameKit/Dependencies/Utilities/Types/ObjectPooling/Demo/Scripts.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 898e607de9d654d40a5fcdd6a6aff11c 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /GameKit/Dependencies/Utilities/Types/ObjectPooling/Demo/Scripts/Projectile.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 80e69d14230e52a45bba1fa6f40fd30c 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Dependencies/Utilities/Types/ObjectPooling/Demo/Scripts/ProjectileSpawner.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | 3 | namespace GameKit.Dependencies.Utilities.ObjectPooling.Examples 4 | { 5 | 6 | public class ProjectileSpawner : MonoBehaviour 7 | { 8 | public GameObject Prefab; 9 | public bool UsePool = true; 10 | 11 | public float _instantiateDelay = 0.075f; 12 | private float _nextInstantiate = 0f; 13 | 14 | // Update is called once per frame 15 | void Update() 16 | { 17 | if (Time.unscaledTime < _nextInstantiate) 18 | return; 19 | 20 | _nextInstantiate = Time.unscaledTime + _instantiateDelay; 21 | 22 | if (UsePool) 23 | { 24 | ObjectPool.Retrieve(Prefab, transform.position, Quaternion.identity); 25 | } 26 | else 27 | { 28 | Instantiate(Prefab, transform.position, Quaternion.identity); 29 | } 30 | } 31 | } 32 | 33 | 34 | } -------------------------------------------------------------------------------- /GameKit/Dependencies/Utilities/Types/ObjectPooling/Demo/Scripts/ProjectileSpawner.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 19304078402371645ac157640b97d523 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Dependencies/Utilities/Types/ObjectPooling/README.txt: -------------------------------------------------------------------------------- 1 | IMPORTANT: this project requires the following packages. 2 | - Fundamentals. 3 | 4 | 5 | Fast Object Pool 6 | ---------------- 7 | 8 | Setup: 9 | - Add ObjectPool to any object in your scene. 10 | - (Optional) Add ObjectPool under a DontDestroyOnLoad object for it to persist through scene changes. 11 | 12 | Usage: 13 | - Return objects by using ObjectPool.Retrieve(). 14 | - You may return types, such as scripts, by using ObjectPool.Retrieve(). 15 | - Send objects back to the pool using ObjectPool.Store(). You may also store using a delay, like as with Destroy(obj, delay). 16 | 17 | Notes: 18 | - All of Fast Object Pool Retrieve() methods mimic Unity Instantiate() overrides. 19 | -------------------------------------------------------------------------------- /GameKit/Dependencies/Utilities/Types/ObjectPooling/README.txt.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bc20ec02dbc4fea4aa15d8b2c132de4c 3 | TextScriptImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /GameKit/Dependencies/Utilities/Types/ObjectPooling/Scripts.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f82c3c8b428ad15498a91dbfd2f7ad87 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /GameKit/Dependencies/Utilities/Types/ObjectPooling/Scripts/ListStack.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5d88e910cb7436e44bf78505a26d77ed 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Dependencies/Utilities/Types/ObjectPooling/Scripts/ObjectPool.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ab8f6cec624bac24d8fcc6a7a27a07e8 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Dependencies/Utilities/Types/ObjectPooling/Scripts/PoolData.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f8b47752cc2784843b70d83bf47de090 3 | timeCreated: 1522106622 4 | licenseType: Free 5 | MonoImporter: 6 | externalObjects: {} 7 | serializedVersion: 2 8 | defaultReferences: [] 9 | executionOrder: 0 10 | icon: {instanceID: 0} 11 | userData: 12 | assetBundleName: 13 | assetBundleVariant: 14 | -------------------------------------------------------------------------------- /GameKit/Dependencies/Utilities/Types/PointerMonoBehaviour.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using UnityEngine.EventSystems; 3 | 4 | namespace GameKit.Dependencies.Utilities 5 | { 6 | public abstract class PointerMonoBehaviour : MonoBehaviour, IPointerEnterHandler, IPointerExitHandler, IPointerDownHandler, IPointerUpHandler 7 | { 8 | /// 9 | /// Called when the pointer enters this objects rect transform. 10 | /// 11 | public void OnPointerEnter(PointerEventData eventData) => OnHovered(true, eventData); 12 | 13 | /// 14 | /// Called when the pointer exits this objects rect transform. 15 | /// 16 | public void OnPointerExit(PointerEventData eventData) => OnHovered(false, eventData); 17 | 18 | /// 19 | /// Called when the pointer presses this objects rect transform. 20 | /// 21 | public void OnPointerDown(PointerEventData eventData) => OnPressed(true, eventData); 22 | 23 | /// 24 | /// Called when the pointer releases this objects rect transform. 25 | /// 26 | public void OnPointerUp(PointerEventData eventData) => OnPressed(false, eventData); 27 | 28 | public virtual void OnHovered(bool hovered, PointerEventData eventData) { } 29 | public virtual void OnPressed(bool pressed, PointerEventData eventData) { } 30 | } 31 | } -------------------------------------------------------------------------------- /GameKit/Dependencies/Utilities/Types/PointerMonoBehaviour.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f26032017027b804c8da0163e267675d 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Dependencies/Utilities/Types/ResettableRingBuffer.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2fa03073e536c6e4db989416ee03c6e8 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Dependencies/Utilities/Types/RingBuffer.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4398caa06d4585440822752ab3424be0 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Dependencies/Utilities/Types/SceneAttribute.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | 3 | namespace GameKit.Dependencies.Utilities.Types 4 | { 5 | /* Source https://forum.unity.com/threads/how-to-link-scenes-in-the-inspector.383140/ */ 6 | 7 | /// 8 | /// Converts a string property into a Scene property in the inspector 9 | /// 10 | public class SceneAttribute : PropertyAttribute { } 11 | 12 | } -------------------------------------------------------------------------------- /GameKit/Dependencies/Utilities/Types/SceneAttribute.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 39fdd420f2fa10548af8c39d451d8a21 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Dependencies/Utilities/Types/ScrollbarValueSetter.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3cb592f43ed49de44bf7d5407b88391f 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Dependencies/Utilities/Types/SingletonScriptableObject.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | 3 | namespace GameKit.Dependencies.Utilities.Types 4 | { 5 | 6 | /// 7 | /// Creates a singleton instance of a scriptable object. 8 | /// 9 | /// 10 | public abstract class SingletonScriptableObject : ScriptableObject where T : ScriptableObject 11 | { 12 | private static T _instance = null; 13 | public static T Instance 14 | { 15 | get 16 | { 17 | if (_instance == null) 18 | { 19 | T[] results = UnityEngine.Resources.FindObjectsOfTypeAll(); 20 | if (results.Length == 0) 21 | { 22 | Debug.LogError("SingletonScriptableObject: results length is 0 of " + typeof(T).ToString()); 23 | return null; 24 | } 25 | if (results.Length > 1) 26 | { 27 | Debug.LogError("SingletonScriptableObject: results length is greater than 1 of " + typeof(T).ToString()); 28 | return null; 29 | } 30 | 31 | _instance = results[0]; 32 | _instance.hideFlags = HideFlags.DontUnloadUnusedAsset; 33 | } 34 | 35 | return _instance; 36 | } 37 | } 38 | } 39 | 40 | 41 | } -------------------------------------------------------------------------------- /GameKit/Dependencies/Utilities/Types/SingletonScriptableObject.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bef14acaff843864185c13ac82c05995 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Dependencies/Utilities/Types/SmoothCameraTarget.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using UnityEngine; 3 | 4 | namespace GameKit.Dependencies.Utilities.Types 5 | { 6 | 7 | /// 8 | /// Moves smoothly to transform changes over ticks giving cameras something to follow. 9 | /// 10 | public class SmoothCameraTarget : MonoBehaviour 11 | { 12 | #region Public. 13 | /// 14 | /// Created instance of DDOL. 15 | /// 16 | private static DDOL _instance; 17 | #endregion 18 | 19 | /// 20 | /// Returns the current DDOL or creates one if not yet created. 21 | /// 22 | public static DDOL GetDDOL() 23 | { 24 | //Not yet made. 25 | if (_instance == null) 26 | { 27 | GameObject obj = new(); 28 | obj.name = "FirstGearGames DDOL"; 29 | DDOL ddol = obj.AddComponent(); 30 | DontDestroyOnLoad(ddol); 31 | _instance = ddol; 32 | return ddol; 33 | } 34 | //Already made. 35 | else 36 | { 37 | return _instance; 38 | } 39 | } 40 | } 41 | 42 | 43 | } -------------------------------------------------------------------------------- /GameKit/Dependencies/Utilities/Types/SmoothCameraTarget.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ebb1599afe9a562408745db70647972f 3 | timeCreated: 1528404670 4 | licenseType: Free 5 | MonoImporter: 6 | externalObjects: {} 7 | serializedVersion: 2 8 | defaultReferences: [] 9 | executionOrder: 0 10 | icon: {instanceID: 0} 11 | userData: 12 | assetBundleName: 13 | assetBundleVariant: 14 | -------------------------------------------------------------------------------- /GameKit/Dependencies/Utilities/Types/TimedOperation.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a8ab7253f5bacb94798c4cf15852a66b 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Dependencies/Utilities/Types/UIntRange.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f67169fcc3392b849939473e4e86b6f4 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Dependencies/Utilities/Types/Vector2Range.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | 3 | namespace GameKit.Dependencies.Utilities.Types 4 | { 5 | 6 | 7 | [System.Serializable] 8 | public struct Vector2Range 9 | { 10 | public Vector2Range(Vector2 minimum, Vector2 maximum) 11 | { 12 | X = new(minimum.x, maximum.x); 13 | Y = new(minimum.y, maximum.y); 14 | } 15 | public Vector2Range(FloatRange minimum, FloatRange maximum) 16 | { 17 | X = minimum; 18 | Y = maximum; 19 | } 20 | /// 21 | /// Minimum range. 22 | /// 23 | public FloatRange X; 24 | /// 25 | /// Maximum range. 26 | /// 27 | public FloatRange Y; 28 | 29 | /// 30 | /// Returns a random value between Minimum and Maximum. 31 | /// 32 | /// 33 | public Vector2 RandomInclusive() 34 | { 35 | return new( 36 | Floats.RandomInclusiveRange(X.Minimum, X.Maximum), 37 | Floats.RandomInclusiveRange(Y.Minimum, Y.Maximum) 38 | ); 39 | } 40 | } 41 | 42 | 43 | } -------------------------------------------------------------------------------- /GameKit/Dependencies/Utilities/Types/Vector2Range.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1b1d5cb52def18c46a0c1e71b5f1245f 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /GameKit/Dependencies/Utilities/UInts.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9d1ed50ac02fb974c8260d36bf2abfdc 3 | timeCreated: 1527268448 4 | licenseType: Free 5 | MonoImporter: 6 | externalObjects: {} 7 | serializedVersion: 2 8 | defaultReferences: [] 9 | executionOrder: 0 10 | icon: {instanceID: 0} 11 | userData: 12 | assetBundleName: 13 | assetBundleVariant: 14 | -------------------------------------------------------------------------------- /GameKit/Dependencies/Utilities/Vectors.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6bf25d6d9fa7a754b85a60006db774c4 3 | timeCreated: 1522043602 4 | licenseType: Free 5 | MonoImporter: 6 | externalObjects: {} 7 | serializedVersion: 2 8 | defaultReferences: [] 9 | executionOrder: 0 10 | icon: {instanceID: 0} 11 | userData: 12 | assetBundleName: 13 | assetBundleVariant: 14 | -------------------------------------------------------------------------------- /GameKit/Dependencies/Utilities/WeightedRandom.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: daf7f2aaf711e2046a1996b15c58d0a7 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /THIRD PARTY NOTICE.md: -------------------------------------------------------------------------------- 1 | This package contains third-party software components governed by the license(s) indicated below: 2 | 3 | 4 | 5 | Component Name: Tri-Inspector 6 | Copyright 2022 CodeWriter Packages 7 | License Type: MIT 8 | https://github.com/codewriter-packages/Tri-Inspector 9 | Paths: GameKit\Dependencies\TriInspector 10 | 11 | 12 | 13 | Component Name: Shikashi's Fantasy Icons Pack 14 | License Type: CC BY 3.0 15 | https://cheekyinkling.itch.io/shikashis-fantasy-icons-pack 16 | Paths: GameKit\Core\Examples\Textures\Canvases\Icons 17 | 18 | 19 | 20 | Component Name: GUI Parts 21 | Copyright PONETI 22 | License Type: Unity Companion License 23 | https://assetstore.unity.com/packages/2d/gui/icons/gui-parts-159068 24 | Paths: GameKit\Examples\Textures\Canvases\GUI --------------------------------------------------------------------------------