add some extra assets FX and SFX

This commit is contained in:
Robii Aragon
2026-03-29 23:03:14 -07:00
parent 6ef3eb1535
commit 24dc66a81e
10142 changed files with 2535978 additions and 36608 deletions

View File

@@ -13,7 +13,8 @@ MonoImporter:
AssetOrigin:
serializedVersion: 1
productId: 40995
packageName: Game Kit Controller - Shooter Melee Adventure Creator 3D + 2.5D
packageVersion: 3.77g
packageName: Game Kit Controller - Shooter Melee Adventure FPS TPS Creator 3D +
2.5D
packageVersion: 3.77h
assetPath: Assets/Game Kit Controller/Scripts/Inventory/Inventory Pickups Behaviour/ammoOnInventory.cs
uploadId: 814740
uploadId: 889948

View File

@@ -13,7 +13,8 @@ MonoImporter:
AssetOrigin:
serializedVersion: 1
productId: 40995
packageName: Game Kit Controller - Shooter Melee Adventure Creator 3D + 2.5D
packageVersion: 3.77g
packageName: Game Kit Controller - Shooter Melee Adventure FPS TPS Creator 3D +
2.5D
packageVersion: 3.77h
assetPath: Assets/Game Kit Controller/Scripts/Inventory/Inventory Pickups Behaviour/energyOnInventory.cs
uploadId: 814740
uploadId: 889948

View File

@@ -13,7 +13,8 @@ MonoImporter:
AssetOrigin:
serializedVersion: 1
productId: 40995
packageName: Game Kit Controller - Shooter Melee Adventure Creator 3D + 2.5D
packageVersion: 3.77g
packageName: Game Kit Controller - Shooter Melee Adventure FPS TPS Creator 3D +
2.5D
packageVersion: 3.77h
assetPath: Assets/Game Kit Controller/Scripts/Inventory/Inventory Pickups Behaviour/healthOnInventory.cs
uploadId: 814740
uploadId: 889948

View File

@@ -13,7 +13,8 @@ MonoImporter:
AssetOrigin:
serializedVersion: 1
productId: 40995
packageName: Game Kit Controller - Shooter Melee Adventure Creator 3D + 2.5D
packageVersion: 3.77g
packageName: Game Kit Controller - Shooter Melee Adventure FPS TPS Creator 3D +
2.5D
packageVersion: 3.77h
assetPath: Assets/Game Kit Controller/Scripts/Inventory/Inventory Pickups Behaviour/jetpackFuelOnInventory.cs
uploadId: 814740
uploadId: 889948

View File

@@ -13,7 +13,8 @@ MonoImporter:
AssetOrigin:
serializedVersion: 1
productId: 40995
packageName: Game Kit Controller - Shooter Melee Adventure Creator 3D + 2.5D
packageVersion: 3.77g
packageName: Game Kit Controller - Shooter Melee Adventure FPS TPS Creator 3D +
2.5D
packageVersion: 3.77h
assetPath: Assets/Game Kit Controller/Scripts/Inventory/Inventory Pickups Behaviour/meleeShieldOnInventory.cs
uploadId: 814740
uploadId: 889948

View File

@@ -13,7 +13,8 @@ MonoImporter:
AssetOrigin:
serializedVersion: 1
productId: 40995
packageName: Game Kit Controller - Shooter Melee Adventure Creator 3D + 2.5D
packageVersion: 3.77g
packageName: Game Kit Controller - Shooter Melee Adventure FPS TPS Creator 3D +
2.5D
packageVersion: 3.77h
assetPath: Assets/Game Kit Controller/Scripts/Inventory/Inventory Pickups Behaviour/meleeWeaponConsumableOnInventory.cs
uploadId: 814740
uploadId: 889948

View File

@@ -13,7 +13,8 @@ MonoImporter:
AssetOrigin:
serializedVersion: 1
productId: 40995
packageName: Game Kit Controller - Shooter Melee Adventure Creator 3D + 2.5D
packageVersion: 3.77g
packageName: Game Kit Controller - Shooter Melee Adventure FPS TPS Creator 3D +
2.5D
packageVersion: 3.77h
assetPath: Assets/Game Kit Controller/Scripts/Inventory/Inventory Pickups Behaviour/meleeWeaponOnInventory.cs
uploadId: 814740
uploadId: 889948

View File

@@ -4,328 +4,337 @@ using UnityEngine;
public class objectOnInventory : MonoBehaviour
{
[Header ("Main Settings")]
[Space]
[Header ("Main Settings")]
[Space]
public inventoryObject mainInventoryObject;
public inventoryObject mainInventoryObject;
public bool useOnlyAmountNeeded;
public bool useOnlyAmountNeeded;
public bool closeInventoryOnObjectUsed;
public bool closeInventoryOnObjectUsed;
[Space]
[Header ("Condition Settings")]
[Space]
[Space]
[Header ("Condition Settings")]
[Space]
public bool checkConditionsToUseObjectEnabled;
public bool checkConditionsToUseObjectEnabled;
public bool playerOnGroundToUseObject;
public bool playerOnGroundToUseObject;
public bool actionSystemNotPlayingAnimations;
public bool actionSystemNotPlayingAnimations;
public bool useCustomMessageOnConditionFailed;
[TextArea (3, 10)] public string customMessageOnConditionFailed;
public bool useCustomMessageOnConditionFailed;
[TextArea (3, 10)] public string customMessageOnConditionFailed;
[Space]
[Header ("Remote Events Settings")]
[Space]
[Space]
public bool useRemoteEvent;
[TextArea (3, 10)] public string customMessageOnNotAbleToEquip = "-OBJECT- can't be equipped";
[Space]
[Space]
[Header ("Remote Events Settings")]
[Space]
public List<string> remoteEventList = new List<string> ();
public bool useRemoteEvent;
[Space]
[Header ("Remote Events On Use Object Settings")]
[Space]
[Space]
public bool useRemoteEventOnUseObject;
public List<string> remoteEventList = new List<string> ();
[Space]
[Space]
[Header ("Remote Events On Use Object Settings")]
[Space]
public List<string> remoteEventListOnUseObject = new List<string> ();
public bool useRemoteEventOnUseObject;
[Space]
[Header ("Remote Events On Equip Object Settings")]
[Space]
[Space]
public bool useRemoteEventOnEquipObject;
public List<string> remoteEventListOnUseObject = new List<string> ();
[Space]
[Space]
[Header ("Remote Events On Equip Object Settings")]
[Space]
public List<string> remoteEventListOnEquipObject = new List<string> ();
public bool useRemoteEventOnEquipObject;
[Space]
[Space]
[Space]
public bool useRemoteEventOnUnequipObject;
public List<string> remoteEventListOnEquipObject = new List<string> ();
[Space]
[Space]
[Space]
public List<string> remoteEventListOnUnquipObject = new List<string> ();
public bool useRemoteEventOnUnequipObject;
[Space]
[Header ("Enable Abilities on Equip Inventory Object Settings")]
[Space]
[Space]
public bool useAbilitiesListToEnableOnEquipInventoryObject;
public List<string> remoteEventListOnUnquipObject = new List<string> ();
[Space]
[Space]
[Header ("Enable Abilities on Equip Inventory Object Settings")]
[Space]
public List<string> abilitiesListToEnableOnEquipInventoryObject = new List<string> ();
public bool useAbilitiesListToEnableOnEquipInventoryObject;
[Space]
[Header ("Enable Abilities on Use Inventory Object Settings")]
[Space]
[Space]
public bool useAbilitiesListToEnableOnUseInventoryObject;
public List<string> abilitiesListToEnableOnEquipInventoryObject = new List<string> ();
[Space]
[Space]
[Header ("Enable Abilities on Use Inventory Object Settings")]
[Space]
public List<string> abilitiesListToEnableOnUseInventoryObject = new List<string> ();
public bool useAbilitiesListToEnableOnUseInventoryObject;
[Space]
[Header ("Activate Abilities on Use Inventory Object Settings")]
[Space]
[Space]
public bool activateAbilityOnUseInventoryObject;
public List<string> abilitiesListToEnableOnUseInventoryObject = new List<string> ();
[Space]
[Space]
[Header ("Activate Abilities on Use Inventory Object Settings")]
[Space]
public string abilityNameToActiveOnUseInventoryObject;
public bool abilityIsTemporallyActivated;
public bool activateAbilityOnUseInventoryObject;
public bool checkIfAbilityIsNotActiveOrOnCoolDown;
[Space]
[Space]
[Header ("Stats To Increase Settings")]
[Space]
public string abilityNameToActiveOnUseInventoryObject;
public bool abilityIsTemporallyActivated;
public bool increaseStatsValues;
public List<objectExperienceSystem.statInfo> statsToIncreaseInfoList = new List<objectExperienceSystem.statInfo> ();
public bool checkIfAbilityIsNotActiveOrOnCoolDown;
[Space]
[Header ("Crafting Settings")]
[Space]
[Space]
[Header ("Stats To Increase Settings")]
[Space]
public bool getCraftingRecipes;
public List<string> craftingRecipesList = new List<string> ();
public bool increaseStatsValues;
public List<objectExperienceSystem.statInfo> statsToIncreaseInfoList = new List<objectExperienceSystem.statInfo> ();
[Space]
[Header ("Crafting Settings")]
[Space]
public virtual void activateUseObjectActionOnInventory (GameObject currentPlayer, int amountToUse)
{
}
public bool getCraftingRecipes;
public List<string> craftingRecipesList = new List<string> ();
public virtual void activateUseObjectActionOnInventoryWithExternalCharacter (GameObject currentPlayer, GameObject currentExternalCharacterForInventoryUsage, int amountToUse)
{
}
public virtual void activateCombineObjectActionOnInventory (GameObject currentPlayer, inventoryInfo inventoryInfoToUse)
{
public virtual void activateUseObjectActionOnInventory (GameObject currentPlayer, int amountToUse)
{
}
}
public virtual void carryPhysicalObjectFromInventory (GameObject currentPlayer)
{
public virtual void activateUseObjectActionOnInventoryWithExternalCharacter (GameObject currentPlayer, GameObject currentExternalCharacterForInventoryUsage, int amountToUse)
{
}
}
public virtual void eventOnPickObject (GameObject currentPlayer)
{
public virtual void activateCombineObjectActionOnInventory (GameObject currentPlayer, inventoryInfo inventoryInfoToUse)
{
}
}
public virtual void eventOnDropObject (GameObject currentPlayer)
{
public virtual void carryPhysicalObjectFromInventory (GameObject currentPlayer)
{
}
}
public virtual void checkRemoteEvents (GameObject currentPlayer)
{
if (useRemoteEvent) {
if (remoteEventList.Count == 0) {
return;
}
public virtual void eventOnPickObject (GameObject currentPlayer)
{
playerComponentsManager currentPlayerComponetsManager = currentPlayer.GetComponent<playerComponentsManager> ();
}
if (currentPlayerComponetsManager != null) {
remoteEventSystem currentRemoteEventSystem = currentPlayerComponetsManager.getRemoteEventSystem ();
public virtual void eventOnDropObject (GameObject currentPlayer)
{
if (currentRemoteEventSystem != null) {
for (int i = 0; i < remoteEventList.Count; i++) {
}
currentRemoteEventSystem.callRemoteEvent (remoteEventList [i]);
}
}
}
}
}
public virtual void checkRemoteEvents (GameObject currentPlayer)
{
if (useRemoteEvent) {
if (remoteEventList.Count == 0) {
return;
}
public virtual void checkRemoteEventsOnUseObject (GameObject currentPlayer)
{
if (useRemoteEventOnUseObject) {
if (remoteEventListOnUseObject.Count == 0) {
return;
}
playerComponentsManager currentPlayerComponetsManager = currentPlayer.GetComponent<playerComponentsManager> ();
playerComponentsManager currentPlayerComponetsManager = currentPlayer.GetComponent<playerComponentsManager> ();
if (currentPlayerComponetsManager != null) {
remoteEventSystem currentRemoteEventSystem = currentPlayerComponetsManager.getRemoteEventSystem ();
if (currentPlayerComponetsManager != null) {
remoteEventSystem currentRemoteEventSystem = currentPlayerComponetsManager.getRemoteEventSystem ();
if (currentRemoteEventSystem != null) {
for (int i = 0; i < remoteEventList.Count; i++) {
if (currentRemoteEventSystem != null) {
for (int i = 0; i < remoteEventListOnUseObject.Count; i++) {
currentRemoteEventSystem.callRemoteEvent (remoteEventListOnUseObject [i]);
}
}
}
}
}
public virtual void checkRemoteEventsOnSetObjectEquipState (GameObject currentPlayer, bool state)
{
bool checkEvents = false;
if (useRemoteEventOnEquipObject && state) {
if (remoteEventListOnEquipObject.Count > 0) {
checkEvents = true;
}
}
if (useRemoteEventOnUnequipObject && !state) {
if (remoteEventListOnUnquipObject.Count > 0) {
checkEvents = true;
}
}
if (checkEvents) {
playerComponentsManager currentPlayerComponetsManager = currentPlayer.GetComponent<playerComponentsManager> ();
if (currentPlayerComponetsManager != null) {
remoteEventSystem currentRemoteEventSystem = currentPlayerComponetsManager.getRemoteEventSystem ();
if (currentRemoteEventSystem != null) {
if (state) {
if (useRemoteEventOnEquipObject) {
for (int i = 0; i < remoteEventListOnEquipObject.Count; i++) {
currentRemoteEventSystem.callRemoteEvent (remoteEventListOnEquipObject [i]);
}
}
} else {
if (useRemoteEventOnUnequipObject) {
for (int i = 0; i < remoteEventListOnUnquipObject.Count; i++) {
currentRemoteEventSystem.callRemoteEvent (remoteEventListOnUnquipObject [i]);
}
}
}
}
}
}
}
public virtual bool setObjectEquippedStateOnInventory (GameObject currentPlayer, bool state)
{
return false;
}
// public virtual bool isObjectEquipped ()
// {
//
// return false;
// }
//
// public virtual void updateObjectState ()
// {
//
// }
public virtual void checkIfEnableAbilitiesOnEquipInventoryObject (GameObject currentPlayer, bool state)
{
if (useAbilitiesListToEnableOnEquipInventoryObject && currentPlayer != null) {
GKC_Utils.enableOrDisableAbilityGroupByName (currentPlayer.transform, state, abilitiesListToEnableOnEquipInventoryObject);
}
}
public virtual void checkIfEnableAbilitiesOnUseInventoryObject (GameObject currentPlayer)
{
if (useAbilitiesListToEnableOnUseInventoryObject && currentPlayer != null) {
GKC_Utils.enableOrDisableAbilityGroupByName (currentPlayer.transform, true, abilitiesListToEnableOnUseInventoryObject);
}
}
public virtual void checkIfActivateAbilitiesOnUseInventoryObject (GameObject currentPlayer)
{
if (activateAbilityOnUseInventoryObject && currentPlayer != null) {
GKC_Utils.activateAbilityByName (currentPlayer.transform, abilityNameToActiveOnUseInventoryObject, abilityIsTemporallyActivated, true);
}
}
public virtual bool checkIfAbilitiesOnUseOrCooldown (GameObject currentPlayer)
{
if (activateAbilityOnUseInventoryObject && currentPlayer != null) {
return GKC_Utils.checkIfAbilitiesOnUseOrCooldown (currentPlayer.transform, abilityNameToActiveOnUseInventoryObject);
}
return false;
}
public virtual void checkIfIncreaseStatsOnUseInventoryObject (GameObject currentPlayer)
{
if (increaseStatsValues && currentPlayer != null) {
GKC_Utils.increaseStatsByList (currentPlayer.transform, true, statsToIncreaseInfoList);
}
}
public virtual void checkIfaddNewBlueprintsUnlockedList (GameObject currentPlayer)
{
if (getCraftingRecipes && currentPlayer != null) {
GKC_Utils.addNewBlueprintsUnlockedList (currentPlayer, craftingRecipesList);
}
}
public bool checkConditions (GameObject currentPlayer)
{
if (checkConditionsToUseObjectEnabled) {
playerController currentPlayerController = currentPlayer.GetComponent<playerController> ();
if (currentPlayerController != null) {
if (playerOnGroundToUseObject) {
if (!currentPlayerController.isPlayerOnGround ()) {
return false;
}
}
if (actionSystemNotPlayingAnimations) {
if (currentPlayerController.isActionActive ()) {
return false;
}
}
}
}
return true;
}
public void checkExternalElementsOnUseInventoryObject (GameObject currentPlayer)
{
checkIfEnableAbilitiesOnUseInventoryObject (currentPlayer);
checkIfActivateAbilitiesOnUseInventoryObject (currentPlayer);
checkIfIncreaseStatsOnUseInventoryObject (currentPlayer);
checkIfaddNewBlueprintsUnlockedList (currentPlayer);
checkRemoteEvents (currentPlayer);
checkRemoteEventsOnUseObject (currentPlayer);
}
currentRemoteEventSystem.callRemoteEvent (remoteEventList [i]);
}
}
}
}
}
public virtual void checkRemoteEventsOnUseObject (GameObject currentPlayer)
{
if (useRemoteEventOnUseObject) {
if (remoteEventListOnUseObject.Count == 0) {
return;
}
playerComponentsManager currentPlayerComponetsManager = currentPlayer.GetComponent<playerComponentsManager> ();
if (currentPlayerComponetsManager != null) {
remoteEventSystem currentRemoteEventSystem = currentPlayerComponetsManager.getRemoteEventSystem ();
if (currentRemoteEventSystem != null) {
for (int i = 0; i < remoteEventListOnUseObject.Count; i++) {
currentRemoteEventSystem.callRemoteEvent (remoteEventListOnUseObject [i]);
}
}
}
}
}
public virtual void checkRemoteEventsOnSetObjectEquipState (GameObject currentPlayer, bool state)
{
bool checkEvents = false;
if (useRemoteEventOnEquipObject && state) {
if (remoteEventListOnEquipObject.Count > 0) {
checkEvents = true;
}
}
if (useRemoteEventOnUnequipObject && !state) {
if (remoteEventListOnUnquipObject.Count > 0) {
checkEvents = true;
}
}
if (checkEvents) {
playerComponentsManager currentPlayerComponetsManager = currentPlayer.GetComponent<playerComponentsManager> ();
if (currentPlayerComponetsManager != null) {
remoteEventSystem currentRemoteEventSystem = currentPlayerComponetsManager.getRemoteEventSystem ();
if (currentRemoteEventSystem != null) {
if (state) {
if (useRemoteEventOnEquipObject) {
for (int i = 0; i < remoteEventListOnEquipObject.Count; i++) {
currentRemoteEventSystem.callRemoteEvent (remoteEventListOnEquipObject [i]);
}
}
} else {
if (useRemoteEventOnUnequipObject) {
for (int i = 0; i < remoteEventListOnUnquipObject.Count; i++) {
currentRemoteEventSystem.callRemoteEvent (remoteEventListOnUnquipObject [i]);
}
}
}
}
}
}
}
public virtual bool setObjectEquippedStateOnInventory (GameObject currentPlayer, bool state)
{
return false;
}
// public virtual bool isObjectEquipped ()
// {
//
// return false;
// }
//
// public virtual void updateObjectState ()
// {
//
// }
public virtual void checkIfEnableAbilitiesOnEquipInventoryObject (GameObject currentPlayer, bool state)
{
if (useAbilitiesListToEnableOnEquipInventoryObject && currentPlayer != null) {
GKC_Utils.enableOrDisableAbilityGroupByName (currentPlayer.transform, state, abilitiesListToEnableOnEquipInventoryObject);
}
}
public virtual void checkIfEnableAbilitiesOnUseInventoryObject (GameObject currentPlayer)
{
if (useAbilitiesListToEnableOnUseInventoryObject && currentPlayer != null) {
GKC_Utils.enableOrDisableAbilityGroupByName (currentPlayer.transform, true, abilitiesListToEnableOnUseInventoryObject);
}
}
public virtual void checkIfActivateAbilitiesOnUseInventoryObject (GameObject currentPlayer)
{
if (activateAbilityOnUseInventoryObject && currentPlayer != null) {
GKC_Utils.activateAbilityByName (currentPlayer.transform, abilityNameToActiveOnUseInventoryObject, abilityIsTemporallyActivated, true);
}
}
public virtual bool checkIfAbilitiesOnUseOrCooldown (GameObject currentPlayer)
{
if (activateAbilityOnUseInventoryObject && currentPlayer != null) {
return GKC_Utils.checkIfAbilitiesOnUseOrCooldown (currentPlayer.transform, abilityNameToActiveOnUseInventoryObject);
}
return false;
}
public virtual void checkIfIncreaseStatsOnUseInventoryObject (GameObject currentPlayer)
{
if (increaseStatsValues && currentPlayer != null) {
GKC_Utils.increaseStatsByList (currentPlayer.transform, true, statsToIncreaseInfoList);
}
}
public virtual void checkIfaddNewBlueprintsUnlockedList (GameObject currentPlayer)
{
if (getCraftingRecipes && currentPlayer != null) {
GKC_Utils.addNewBlueprintsUnlockedList (currentPlayer, craftingRecipesList);
}
}
public bool checkConditions (GameObject currentPlayer)
{
if (checkConditionsToUseObjectEnabled) {
playerController currentPlayerController = currentPlayer.GetComponent<playerController> ();
if (currentPlayerController != null) {
if (playerOnGroundToUseObject) {
if (!currentPlayerController.isPlayerOnGround ()) {
return false;
}
}
if (actionSystemNotPlayingAnimations) {
if (currentPlayerController.isActionActive ()) {
return false;
}
}
}
}
return true;
}
public void checkExternalElementsOnUseInventoryObject (GameObject currentPlayer)
{
checkIfEnableAbilitiesOnUseInventoryObject (currentPlayer);
checkIfActivateAbilitiesOnUseInventoryObject (currentPlayer);
checkIfIncreaseStatsOnUseInventoryObject (currentPlayer);
checkIfaddNewBlueprintsUnlockedList (currentPlayer);
checkRemoteEvents (currentPlayer);
checkRemoteEventsOnUseObject (currentPlayer);
}
public virtual string getCustomMessageOnNotAbleToEquip ()
{
return customMessageOnNotAbleToEquip;
}
}

View File

@@ -13,7 +13,8 @@ MonoImporter:
AssetOrigin:
serializedVersion: 1
productId: 40995
packageName: Game Kit Controller - Shooter Melee Adventure Creator 3D + 2.5D
packageVersion: 3.77g
packageName: Game Kit Controller - Shooter Melee Adventure FPS TPS Creator 3D +
2.5D
packageVersion: 3.77h
assetPath: Assets/Game Kit Controller/Scripts/Inventory/Inventory Pickups Behaviour/objectOnInventory.cs
uploadId: 814740
uploadId: 889948

View File

@@ -13,7 +13,8 @@ MonoImporter:
AssetOrigin:
serializedVersion: 1
productId: 40995
packageName: Game Kit Controller - Shooter Melee Adventure Creator 3D + 2.5D
packageVersion: 3.77g
packageName: Game Kit Controller - Shooter Melee Adventure FPS TPS Creator 3D +
2.5D
packageVersion: 3.77h
assetPath: Assets/Game Kit Controller/Scripts/Inventory/Inventory Pickups Behaviour/oxygenOnInventory.cs
uploadId: 814740
uploadId: 889948

View File

@@ -13,7 +13,8 @@ MonoImporter:
AssetOrigin:
serializedVersion: 1
productId: 40995
packageName: Game Kit Controller - Shooter Melee Adventure Creator 3D + 2.5D
packageVersion: 3.77g
packageName: Game Kit Controller - Shooter Melee Adventure FPS TPS Creator 3D +
2.5D
packageVersion: 3.77h
assetPath: Assets/Game Kit Controller/Scripts/Inventory/Inventory Pickups Behaviour/shieldOnInventory.cs
uploadId: 814740
uploadId: 889948

View File

@@ -13,7 +13,8 @@ MonoImporter:
AssetOrigin:
serializedVersion: 1
productId: 40995
packageName: Game Kit Controller - Shooter Melee Adventure Creator 3D + 2.5D
packageVersion: 3.77g
packageName: Game Kit Controller - Shooter Melee Adventure FPS TPS Creator 3D +
2.5D
packageVersion: 3.77h
assetPath: Assets/Game Kit Controller/Scripts/Inventory/Inventory Pickups Behaviour/staminaOnInventory.cs
uploadId: 814740
uploadId: 889948

View File

@@ -13,7 +13,8 @@ MonoImporter:
AssetOrigin:
serializedVersion: 1
productId: 40995
packageName: Game Kit Controller - Shooter Melee Adventure Creator 3D + 2.5D
packageVersion: 3.77g
packageName: Game Kit Controller - Shooter Melee Adventure FPS TPS Creator 3D +
2.5D
packageVersion: 3.77h
assetPath: Assets/Game Kit Controller/Scripts/Inventory/Inventory Pickups Behaviour/vehicleFuelOnInventory.cs
uploadId: 814740
uploadId: 889948

View File

@@ -13,7 +13,8 @@ MonoImporter:
AssetOrigin:
serializedVersion: 1
productId: 40995
packageName: Game Kit Controller - Shooter Melee Adventure Creator 3D + 2.5D
packageVersion: 3.77g
packageName: Game Kit Controller - Shooter Melee Adventure FPS TPS Creator 3D +
2.5D
packageVersion: 3.77h
assetPath: Assets/Game Kit Controller/Scripts/Inventory/Inventory Pickups Behaviour/weaponAttachmentOnInventory.cs
uploadId: 814740
uploadId: 889948

View File

@@ -52,4 +52,14 @@ public class weaponOnInventory : objectOnInventory
return true;
}
public int getRemainingAmmoValue ()
{
return remainingAmmo;
}
public weaponPickup getWeaponPickup ()
{
return mainWeaponPickup;
}
}

View File

@@ -13,7 +13,8 @@ MonoImporter:
AssetOrigin:
serializedVersion: 1
productId: 40995
packageName: Game Kit Controller - Shooter Melee Adventure Creator 3D + 2.5D
packageVersion: 3.77g
packageName: Game Kit Controller - Shooter Melee Adventure FPS TPS Creator 3D +
2.5D
packageVersion: 3.77h
assetPath: Assets/Game Kit Controller/Scripts/Inventory/Inventory Pickups Behaviour/weaponOnInventory.cs
uploadId: 814740
uploadId: 889948

View File

@@ -13,8 +13,9 @@ MonoImporter:
AssetOrigin:
serializedVersion: 1
productId: 40995
packageName: Game Kit Controller - Shooter Melee Adventure Creator 3D + 2.5D
packageVersion: 3.77g
packageName: Game Kit Controller - Shooter Melee Adventure FPS TPS Creator 3D +
2.5D
packageVersion: 3.77h
assetPath: Assets/Game Kit Controller/Scripts/Inventory/Inventory Quick Access
System/inventoryQuickAccessSlotElement.cs
uploadId: 814740
uploadId: 889948

View File

@@ -2450,6 +2450,8 @@ public class inventoryQuickAccessSlotsSystem : MonoBehaviour
bool isMeleeWeapon = currentSlotToMove.isMeleeWeapon;
bool isWeapon = currentSlotToMove.isWeapon;
bool isMeleeShield = currentSlotToMove.isMeleeShield;
if (currentSlotToMove.isWeapon && !isMeleeWeapon) {
currentPlayerWeaponSystem = mainPlayerWeaponsManager.getWeaponSystemByName (currentSlotToMove.mainWeaponObjectInfo.getWeaponName ());
}
@@ -2511,6 +2513,10 @@ public class inventoryQuickAccessSlotsSystem : MonoBehaviour
} else {
amountTextContentActive = true;
}
if (isMeleeShield) {
amountTextContentActive = false;
}
}
if (showSlotAmountEnabled) {

View File

@@ -13,8 +13,9 @@ MonoImporter:
AssetOrigin:
serializedVersion: 1
productId: 40995
packageName: Game Kit Controller - Shooter Melee Adventure Creator 3D + 2.5D
packageVersion: 3.77g
packageName: Game Kit Controller - Shooter Melee Adventure FPS TPS Creator 3D +
2.5D
packageVersion: 3.77h
assetPath: Assets/Game Kit Controller/Scripts/Inventory/Inventory Quick Access
System/inventoryQuickAccessSlotsSystem.cs
uploadId: 814740
uploadId: 889948

View File

@@ -13,7 +13,8 @@ MonoImporter:
AssetOrigin:
serializedVersion: 1
productId: 40995
packageName: Game Kit Controller - Shooter Melee Adventure Creator 3D + 2.5D
packageVersion: 3.77g
packageName: Game Kit Controller - Shooter Melee Adventure FPS TPS Creator 3D +
2.5D
packageVersion: 3.77h
assetPath: Assets/Game Kit Controller/Scripts/Inventory/Scriptable Objects/initialinventoryListData.cs
uploadId: 814740
uploadId: 889948

View File

@@ -13,7 +13,8 @@ MonoImporter:
AssetOrigin:
serializedVersion: 1
productId: 40995
packageName: Game Kit Controller - Shooter Melee Adventure Creator 3D + 2.5D
packageVersion: 3.77g
packageName: Game Kit Controller - Shooter Melee Adventure FPS TPS Creator 3D +
2.5D
packageVersion: 3.77h
assetPath: Assets/Game Kit Controller/Scripts/Inventory/Scriptable Objects/inventoryListManagerData.cs
uploadId: 814740
uploadId: 889948

View File

@@ -13,7 +13,8 @@ MonoImporter:
AssetOrigin:
serializedVersion: 1
productId: 40995
packageName: Game Kit Controller - Shooter Melee Adventure Creator 3D + 2.5D
packageVersion: 3.77g
packageName: Game Kit Controller - Shooter Melee Adventure FPS TPS Creator 3D +
2.5D
packageVersion: 3.77h
assetPath: Assets/Game Kit Controller/Scripts/Inventory/ammoInventoryPrefabCreationSystem.cs
uploadId: 814740
uploadId: 889948

View File

@@ -4,17 +4,74 @@ using UnityEngine;
public class carryPhysicallyObjectFromInventory : objectOnInventory
{
[Header ("Main Settings")]
[Header ("Custom Settings")]
[Space]
public bool disableInteractionPanelWhileGrabbed;
[Space]
[Header ("Debug")]
[Space]
public GameObject currentPlayer;
[Space]
[Header ("Components")]
[Space]
public grabPhysicalObjectSystem mainGrabPhysicalObjectSystem;
public override void carryPhysicalObjectFromInventory (GameObject currentPlayer)
public void setCurrentPlayer (GameObject newPlayer)
{
currentPlayer = newPlayer;
}
public void checkObjectStateOnGrab ()
{
if (disableInteractionPanelWhileGrabbed) {
deviceStringAction currentDeviceStringAction = GetComponentInChildren<deviceStringAction> ();
if (currentDeviceStringAction != null) {
currentDeviceStringAction.setShowIconState (false);
}
if (currentPlayer != null) {
usingDevicesSystem currentUsingDevicesSystem = currentPlayer.GetComponent<usingDevicesSystem> ();
if (currentUsingDevicesSystem != null) {
currentUsingDevicesSystem.updateClosestDeviceList ();
}
}
}
}
public void checkObjectStateOnDrop ()
{
if (disableInteractionPanelWhileGrabbed) {
deviceStringAction currentDeviceStringAction = GetComponentInChildren<deviceStringAction> ();
if (currentDeviceStringAction != null) {
currentDeviceStringAction.setShowIconState (true);
}
if (currentPlayer != null) {
usingDevicesSystem currentUsingDevicesSystem = currentPlayer.GetComponent<usingDevicesSystem> ();
if (currentUsingDevicesSystem != null) {
currentUsingDevicesSystem.updateClosestDeviceList ();
}
}
}
}
public override void carryPhysicalObjectFromInventory (GameObject newPlayer)
{
//check if player is already carrying a different physical object, to remove it properly
//check also if that object is an inventory object, to send it back to the inventory
currentPlayer = newPlayer;
mainGrabPhysicalObjectSystem.setCurrentPlayer (currentPlayer);
grabObjects currentGrabObjects = currentPlayer.GetComponent<grabObjects> ();

View File

@@ -13,7 +13,8 @@ MonoImporter:
AssetOrigin:
serializedVersion: 1
productId: 40995
packageName: Game Kit Controller - Shooter Melee Adventure Creator 3D + 2.5D
packageVersion: 3.77g
packageName: Game Kit Controller - Shooter Melee Adventure FPS TPS Creator 3D +
2.5D
packageVersion: 3.77h
assetPath: Assets/Game Kit Controller/Scripts/Inventory/carryPhysicallyObjectFromInventory.cs
uploadId: 814740
uploadId: 889948

View File

@@ -13,7 +13,8 @@ MonoImporter:
AssetOrigin:
serializedVersion: 1
productId: 40995
packageName: Game Kit Controller - Shooter Melee Adventure Creator 3D + 2.5D
packageVersion: 3.77g
packageName: Game Kit Controller - Shooter Melee Adventure FPS TPS Creator 3D +
2.5D
packageVersion: 3.77h
assetPath: Assets/Game Kit Controller/Scripts/Inventory/consumableInventoryPrefabCreationSystem.cs
uploadId: 814740
uploadId: 889948

View File

@@ -13,7 +13,8 @@ MonoImporter:
AssetOrigin:
serializedVersion: 1
productId: 40995
packageName: Game Kit Controller - Shooter Melee Adventure Creator 3D + 2.5D
packageVersion: 3.77g
packageName: Game Kit Controller - Shooter Melee Adventure FPS TPS Creator 3D +
2.5D
packageVersion: 3.77h
assetPath: Assets/Game Kit Controller/Scripts/Inventory/currencySystem.cs
uploadId: 814740
uploadId: 889948

View File

@@ -13,7 +13,8 @@ MonoImporter:
AssetOrigin:
serializedVersion: 1
productId: 40995
packageName: Game Kit Controller - Shooter Melee Adventure Creator 3D + 2.5D
packageVersion: 3.77g
packageName: Game Kit Controller - Shooter Melee Adventure FPS TPS Creator 3D +
2.5D
packageVersion: 3.77h
assetPath: Assets/Game Kit Controller/Scripts/Inventory/generalItemOnInventory.cs
uploadId: 814740
uploadId: 889948

View File

@@ -13,7 +13,8 @@ MonoImporter:
AssetOrigin:
serializedVersion: 1
productId: 40995
packageName: Game Kit Controller - Shooter Melee Adventure Creator 3D + 2.5D
packageVersion: 3.77g
packageName: Game Kit Controller - Shooter Melee Adventure FPS TPS Creator 3D +
2.5D
packageVersion: 3.77h
assetPath: Assets/Game Kit Controller/Scripts/Inventory/getInventoryObjectSystem.cs
uploadId: 814740
uploadId: 889948

View File

@@ -13,7 +13,8 @@ MonoImporter:
AssetOrigin:
serializedVersion: 1
productId: 40995
packageName: Game Kit Controller - Shooter Melee Adventure Creator 3D + 2.5D
packageVersion: 3.77g
packageName: Game Kit Controller - Shooter Melee Adventure FPS TPS Creator 3D +
2.5D
packageVersion: 3.77h
assetPath: Assets/Game Kit Controller/Scripts/Inventory/getObjectFromInventorySystem.cs
uploadId: 814740
uploadId: 889948

View File

@@ -13,7 +13,8 @@ MonoImporter:
AssetOrigin:
serializedVersion: 1
productId: 40995
packageName: Game Kit Controller - Shooter Melee Adventure Creator 3D + 2.5D
packageVersion: 3.77g
packageName: Game Kit Controller - Shooter Melee Adventure FPS TPS Creator 3D +
2.5D
packageVersion: 3.77h
assetPath: Assets/Game Kit Controller/Scripts/Inventory/inventoryBankManager.cs
uploadId: 814740
uploadId: 889948

View File

@@ -13,7 +13,8 @@ MonoImporter:
AssetOrigin:
serializedVersion: 1
productId: 40995
packageName: Game Kit Controller - Shooter Melee Adventure Creator 3D + 2.5D
packageVersion: 3.77g
packageName: Game Kit Controller - Shooter Melee Adventure FPS TPS Creator 3D +
2.5D
packageVersion: 3.77h
assetPath: Assets/Game Kit Controller/Scripts/Inventory/inventoryBankSystem.cs
uploadId: 814740
uploadId: 889948

View File

@@ -1321,7 +1321,7 @@ public class inventoryBankUISystem : MonoBehaviour
}
if (!pressingOnAnyInventoryGridResult) {
print ("ignoring press");
//print ("ignoring press");
touching = false;
@@ -1859,7 +1859,11 @@ public class inventoryBankUISystem : MonoBehaviour
if (inventoryAmountPicked > 0) {
currentSlotToMoveInventoryObject.amount = currentSlotToMoveAmount - inventoryAmountPicked;
} else {
playerInventoryManager.showInventoryFullMessage ();
if (!playerInventoryManager.isIgnoreMaximumObjectAmountActive () && currentSlotToMoveInventoryObject.setMaximumObjectAmount) {
playerInventoryManager.showMaxObjectAmountReachedMessage (currentSlotToMoveInventoryObject.Name);
} else {
playerInventoryManager.showInventoryFullMessage ();
}
}
} else {
playerInventoryManager.showInventoryFullMessage ();

View File

@@ -13,7 +13,8 @@ MonoImporter:
AssetOrigin:
serializedVersion: 1
productId: 40995
packageName: Game Kit Controller - Shooter Melee Adventure Creator 3D + 2.5D
packageVersion: 3.77g
packageName: Game Kit Controller - Shooter Melee Adventure FPS TPS Creator 3D +
2.5D
packageVersion: 3.77h
assetPath: Assets/Game Kit Controller/Scripts/Inventory/inventoryBankUISystem.cs
uploadId: 814740
uploadId: 889948

View File

@@ -13,7 +13,8 @@ MonoImporter:
AssetOrigin:
serializedVersion: 1
productId: 40995
packageName: Game Kit Controller - Shooter Melee Adventure Creator 3D + 2.5D
packageVersion: 3.77g
packageName: Game Kit Controller - Shooter Melee Adventure FPS TPS Creator 3D +
2.5D
packageVersion: 3.77h
assetPath: Assets/Game Kit Controller/Scripts/Inventory/inventoryCaptureManager.cs
uploadId: 814740
uploadId: 889948

View File

@@ -13,7 +13,8 @@ MonoImporter:
AssetOrigin:
serializedVersion: 1
productId: 40995
packageName: Game Kit Controller - Shooter Melee Adventure Creator 3D + 2.5D
packageVersion: 3.77g
packageName: Game Kit Controller - Shooter Melee Adventure FPS TPS Creator 3D +
2.5D
packageVersion: 3.77h
assetPath: Assets/Game Kit Controller/Scripts/Inventory/inventoryCaptureManagerTransparent.cs
uploadId: 814740
uploadId: 889948

View File

@@ -13,7 +13,8 @@ MonoImporter:
AssetOrigin:
serializedVersion: 1
productId: 40995
packageName: Game Kit Controller - Shooter Melee Adventure Creator 3D + 2.5D
packageVersion: 3.77g
packageName: Game Kit Controller - Shooter Melee Adventure FPS TPS Creator 3D +
2.5D
packageVersion: 3.77h
assetPath: Assets/Game Kit Controller/Scripts/Inventory/inventoryCategoryInfo.cs
uploadId: 814740
uploadId: 889948

View File

@@ -155,6 +155,12 @@ public class inventoryCharacterCustomizationSystem : MonoBehaviour
public UnityEvent eventOnOpenMenu;
public UnityEvent eventOnCloseMenu;
[Space]
[Space]
public UnityEvent eventToSetNextCharacterModel;
public UnityEvent eventToSetPreviousCharacterModel;
[Space]
[Header ("Components")]
[Space]
@@ -189,6 +195,7 @@ public class inventoryCharacterCustomizationSystem : MonoBehaviour
public health mainHealth;
Coroutine menuCoroutine;
Transform originalCameraParent;
@@ -201,6 +208,7 @@ public class inventoryCharacterCustomizationSystem : MonoBehaviour
bool previousKeepAllCharacterMeshesDisabledActiveValue;
void Start ()
{
if (!characterCustomizationEnabled) {
@@ -222,14 +230,21 @@ public class inventoryCharacterCustomizationSystem : MonoBehaviour
}
if (setInitialArmorClothPieceList) {
StartCoroutine (setInitialArmorClothListCoroutine ());
checkSetInitialArmorClothList ();
}
if (keepAllCharacterMeshesDisabledActive && mainInventoryManager.isFirstPersonActive ()) {
if (keepAllCharacterMeshesDisabledActive && useInventoryManager && mainInventoryManager.isFirstPersonActive ()) {
StartCoroutine (setInitialVisibleMeshesOnCharacter (true));
}
}
public void checkSetInitialArmorClothList ()
{
if (setInitialArmorClothPieceList) {
StartCoroutine (setInitialArmorClothListCoroutine ());
}
}
IEnumerator setInitialArmorClothListCoroutine ()
{
yield return new WaitForSeconds (0.01f);
@@ -297,6 +312,8 @@ public class inventoryCharacterCustomizationSystem : MonoBehaviour
mainCharacterAspectCustomizationUISystem = currentIngameMenuPanel.GetComponent<characterAspectCustomizationUISystem> ();
mainCharacterAspectCustomizationUISystemAssigned = true;
mainCharacterAspectCustomizationUISystem.setMainInventoryCharacterCustomizationSystem (this);
}
if (mainCharacterCustomizationManager == null) {
@@ -330,6 +347,13 @@ public class inventoryCharacterCustomizationSystem : MonoBehaviour
}
}
public void setMultipleCharacterCustomizationTypeButtonInfoByName (string characterName)
{
if (mainCharacterAspectCustomizationUISystemAssigned) {
mainCharacterAspectCustomizationUISystem.setMultipleCharacterCustomizationTypeButtonInfoByName (characterName);
}
}
public void openOrCloseCustomizationMenu (bool state)
{
if (menuOpened == state) {
@@ -468,9 +492,15 @@ public class inventoryCharacterCustomizationSystem : MonoBehaviour
checkAssignCharacterAspectCustomizationUISystem ();
}
bool initializingInventory = false;
if (useInventoryManager) {
initializingInventory = mainInventoryManager.isInitializingInventory ();
}
if (showDebugPrint) {
if (useInventoryManager) {
print ("initializingInventory ------------------------------------------ " + mainInventoryManager.initializingInventory);
print ("initializingInventory ------------------------------------------ " + initializingInventory);
}
}
@@ -570,6 +600,52 @@ public class inventoryCharacterCustomizationSystem : MonoBehaviour
}
}
public void unequipAllCurrentArmorCloth ()
{
if (!characterCustomizationEnabled) {
return;
}
if (!mainCharacterCustomizationManagerAssigned) {
return;
}
if (showDebugPrint) {
print ("unequipAllCurrentArmorCloth");
}
List<string> temporalCurrentPiecesList = new List<string> (currentPiecesList);
int currentPiecesListCount = currentPiecesList.Count;
if (currentPiecesListCount == 0) {
return;
}
for (int i = 0; i < currentPiecesListCount; i++) {
string categoryName = "";
if (useInventoryManager) {
categoryName = mainCharacterAspectCustomizationUISystem.getArmorClothCategoryByName (temporalCurrentPiecesList [i]);
} else {
if (mainCharacterCustomizationManagerAssigned) {
categoryName = mainCharacterCustomizationManager.getArmorClothCategoryByName (temporalCurrentPiecesList [i]);
}
}
if (showDebugPrint) {
print ("removing armor cloth part" + temporalCurrentPiecesList [i] + " " + categoryName);
}
if (categoryName != "") {
if (useInventoryManager) {
mainInventoryManager.setCurrentInventoryObjectAndUnequipByName (temporalCurrentPiecesList [i]);
} else {
unequipObject (temporalCurrentPiecesList [i], categoryName);
}
}
}
}
void checkArmorClothPieceToUse (string objectName, bool state)
{
@@ -682,6 +758,31 @@ public class inventoryCharacterCustomizationSystem : MonoBehaviour
mainFullArmorClothTemplateData = newFullArmorClothTemplateData;
}
public void setInitialArmorClothPieceListState (bool state)
{
setInitialArmorClothPieceList = state;
}
public void setUseCharacterAspectCustomizationTemplateState (bool state)
{
useCharacterAspectCustomizationTemplate = state;
}
public void setUseRandomCharacterAspectCustomizationTemplateState (bool state)
{
useRandomCharacterAspectCustomizationTemplate = state;
}
public void setCharacterAspectCustomizationTemplateList (List<characterAspectCustomizationTemplate> newList)
{
characterAspectCustomizationTemplateList = newList;
}
public void setInitialCharacterAspectCustomizationTemplate (characterAspectCustomizationTemplate newCharacterAspectCustomizationTemplate)
{
initialCharacterAspectCustomizationTemplate = newCharacterAspectCustomizationTemplate;
}
void configureStats (bool state, List<armorClothStatsInfo> armorClothStatsInfoList, string objectName, bool isFullSetActive)
{
if (showDebugPrint) {
@@ -692,6 +793,23 @@ public class inventoryCharacterCustomizationSystem : MonoBehaviour
bool isLoadingGame = mainPlayerStatsSystem.isLoadingGameState ();
bool initializingInventory = false;
if (useInventoryManager) {
initializingInventory = mainInventoryManager.isInitializingInventory ();
}
if (!initializingInventory) {
if (showDebugPrint) {
print ("the inventory was already initialized, so updating the loading state on the player stats system");
}
mainPlayerStatsSystem.setIsLoadingGameState (false);
isLoadingGame = false;
}
for (int k = 0; k < armorClothStatsInfoListCount; k++) {
armorClothStatsInfo currentArmorClothStatsInfo = armorClothStatsInfoList [k];
@@ -744,7 +862,7 @@ public class inventoryCharacterCustomizationSystem : MonoBehaviour
}
if (showDebugPrint) {
print (currentArmorClothStatsInfo.Name + " " + extraValue + " " + objectName + " " + isFullSetActive);
print (currentArmorClothStatsInfo.Name + " " + extraValue + " " + objectName + " " + isFullSetActive + " " + isLoadingGame);
}
if (!isLoadingGame) {
@@ -1248,6 +1366,43 @@ public class inventoryCharacterCustomizationSystem : MonoBehaviour
return null;
}
public characterCustomizationManager getCharacterCustomizationManager ()
{
return mainCharacterCustomizationManager;
}
public void updateCharacterTransform ()
{
if (mainCharacterCustomizationManager != null) {
mainCharacterCustomizationManager.setCharacterTransform (playerTransform);
}
}
public void setNewCharacterModel (GameObject newObject)
{
if (mainCharacterAspectCustomizationUISystemAssigned) {
mainCharacterAspectCustomizationUISystem.setNewCharacterModel (newObject);
}
}
public void updateCheckAssignCharacterAspectCustomizationUISystem ()
{
if (characterCustomizationEnabled) {
if (!mainCharacterAspectCustomizationUISystemAssigned) {
checkAssignCharacterAspectCustomizationUISystem ();
}
}
}
public void setNextOrPreviousCharacterModel (bool state)
{
if (state) {
eventToSetNextCharacterModel.Invoke ();
} else {
eventToSetPreviousCharacterModel.Invoke ();
}
}
public void renameArmorClothObjectByName (string currentObjectName, string newObjectName)
{
bool objectsFound = false;
@@ -1310,6 +1465,13 @@ public class inventoryCharacterCustomizationSystem : MonoBehaviour
}
//EDITOR FUNCTIONS
public void setNewCharacterCustomizationManager (characterCustomizationManager newCharacterCustomizationManager)
{
mainCharacterCustomizationManager = newCharacterCustomizationManager;
updateComponent ();
}
public void setKeepAllCharacterMeshesDisabledActiveStateOnEditor (bool state)
{
keepAllCharacterMeshesDisabledActive = state;

View File

@@ -13,7 +13,8 @@ MonoImporter:
AssetOrigin:
serializedVersion: 1
productId: 40995
packageName: Game Kit Controller - Shooter Melee Adventure Creator 3D + 2.5D
packageVersion: 3.77g
packageName: Game Kit Controller - Shooter Melee Adventure FPS TPS Creator 3D +
2.5D
packageVersion: 3.77h
assetPath: Assets/Game Kit Controller/Scripts/Inventory/inventoryCharacterCustomizationSystem.cs
uploadId: 814740
uploadId: 889948

View File

@@ -7,253 +7,258 @@ using GameKitController.Audio;
[System.Serializable]
public class inventoryInfo
{
//Main settings
public string Name;
public GameObject inventoryGameObject;
[TextArea (3, 10)] public string objectInfo;
public Texture icon;
public int amount;
public int amountPerUnit;
public bool infiniteAmount;
//Main settings
public string Name;
public GameObject inventoryGameObject;
[TextArea (3, 10)] public string objectInfo;
public Texture icon;
public int amount;
public int amountPerUnit;
public bool infiniteAmount;
public bool storeTotalAmountPerUnit;
public bool storeTotalAmountPerUnit;
public bool showAmountPerUnitInAmountText;
public bool showAmountPerUnitInAmountText;
//Special settings to use, equi, drop, combine, etc...
//Special settings to use, equi, drop, combine, etc...
public bool canBeUsed;
public bool canBeEquiped;
public bool canBeDropped;
public bool canBeCombined;
public bool canBeUsed;
public bool canBeEquiped;
public bool canBeDropped;
public bool canBeCombined;
public bool canBeExamined = true;
public bool canBeExamined = true;
public bool canBeDiscarded;
public bool canBeDiscarded;
public bool hideSlotOnMenu;
public bool hideSlotOnMenu;
//Behavior elements
//Behavior elements
public bool useNewBehaviorOnUse;
[TextArea (3, 10)] public string newBehaviorOnUseMessage;
[TextArea (3, 10)] public string newBehaviorOnUnableToUseMessage;
public bool useNewBehaviorOnUse;
[TextArea (3, 10)] public string newBehaviorOnUseMessage;
[TextArea (3, 10)] public string newBehaviorOnUnableToUseMessage;
public bool useNewBehaviorOnCombine;
[TextArea (3, 10)] public string newBehaviorOnCombineMessage;
public bool useNewBehaviorOnCombine;
[TextArea (3, 10)] public string newBehaviorOnCombineMessage;
public bool useOneUnitOnNewBehaviourCombine = true;
public bool useOneUnitOnNewBehaviourCombine = true;
public bool useSoundOnUseObject;
public AudioClip soundOnUseObject;
public AudioElement onUseObjectAudioElement;
public bool useSoundOnUseObject;
public AudioClip soundOnUseObject;
public AudioElement onUseObjectAudioElement;
//States
//States
public bool isEquipped;
public bool isEquipped;
public int quickAccessSlotIndex = -1;
public int quickAccessSlotIndex = -1;
public bool useDurability;
public float durabilityAmount = 100;
public bool useDurability;
public float durabilityAmount = 100;
public float maxDurabilityAmount = 100;
public float maxDurabilityAmount = 100;
public bool objectIsBroken;
public bool objectIsBroken;
public float sellMultiplierIfObjectIsBroken = 1;
public float sellMultiplierIfObjectIsBroken = 1;
//Weapon settings
//Weapon settings
public bool isWeapon;
public bool isMeleeWeapon;
public bool isWeapon;
public bool isMeleeWeapon;
public bool isMeleeShield;
public bool isMeleeShield;
public bool isArmorClothAccessory;
public bool isArmorClothAccessory;
public int projectilesInMagazine = -1;
public int projectilesInMagazine = -1;
public weaponObjectInfo mainWeaponObjectInfo;
public weaponObjectInfo mainWeaponObjectInfo;
//Combine object settings
//Combine object settings
public GameObject objectToCombine;
public GameObject combinedObject;
[TextArea (3, 10)] public string combinedObjectMessage;
public GameObject objectToCombine;
public GameObject combinedObject;
[TextArea (3, 10)] public string combinedObjectMessage;
//Vendor settings
//Vendor settings
public bool canBeSold = true;
public bool canBeSold = true;
public float vendorPrice;
public bool infiniteVendorAmountAvailable;
public float vendorPrice;
public bool infiniteVendorAmountAvailable;
public string categoryName;
public string categoryName;
public int categoryIndex;
public int elementIndex;
public int categoryIndex;
public int elementIndex;
public float sellPrice;
public float sellPrice;
public bool useMinLevelToBuy;
public float minLevelToBuy;
public bool useMinLevelToBuy;
public float minLevelToBuy;
//Other settings
//Other settings
public float weight;
public float weight;
public bool spawnObject;
public bool spawnObject;
public bool useCustomObjectToDrop;
public GameObject customObjectToDrop;
public Vector3 dropObjectOffset;
public bool useCustomObjectToDrop;
public GameObject customObjectToDrop;
public Vector3 dropObjectOffset;
public bool cantBeStoredOnInventory;
public bool cantBeStoredOnInventory;
public bool canBeHeld;
public bool canBeHeld;
public bool canBePlaceOnQuickAccessSlot;
public bool canBePlaceOnQuickAccessSlot;
public bool canBeSetOnQuickSlots;
public bool canBeSetOnQuickSlots;
public bool setMaximumAmountPerSlot;
public int maximumAmountPerSlot;
public bool setMaximumAmountPerSlot;
public int maximumAmountPerSlot;
public bool setMaximumObjectAmount;
public int maximumObjectAmount;
//Editor and prefabs settings
public Button button;
public inventoryMenuIconElement menuIconElement;
public GameObject inventoryObjectPrefab;
//Editor and prefabs settings
public Button button;
public inventoryMenuIconElement menuIconElement;
public GameObject inventoryObjectPrefab;
public vendorObjectSlotPanelInfo currentVendorObjectSlotPanelInfo;
public vendorObjectSlotPanelInfo currentVendorObjectSlotPanelInfo;
public GameObject emptyInventoryPrefab;
public GameObject emptyInventoryPrefab;
public inventoryInfo (inventoryInfo obj)
{
Name = obj.Name;
inventoryGameObject = obj.inventoryGameObject;
objectInfo = obj.objectInfo;
icon = obj.icon;
amount = obj.amount;
amountPerUnit = obj.amountPerUnit;
public inventoryInfo (inventoryInfo obj)
{
Name = obj.Name;
inventoryGameObject = obj.inventoryGameObject;
objectInfo = obj.objectInfo;
icon = obj.icon;
amount = obj.amount;
amountPerUnit = obj.amountPerUnit;
infiniteAmount = obj.infiniteAmount;
infiniteAmount = obj.infiniteAmount;
storeTotalAmountPerUnit = obj.storeTotalAmountPerUnit;
storeTotalAmountPerUnit = obj.storeTotalAmountPerUnit;
showAmountPerUnitInAmountText = obj.showAmountPerUnitInAmountText;
showAmountPerUnitInAmountText = obj.showAmountPerUnitInAmountText;
canBeUsed = obj.canBeUsed;
canBeEquiped = obj.canBeEquiped;
canBeDropped = obj.canBeDropped;
canBeCombined = obj.canBeCombined;
canBeUsed = obj.canBeUsed;
canBeEquiped = obj.canBeEquiped;
canBeDropped = obj.canBeDropped;
canBeCombined = obj.canBeCombined;
canBeExamined = obj.canBeExamined;
canBeExamined = obj.canBeExamined;
hideSlotOnMenu = obj.hideSlotOnMenu;
hideSlotOnMenu = obj.hideSlotOnMenu;
useNewBehaviorOnUse = obj.useNewBehaviorOnUse;
newBehaviorOnUseMessage = obj.newBehaviorOnUseMessage;
newBehaviorOnUnableToUseMessage = obj.newBehaviorOnUnableToUseMessage;
useNewBehaviorOnUse = obj.useNewBehaviorOnUse;
newBehaviorOnUseMessage = obj.newBehaviorOnUseMessage;
newBehaviorOnUnableToUseMessage = obj.newBehaviorOnUnableToUseMessage;
useOneUnitOnNewBehaviourCombine = obj.useOneUnitOnNewBehaviourCombine;
useOneUnitOnNewBehaviourCombine = obj.useOneUnitOnNewBehaviourCombine;
useNewBehaviorOnCombine = obj.useNewBehaviorOnCombine;
newBehaviorOnCombineMessage = obj.newBehaviorOnCombineMessage;
useNewBehaviorOnCombine = obj.useNewBehaviorOnCombine;
newBehaviorOnCombineMessage = obj.newBehaviorOnCombineMessage;
useSoundOnUseObject = obj.useSoundOnUseObject;
soundOnUseObject = obj.soundOnUseObject;
onUseObjectAudioElement = obj.onUseObjectAudioElement;
useSoundOnUseObject = obj.useSoundOnUseObject;
soundOnUseObject = obj.soundOnUseObject;
onUseObjectAudioElement = obj.onUseObjectAudioElement;
canBeDiscarded = obj.canBeDiscarded;
canBeDiscarded = obj.canBeDiscarded;
canBeSold = obj.canBeSold;
canBeSold = obj.canBeSold;
vendorPrice = obj.vendorPrice;
infiniteVendorAmountAvailable = obj.infiniteVendorAmountAvailable;
vendorPrice = obj.vendorPrice;
infiniteVendorAmountAvailable = obj.infiniteVendorAmountAvailable;
categoryName = obj.categoryName;
categoryName = obj.categoryName;
categoryIndex = obj.categoryIndex;
elementIndex = obj.elementIndex;
categoryIndex = obj.categoryIndex;
elementIndex = obj.elementIndex;
sellPrice = obj.sellPrice;
sellPrice = obj.sellPrice;
useMinLevelToBuy = obj.useMinLevelToBuy;
minLevelToBuy = obj.minLevelToBuy;
useMinLevelToBuy = obj.useMinLevelToBuy;
minLevelToBuy = obj.minLevelToBuy;
isEquipped = obj.isEquipped;
isEquipped = obj.isEquipped;
quickAccessSlotIndex = obj.quickAccessSlotIndex;
quickAccessSlotIndex = obj.quickAccessSlotIndex;
useDurability = obj.useDurability;
durabilityAmount = obj.durabilityAmount;
useDurability = obj.useDurability;
durabilityAmount = obj.durabilityAmount;
maxDurabilityAmount = obj.maxDurabilityAmount;
maxDurabilityAmount = obj.maxDurabilityAmount;
objectIsBroken = obj.objectIsBroken;
objectIsBroken = obj.objectIsBroken;
sellMultiplierIfObjectIsBroken = obj.sellMultiplierIfObjectIsBroken;
sellMultiplierIfObjectIsBroken = obj.sellMultiplierIfObjectIsBroken;
isWeapon = obj.isWeapon;
isMeleeWeapon = obj.isMeleeWeapon;
isWeapon = obj.isWeapon;
isMeleeWeapon = obj.isMeleeWeapon;
isMeleeShield = obj.isMeleeShield;
isMeleeShield = obj.isMeleeShield;
isArmorClothAccessory = obj.isArmorClothAccessory;
isArmorClothAccessory = obj.isArmorClothAccessory;
projectilesInMagazine = obj.projectilesInMagazine;
projectilesInMagazine = obj.projectilesInMagazine;
mainWeaponObjectInfo = obj.mainWeaponObjectInfo;
mainWeaponObjectInfo = obj.mainWeaponObjectInfo;
weight = obj.weight;
weight = obj.weight;
objectToCombine = obj.objectToCombine;
combinedObject = obj.combinedObject;
combinedObjectMessage = obj.combinedObjectMessage;
button = obj.button;
objectToCombine = obj.objectToCombine;
combinedObject = obj.combinedObject;
combinedObjectMessage = obj.combinedObjectMessage;
button = obj.button;
spawnObject = obj.spawnObject;
spawnObject = obj.spawnObject;
useCustomObjectToDrop = obj.useCustomObjectToDrop;
customObjectToDrop = obj.customObjectToDrop;
dropObjectOffset = obj.dropObjectOffset;
useCustomObjectToDrop = obj.useCustomObjectToDrop;
customObjectToDrop = obj.customObjectToDrop;
dropObjectOffset = obj.dropObjectOffset;
cantBeStoredOnInventory = obj.cantBeStoredOnInventory;
cantBeStoredOnInventory = obj.cantBeStoredOnInventory;
canBeHeld = obj.canBeHeld;
canBeHeld = obj.canBeHeld;
canBePlaceOnQuickAccessSlot = obj.canBePlaceOnQuickAccessSlot;
canBePlaceOnQuickAccessSlot = obj.canBePlaceOnQuickAccessSlot;
canBeSetOnQuickSlots = obj.canBeSetOnQuickSlots;
canBeSetOnQuickSlots = obj.canBeSetOnQuickSlots;
setMaximumAmountPerSlot = obj.setMaximumAmountPerSlot;
maximumAmountPerSlot = obj.maximumAmountPerSlot;
}
setMaximumAmountPerSlot = obj.setMaximumAmountPerSlot;
maximumAmountPerSlot = obj.maximumAmountPerSlot;
public inventoryInfo ()
{
Name = "New Object";
objectInfo = "New Description";
}
setMaximumObjectAmount = obj.setMaximumObjectAmount;
maximumObjectAmount = obj.maximumObjectAmount;
}
public void InitializeAudioElements ()
{
if (soundOnUseObject != null) {
onUseObjectAudioElement.clip = soundOnUseObject;
}
}
public inventoryInfo ()
{
Name = "New Object";
objectInfo = "New Description";
}
public void InitializeAudioElements ()
{
if (soundOnUseObject != null) {
onUseObjectAudioElement.clip = soundOnUseObject;
}
}
public void setNewName (string newName)
{
@@ -261,206 +266,212 @@ public class inventoryInfo
}
public void resetInventoryInfo ()
{
Name = "Empty Slot";
inventoryGameObject = null;
objectInfo = "It is an empty slot";
icon = null;
amount = 0;
amountPerUnit = 0;
{
Name = "Empty Slot";
inventoryGameObject = null;
objectInfo = "It is an empty slot";
icon = null;
amount = 0;
amountPerUnit = 0;
infiniteAmount = false;
infiniteAmount = false;
storeTotalAmountPerUnit = false;
storeTotalAmountPerUnit = false;
showAmountPerUnitInAmountText = false;
showAmountPerUnitInAmountText = false;
canBeUsed = false;
canBeDropped = false;
canBeEquiped = false;
canBeCombined = false;
canBeUsed = false;
canBeDropped = false;
canBeEquiped = false;
canBeCombined = false;
canBeExamined = false;
canBeExamined = false;
hideSlotOnMenu = false;
hideSlotOnMenu = false;
useNewBehaviorOnUse = false;
newBehaviorOnUseMessage = "";
newBehaviorOnUnableToUseMessage = "";
useNewBehaviorOnUse = false;
newBehaviorOnUseMessage = "";
newBehaviorOnUnableToUseMessage = "";
useOneUnitOnNewBehaviourCombine = true;
useOneUnitOnNewBehaviourCombine = true;
useNewBehaviorOnCombine = false;
newBehaviorOnCombineMessage = "";
useNewBehaviorOnCombine = false;
newBehaviorOnCombineMessage = "";
useSoundOnUseObject = false;
soundOnUseObject = null;
onUseObjectAudioElement = null;
useSoundOnUseObject = false;
soundOnUseObject = null;
onUseObjectAudioElement = null;
canBeDiscarded = false;
canBeDiscarded = false;
canBeSold = true;
vendorPrice = 0;
canBeSold = true;
vendorPrice = 0;
sellPrice = 0;
sellPrice = 0;
useMinLevelToBuy = false;
minLevelToBuy = 0;
useMinLevelToBuy = false;
minLevelToBuy = 0;
weight = 0;
weight = 0;
infiniteVendorAmountAvailable = false;
infiniteVendorAmountAvailable = false;
categoryName = "";
categoryName = "";
categoryIndex = 0;
elementIndex = 0;
categoryIndex = 0;
elementIndex = 0;
isEquipped = false;
isEquipped = false;
quickAccessSlotIndex = -1;
quickAccessSlotIndex = -1;
useDurability = false;
durabilityAmount = 100;
useDurability = false;
durabilityAmount = 100;
maxDurabilityAmount = 100;
maxDurabilityAmount = 100;
objectIsBroken = false;
objectIsBroken = false;
sellMultiplierIfObjectIsBroken = 1;
sellMultiplierIfObjectIsBroken = 1;
isWeapon = false;
isMeleeWeapon = false;
isMeleeShield = false;
isWeapon = false;
isMeleeWeapon = false;
isMeleeShield = false;
isArmorClothAccessory = false;
isArmorClothAccessory = false;
projectilesInMagazine = -1;
projectilesInMagazine = -1;
mainWeaponObjectInfo = null;
mainWeaponObjectInfo = null;
objectToCombine = null;
combinedObject = null;
combinedObjectMessage = "";
objectToCombine = null;
combinedObject = null;
combinedObjectMessage = "";
if (menuIconElement != null) {
menuIconElement.icon.texture = null;
menuIconElement.iconName.text = "Empty Slot";
menuIconElement.amount.text = "0";
}
if (menuIconElement != null) {
menuIconElement.icon.texture = null;
menuIconElement.iconName.text = "Empty Slot";
menuIconElement.amount.text = "0";
}
spawnObject = false;
spawnObject = false;
useCustomObjectToDrop = false;
customObjectToDrop = null;
dropObjectOffset = Vector3.zero;
useCustomObjectToDrop = false;
customObjectToDrop = null;
dropObjectOffset = Vector3.zero;
cantBeStoredOnInventory = false;
cantBeStoredOnInventory = false;
canBeHeld = false;
canBeHeld = false;
canBePlaceOnQuickAccessSlot = false;
canBePlaceOnQuickAccessSlot = false;
canBeSetOnQuickSlots = false;
canBeSetOnQuickSlots = false;
setMaximumAmountPerSlot = false;
maximumAmountPerSlot = 0;
}
setMaximumAmountPerSlot = false;
maximumAmountPerSlot = 0;
public inventoryInfo copyInventoryObject (inventoryInfo objectToStore, inventoryInfo objectToCopy)
{
objectToStore.Name = objectToCopy.Name;
objectToStore.inventoryGameObject = objectToCopy.inventoryGameObject;
objectToStore.objectInfo = objectToCopy.objectInfo;
objectToStore.icon = objectToCopy.icon;
setMaximumObjectAmount = false;
maximumObjectAmount = 0;
}
objectToStore.infiniteAmount = objectToCopy.infiniteAmount;
public inventoryInfo copyInventoryObject (inventoryInfo objectToStore, inventoryInfo objectToCopy)
{
objectToStore.Name = objectToCopy.Name;
objectToStore.inventoryGameObject = objectToCopy.inventoryGameObject;
objectToStore.objectInfo = objectToCopy.objectInfo;
objectToStore.icon = objectToCopy.icon;
objectToStore.storeTotalAmountPerUnit = objectToCopy.storeTotalAmountPerUnit;
objectToStore.infiniteAmount = objectToCopy.infiniteAmount;
objectToStore.showAmountPerUnitInAmountText = objectToCopy.showAmountPerUnitInAmountText;
objectToStore.storeTotalAmountPerUnit = objectToCopy.storeTotalAmountPerUnit;
objectToStore.canBeUsed = objectToCopy.canBeUsed;
objectToStore.canBeEquiped = objectToCopy.canBeEquiped;
objectToStore.canBeDropped = objectToCopy.canBeDropped;
objectToStore.canBeCombined = objectToCopy.canBeCombined;
objectToStore.showAmountPerUnitInAmountText = objectToCopy.showAmountPerUnitInAmountText;
objectToStore.canBeExamined = objectToCopy.canBeExamined;
objectToStore.canBeUsed = objectToCopy.canBeUsed;
objectToStore.canBeEquiped = objectToCopy.canBeEquiped;
objectToStore.canBeDropped = objectToCopy.canBeDropped;
objectToStore.canBeCombined = objectToCopy.canBeCombined;
objectToStore.hideSlotOnMenu = objectToCopy.hideSlotOnMenu;
objectToStore.canBeExamined = objectToCopy.canBeExamined;
objectToStore.useNewBehaviorOnUse = objectToCopy.useNewBehaviorOnUse;
objectToStore.newBehaviorOnUseMessage = objectToCopy.newBehaviorOnUseMessage;
objectToStore.newBehaviorOnUnableToUseMessage = objectToCopy.newBehaviorOnUnableToUseMessage;
objectToStore.hideSlotOnMenu = objectToCopy.hideSlotOnMenu;
objectToStore.useOneUnitOnNewBehaviourCombine = objectToCopy.useOneUnitOnNewBehaviourCombine;
objectToStore.useNewBehaviorOnUse = objectToCopy.useNewBehaviorOnUse;
objectToStore.newBehaviorOnUseMessage = objectToCopy.newBehaviorOnUseMessage;
objectToStore.newBehaviorOnUnableToUseMessage = objectToCopy.newBehaviorOnUnableToUseMessage;
objectToStore.useNewBehaviorOnCombine = objectToCopy.useNewBehaviorOnCombine;
objectToStore.newBehaviorOnCombineMessage = objectToCopy.newBehaviorOnCombineMessage;
objectToStore.useOneUnitOnNewBehaviourCombine = objectToCopy.useOneUnitOnNewBehaviourCombine;
useSoundOnUseObject = objectToCopy.useSoundOnUseObject;
soundOnUseObject = objectToCopy.soundOnUseObject;
onUseObjectAudioElement = objectToCopy.onUseObjectAudioElement;
objectToStore.useNewBehaviorOnCombine = objectToCopy.useNewBehaviorOnCombine;
objectToStore.newBehaviorOnCombineMessage = objectToCopy.newBehaviorOnCombineMessage;
objectToStore.isEquipped = objectToCopy.isEquipped;
useSoundOnUseObject = objectToCopy.useSoundOnUseObject;
soundOnUseObject = objectToCopy.soundOnUseObject;
onUseObjectAudioElement = objectToCopy.onUseObjectAudioElement;
objectToStore.quickAccessSlotIndex = objectToCopy.quickAccessSlotIndex;
objectToStore.isEquipped = objectToCopy.isEquipped;
useDurability = objectToCopy.useDurability;
durabilityAmount = objectToCopy.durabilityAmount;
objectToStore.quickAccessSlotIndex = objectToCopy.quickAccessSlotIndex;
maxDurabilityAmount = objectToCopy.maxDurabilityAmount;
useDurability = objectToCopy.useDurability;
durabilityAmount = objectToCopy.durabilityAmount;
objectIsBroken = objectToCopy.objectIsBroken;
maxDurabilityAmount = objectToCopy.maxDurabilityAmount;
sellMultiplierIfObjectIsBroken = objectToCopy.sellMultiplierIfObjectIsBroken;
objectIsBroken = objectToCopy.objectIsBroken;
objectToStore.isWeapon = objectToCopy.isWeapon;
objectToStore.isMeleeWeapon = objectToCopy.isMeleeWeapon;
objectToStore.isMeleeShield = objectToCopy.isMeleeShield;
sellMultiplierIfObjectIsBroken = objectToCopy.sellMultiplierIfObjectIsBroken;
objectToStore.isArmorClothAccessory = objectToCopy.isArmorClothAccessory;
objectToStore.isWeapon = objectToCopy.isWeapon;
objectToStore.isMeleeWeapon = objectToCopy.isMeleeWeapon;
objectToStore.isMeleeShield = objectToCopy.isMeleeShield;
objectToStore.objectToCombine = objectToCopy.objectToCombine;
objectToStore.combinedObject = objectToCopy.combinedObject;
objectToStore.combinedObjectMessage = objectToCopy.combinedObjectMessage;
objectToStore.isArmorClothAccessory = objectToCopy.isArmorClothAccessory;
objectToStore.menuIconElement.icon.texture = objectToCopy.icon;
objectToStore.objectToCombine = objectToCopy.objectToCombine;
objectToStore.combinedObject = objectToCopy.combinedObject;
objectToStore.combinedObjectMessage = objectToCopy.combinedObjectMessage;
objectToStore.canBeDiscarded = objectToCopy.canBeDiscarded;
objectToStore.menuIconElement.icon.texture = objectToCopy.icon;
objectToStore.canBeSold = objectToCopy.canBeSold;
objectToStore.vendorPrice = objectToCopy.vendorPrice;
objectToStore.infiniteVendorAmountAvailable = objectToCopy.infiniteVendorAmountAvailable;
objectToStore.categoryName = objectToCopy.categoryName;
objectToStore.canBeDiscarded = objectToCopy.canBeDiscarded;
objectToStore.categoryIndex = objectToCopy.categoryIndex;
objectToStore.elementIndex = objectToCopy.elementIndex;
objectToStore.canBeSold = objectToCopy.canBeSold;
objectToStore.vendorPrice = objectToCopy.vendorPrice;
objectToStore.infiniteVendorAmountAvailable = objectToCopy.infiniteVendorAmountAvailable;
objectToStore.categoryName = objectToCopy.categoryName;
objectToStore.sellPrice = objectToCopy.sellPrice;
objectToStore.categoryIndex = objectToCopy.categoryIndex;
objectToStore.elementIndex = objectToCopy.elementIndex;
objectToStore.useMinLevelToBuy = objectToCopy.useMinLevelToBuy;
objectToStore.minLevelToBuy = objectToCopy.minLevelToBuy;
objectToStore.sellPrice = objectToCopy.sellPrice;
objectToStore.weight = objectToCopy.weight;
objectToStore.useMinLevelToBuy = objectToCopy.useMinLevelToBuy;
objectToStore.minLevelToBuy = objectToCopy.minLevelToBuy;
objectToStore.spawnObject = objectToCopy.spawnObject;
objectToStore.weight = objectToCopy.weight;
useCustomObjectToDrop = objectToCopy.useCustomObjectToDrop;
customObjectToDrop = objectToCopy.customObjectToDrop;
dropObjectOffset = objectToCopy.dropObjectOffset;
objectToStore.spawnObject = objectToCopy.spawnObject;
objectToStore.cantBeStoredOnInventory = objectToCopy.cantBeStoredOnInventory;
useCustomObjectToDrop = objectToCopy.useCustomObjectToDrop;
customObjectToDrop = objectToCopy.customObjectToDrop;
dropObjectOffset = objectToCopy.dropObjectOffset;
objectToStore.canBeHeld = objectToCopy.canBeHeld;
objectToStore.cantBeStoredOnInventory = objectToCopy.cantBeStoredOnInventory;
objectToStore.canBePlaceOnQuickAccessSlot = objectToCopy.canBePlaceOnQuickAccessSlot;
objectToStore.canBeHeld = objectToCopy.canBeHeld;
objectToStore.canBeSetOnQuickSlots = objectToCopy.canBeSetOnQuickSlots;
objectToStore.canBePlaceOnQuickAccessSlot = objectToCopy.canBePlaceOnQuickAccessSlot;
setMaximumAmountPerSlot = objectToCopy.setMaximumAmountPerSlot;
maximumAmountPerSlot = objectToCopy.maximumAmountPerSlot;
objectToStore.canBeSetOnQuickSlots = objectToCopy.canBeSetOnQuickSlots;
return objectToStore;
}
setMaximumAmountPerSlot = objectToCopy.setMaximumAmountPerSlot;
maximumAmountPerSlot = objectToCopy.maximumAmountPerSlot;
setMaximumObjectAmount = objectToCopy.setMaximumObjectAmount;
maximumObjectAmount = objectToCopy.maximumObjectAmount;
return objectToStore;
}
}

View File

@@ -13,7 +13,8 @@ MonoImporter:
AssetOrigin:
serializedVersion: 1
productId: 40995
packageName: Game Kit Controller - Shooter Melee Adventure Creator 3D + 2.5D
packageVersion: 3.77g
packageName: Game Kit Controller - Shooter Melee Adventure FPS TPS Creator 3D +
2.5D
packageVersion: 3.77h
assetPath: Assets/Game Kit Controller/Scripts/Inventory/inventoryInfo.cs
uploadId: 814740
uploadId: 889948

View File

@@ -13,7 +13,8 @@ MonoImporter:
AssetOrigin:
serializedVersion: 1
productId: 40995
packageName: Game Kit Controller - Shooter Melee Adventure Creator 3D + 2.5D
packageVersion: 3.77g
packageName: Game Kit Controller - Shooter Melee Adventure FPS TPS Creator 3D +
2.5D
packageVersion: 3.77h
assetPath: Assets/Game Kit Controller/Scripts/Inventory/inventoryListElement.cs
uploadId: 814740
uploadId: 889948

View File

@@ -9,7 +9,8 @@ DefaultImporter:
AssetOrigin:
serializedVersion: 1
productId: 40995
packageName: Game Kit Controller - Shooter Melee Adventure Creator 3D + 2.5D
packageVersion: 3.77g
packageName: Game Kit Controller - Shooter Melee Adventure FPS TPS Creator 3D +
2.5D
packageVersion: 3.77h
assetPath: Assets/Game Kit Controller/Scripts/Inventory/inventoryListManager.cs.bak
uploadId: 814740
uploadId: 889948

View File

@@ -13,7 +13,8 @@ MonoImporter:
AssetOrigin:
serializedVersion: 1
productId: 40995
packageName: Game Kit Controller - Shooter Melee Adventure Creator 3D + 2.5D
packageVersion: 3.77g
packageName: Game Kit Controller - Shooter Melee Adventure FPS TPS Creator 3D +
2.5D
packageVersion: 3.77h
assetPath: Assets/Game Kit Controller/Scripts/Inventory/inventoryListManager.cs
uploadId: 814740
uploadId: 889948

View File

@@ -40,6 +40,8 @@ public class inventoryManager : inventoryManagerInfo
public bool infiniteAmountPerSlot;
public int amountPerSlot;
public bool ignoreMaximumObjectAmount;
public bool dropSingleObjectOnInfiniteAmount = true;
public bool useInventoryCameraEnabled = true;
@@ -85,6 +87,10 @@ public class inventoryManager : inventoryManagerInfo
[TextArea (1, 10)]
public string objectTooMuchHeavyToCarryMessage;
public float maxObjectAmountReachedMessageTime = 2;
[TextArea (1, 10)]
public string maxObjectAmountReachedMessage = "Can't store more units of this object";
public bool checkWeightLimitToPickObjects;
public inventoryWeightManager mainInventoryWeightManager;
@@ -104,6 +110,8 @@ public class inventoryManager : inventoryManagerInfo
public bool useMaxNumberOfWeaponsToEquip;
public int maxNumberOfWeaponsToEquip;
public bool takeAmmoFromWeaponsAlreadyCarried;
[TextArea (1, 10)]
public string maxNumberOfWeaponsEquippedMessage;
@@ -266,6 +274,8 @@ public class inventoryManager : inventoryManagerInfo
GameObject previousMessagePanel;
pickUpObject currentPickupObject;
GameObject currentPickupGameObject;
public float distanceToPlaceObjectInCamera = 10;
public float placeObjectInCameraSpeed = 10;
public int numberOfRotationsObjectInCamera = 3;
@@ -1036,6 +1046,11 @@ public class inventoryManager : inventoryManagerInfo
}
}
public bool isInitializingInventory ()
{
return initializingInventory;
}
public bool isInventoryEmpty ()
{
if (inventoryList.Count == 0) {
@@ -1405,6 +1420,94 @@ public class inventoryManager : inventoryManagerInfo
bool canCheckToPickupObject = false;
if (takeAmmoFromWeaponsAlreadyCarried) {
if (showDebugPrint) {
print ("take ammo from fire weapons already carried active, checking pickup info");
}
if (inventoryObjectToPickup.isWeapon && !inventoryObjectToPickup.isMeleeWeapon) {
if (showDebugPrint) {
print ("pickup found is a fire weapon, checking info");
}
if (getInventoryObjectAmountByName (inventoryObjectToPickup.Name) >= 1) {
if (showDebugPrint) {
print ("trying to get a fire weapon already carried, getting ammo info");
}
if (currentPickupGameObject != null) {
bool removePickupResult = false;
weaponOnInventory currentWeaponOnInventory = currentPickupGameObject.GetComponentInChildren<weaponOnInventory> ();
int currentWeaponRemainingAmmo = currentWeaponOnInventory.getRemainingAmmoValue ();
if (showDebugPrint) {
print ("found weapon has ammo on it, checking info " + currentWeaponRemainingAmmo);
}
if (currentWeaponRemainingAmmo > 0 || currentWeaponRemainingAmmo == -1) {
weaponPickup currentWeaponPickup = currentWeaponOnInventory.getWeaponPickup ();
if (currentWeaponPickup != null) {
string currentWeaponPickupName = currentWeaponPickup.getWeaponName ();
if (currentWeaponPickupName != "") {
string currentWeaponAmmoName = weaponsManager.getWeaponAmmoNameByWeaponName (currentWeaponPickupName);
if (showDebugPrint) {
print ("weapon ammo name " + currentWeaponAmmoName);
}
if (currentWeaponAmmoName != "") {
if (currentWeaponRemainingAmmo == -1) {
currentWeaponRemainingAmmo = weaponsManager.getWeaponOriginalClipSize (currentWeaponPickupName);
if (showDebugPrint) {
print ("weapon ammo amount is -1, checking for the original weapon clip size " + currentWeaponRemainingAmmo);
}
}
if (currentWeaponRemainingAmmo > 0) {
inventoryInfo newAmmoInventoryInfo = getInventoryInfoByName (currentWeaponAmmoName);
newAmmoInventoryInfo.amount = currentWeaponRemainingAmmo;
tryToPickUpObject (newAmmoInventoryInfo);
if (showDebugPrint) {
print ("getting ammo from weapon " + currentWeaponPickupName + " " + currentWeaponAmmoName + " " + currentWeaponRemainingAmmo);
}
removePickupResult = true;
currentWeaponPickup.showPickupTakenMessage (currentWeaponAmmoName + " x " + currentWeaponRemainingAmmo);
}
}
}
}
} else {
removePickupResult = true;
}
if (showDebugPrint) {
print ("remove pickup result " + removePickupResult);
}
if (removePickupResult) {
pickUpObject temporalPickupObject = currentPickupGameObject.GetComponent<pickUpObject> ();
if (temporalPickupObject != null) {
temporalPickupObject.setIgnoreMessagesAndDestroyPickupActiveState (true);
}
}
}
return -1;
}
}
}
//Check for the weight of the objects to pick
if (checkWeightLimitToPickObjects && mainInventoryWeightManager != null) {
int amountWhichCanBeTaken = mainInventoryWeightManager.checkIfCanCarryObjectWeight (currentPickUpObjectInfo);
@@ -1441,7 +1544,7 @@ public class inventoryManager : inventoryManagerInfo
canCheckToPickupObject = false;
if (showDebugPrint) {
print ("object too much heavy");
print ("object too heavy");
}
objectWeightMessage = objectTooMuchHeavyToCarryMessage;
@@ -1472,6 +1575,57 @@ public class inventoryManager : inventoryManagerInfo
canCheckToPickupObject = true;
}
if (!ignoreMaximumObjectAmount) {
if (canCheckToPickupObject) {
//check first if there are more units of the object to store and how much
int currentUnitsOfObjectOnInventory = getInventoryObjectAmountByName (currentPickUpObjectInfo.Name);
if (showDebugPrint) {
print ("currentUnitsOfObjectOnInventory " + currentUnitsOfObjectOnInventory);
}
if (currentPickUpObjectInfo.setMaximumObjectAmount) {
if (currentUnitsOfObjectOnInventory <= -1) {
if (showDebugPrint) {
print ("no units carried from this object yet");
}
currentUnitsOfObjectOnInventory = 0;
}
if (currentUnitsOfObjectOnInventory >= currentPickUpObjectInfo.maximumObjectAmount) {
if (showDebugPrint) {
print ("can't take more units of this object, cancelling pickup");
}
canCheckToPickupObject = false;
amountToTake = 0;
inventoryAmountNotTaken = currentPickUpObjectInfo.amount;
} else {
int maxAmountToTake = currentPickUpObjectInfo.maximumObjectAmount - currentUnitsOfObjectOnInventory;
if (amountToTake > maxAmountToTake) {
int amountToRemove = amountToTake - maxAmountToTake;
amountToTake -= amountToRemove;
inventoryAmountNotTaken += amountToRemove;
if (showDebugPrint) {
print ("maxAmountToTake " + maxAmountToTake + " amountToRemove " + amountToRemove);
}
} else {
if (showDebugPrint) {
print ("object can be taken without reaching max amount");
}
}
}
}
}
}
if (canCheckToPickupObject) {
if (infiniteAmountPerSlot) {
addAmountToInventorySlot (currentPickUpObjectInfo, -1, amountToTake);
@@ -2458,6 +2612,11 @@ public class inventoryManager : inventoryManagerInfo
checkEventOnClickInventoryChange ();
}
public bool isIgnoreMaximumObjectAmountActive ()
{
return ignoreMaximumObjectAmount;
}
public bool isCurrentObjectNotNull ()
{
if (currentInventoryObject != null) {
@@ -2718,7 +2877,8 @@ public class inventoryManager : inventoryManagerInfo
if (objectIsMeleeWeapon) {
if (initializingInventory) {
if (mainMeleeWeaponsGrabbedManager.isDrawWeaponAtStartIfFoundOnInitializingInventoryActive () &&
!mainMeleeWeaponsGrabbedManager.characterIsCarryingWeapon () && mainMeleeWeaponsGrabbedManager.meleeWeaponsGrabbedManagerActive) {
!mainMeleeWeaponsGrabbedManager.characterIsCarryingWeapon () &&
mainMeleeWeaponsGrabbedManager.isMeleeWeaponsGrabbedManagerActive ()) {
drawMeleeWeaponAtStart = true;
}
}
@@ -2730,7 +2890,6 @@ public class inventoryManager : inventoryManagerInfo
mainMeleeWeaponsGrabbedManager.enableOrDisableMeleeWeaponMeshOnCharacterBodyByNameAndInstantiateMesh (true, currentInventoryObject.Name);
}
}
//grabPhysicalObjectMeleeAttackSystem currentGrabPhysicalObjectMeleeAttackSystem = mainMeleeWeaponsGrabbedManager.getWeaponGrabbedByName (currentInventoryObject.Name);
}
if (equippedCorrectly) {
@@ -2748,11 +2907,35 @@ public class inventoryManager : inventoryManagerInfo
print ("equipping regular object, like the future armor/cloth system");
}
bool checkMeleeShieldToIgnoreDraw = false;
if (isMeleeShield && initializingInventory) {
if (!mainMeleeWeaponsGrabbedManager.isDrawWeaponAtStartIfFoundOnInitializingInventoryActive () ||
!mainMeleeWeaponsGrabbedManager.isMeleeWeaponsGrabbedManagerActive ()) {
checkMeleeShieldToIgnoreDraw = true;
mainMeleeWeaponsGrabbedManager.setUseEquipShieldCheckWhenActivatingShieldState (true);
}
}
checkIfEquippingArmorClothObjectOnSlotAlreadyOccupied ();
inventoryObject currentInventoryObjectToUse = getInventoryObjectComponentByInventoryGameObject (currentInventoryObject.inventoryGameObject);
equippedCorrectly = currentInventoryObjectToUse.setObjectEquippedStateOnInventoryOnNewBehavior (gameObject, true);
if (checkMeleeShieldToIgnoreDraw && equippedCorrectly) {
string shieldName = mainMeleeWeaponsGrabbedManager.getCurrentShieldName ();
if (shieldName == null || shieldName == "") {
shieldName = currentInventoryObject.Name;
}
//print ("check if the shield should be drawed or not");
mainMeleeWeaponsGrabbedManager.drawOrSheatheShield (false, shieldName, true);
}
}
if (equippedCorrectly) {
@@ -2922,7 +3105,7 @@ public class inventoryManager : inventoryManagerInfo
}
}
if (objectIsWeapon) {
if (objectIsWeapon || isMeleeShield) {
showWeaponSlotsParentWhenWeaponSelectedByName (currentInventoryObject.Name);
}
}
@@ -2997,6 +3180,21 @@ public class inventoryManager : inventoryManagerInfo
eventOnInventoryObjectEquipped.Invoke (currentInventoryObject.Name);
}
}
if (!equippedCorrectly) {
inventoryObject currentInventoryObjectToUse = getInventoryObjectComponentByInventoryGameObject (currentInventoryObject.inventoryGameObject);
string customMessageOnNotAbleToEquip = currentInventoryObjectToUse.getCustomMessageOnNotAbleToEquip ();
if (customMessageOnNotAbleToEquip != "") {
string currentInventoryObjectName = inventoryLocalizationManager.GetLocalizedValue (currentInventoryObject.Name);
customMessageOnNotAbleToEquip = customMessageOnNotAbleToEquip.Replace ("-OBJECT-", currentInventoryObjectName);
showObjectMessage (customMessageOnNotAbleToEquip, usedObjectMessageTime, usedObjectMessage);
}
}
}
}
}
@@ -3186,6 +3384,17 @@ public class inventoryManager : inventoryManagerInfo
}
}
public void setCurrentInventoryObjectAndUnequipByName (string objectToUnequipName)
{
inventoryInfo currentInventoryInfo = getPlayerInventoryInfoByName (objectToUnequipName);
if (currentInventoryInfo != null) {
setCurrentInventoryObject (currentInventoryInfo);
unEquipCurrentObject ();
}
}
public void unEquipObjectByName (string objectToUnequipName)
{
int inventoryListCount = inventoryList.Count;
@@ -3228,10 +3437,10 @@ public class inventoryManager : inventoryManagerInfo
if (updateQuickAccessInventorySlots) {
bool isCustomizingCharacterActive = mainInventoryQuickAccessSlotsSystem.isCustomizingCharacterActive ();
bool isArmorClothAccessory = currentInventoryObject.isArmorClothAccessory;
bool isArmorClothAccessory = currentInventoryInfo.isArmorClothAccessory;
if (isArmorClothAccessory) {
inventoryObjectPrefabObtained = mainInventoryListManager.getInventoryPrefabByName (currentInventoryObject.Name);
inventoryObjectPrefabObtained = mainInventoryListManager.getInventoryPrefabByName (currentInventoryInfo.Name);
if (inventoryObjectPrefabObtained != null) {
armorClothPickup newPickup = inventoryObjectPrefabObtained.GetComponent<armorClothPickup> ();
@@ -4210,6 +4419,11 @@ public class inventoryManager : inventoryManagerInfo
currentPickupObject = newPickupObject;
}
public void setCurrentPickupGameObject (GameObject newObject)
{
currentPickupGameObject = newObject;
}
public void setObjectInfo (inventoryInfo currentInventoryObjectInfo)
{
resetAndDisableNumberOfObjectsToUseMenu ();
@@ -6054,6 +6268,17 @@ public class inventoryManager : inventoryManagerInfo
mainInventoryMenuPanelsSystem.setInventoryPanelByName (panelInfo);
}
public void showMaxObjectAmountReachedMessage (string objectName)
{
string newMaxObjectAmountReachedMessage = maxObjectAmountReachedMessage;
if (objectName != "" && newMaxObjectAmountReachedMessage.Contains ("-OBJECT-")) {
newMaxObjectAmountReachedMessage = newMaxObjectAmountReachedMessage.Replace ("-OBJECT-", objectName);
}
showObjectMessage (newMaxObjectAmountReachedMessage, maxObjectAmountReachedMessageTime, usedObjectMessage);
}
public void showInventoryFullMessage ()
{
if (inventoryFullCoroutine != null) {
@@ -6167,6 +6392,7 @@ public class inventoryManager : inventoryManagerInfo
setOpenOrCloseInventoryMenuState ();
}
public void openOrCloseInventory (bool state)
{
if (state) {

View File

@@ -13,7 +13,8 @@ MonoImporter:
AssetOrigin:
serializedVersion: 1
productId: 40995
packageName: Game Kit Controller - Shooter Melee Adventure Creator 3D + 2.5D
packageVersion: 3.77g
packageName: Game Kit Controller - Shooter Melee Adventure FPS TPS Creator 3D +
2.5D
packageVersion: 3.77h
assetPath: Assets/Game Kit Controller/Scripts/Inventory/inventoryManager.cs
uploadId: 814740
uploadId: 889948

View File

@@ -13,7 +13,8 @@ MonoImporter:
AssetOrigin:
serializedVersion: 1
productId: 40995
packageName: Game Kit Controller - Shooter Melee Adventure Creator 3D + 2.5D
packageVersion: 3.77g
packageName: Game Kit Controller - Shooter Melee Adventure FPS TPS Creator 3D +
2.5D
packageVersion: 3.77h
assetPath: Assets/Game Kit Controller/Scripts/Inventory/inventoryManagerInfo.cs
uploadId: 814740
uploadId: 889948

View File

@@ -13,7 +13,8 @@ MonoImporter:
AssetOrigin:
serializedVersion: 1
productId: 40995
packageName: Game Kit Controller - Shooter Melee Adventure Creator 3D + 2.5D
packageVersion: 3.77g
packageName: Game Kit Controller - Shooter Melee Adventure FPS TPS Creator 3D +
2.5D
packageVersion: 3.77h
assetPath: Assets/Game Kit Controller/Scripts/Inventory/inventoryMenuIconElement.cs
uploadId: 814740
uploadId: 889948

View File

@@ -13,7 +13,8 @@ MonoImporter:
AssetOrigin:
serializedVersion: 1
productId: 40995
packageName: Game Kit Controller - Shooter Melee Adventure Creator 3D + 2.5D
packageVersion: 3.77g
packageName: Game Kit Controller - Shooter Melee Adventure FPS TPS Creator 3D +
2.5D
packageVersion: 3.77h
assetPath: Assets/Game Kit Controller/Scripts/Inventory/inventoryMenuPanelsSystem.cs
uploadId: 814740
uploadId: 889948

View File

@@ -3,84 +3,93 @@ using System.Collections;
public class inventoryObject : MonoBehaviour
{
[Header ("Main Settings")]
[Space]
[Header ("Main Settings")]
[Space]
public inventoryInfo inventoryObjectInfo;
public inventoryInfo inventoryObjectInfo;
[Space]
[Header ("Main Inventory Object Settings")]
[Space]
[Space]
[Header ("Main Inventory Object Settings")]
[Space]
public objectOnInventory mainObjectOnInventory;
public objectOnInventory mainObjectOnInventory;
[Space]
[Header ("Inventory Settings")]
[Space]
[Space]
[Header ("Inventory Settings")]
[Space]
public bool useZoomRange = true;
public float maxZoom = 30;
public float minZoom = 100;
public float initialZoom = 46;
public bool useZoomRange = true;
public float maxZoom = 30;
public float minZoom = 100;
public float initialZoom = 46;
[Space]
[Space]
public Vector3 meshPositionOffset;
public Vector3 meshRotationOffset;
public Vector3 meshPositionOffset;
public Vector3 meshRotationOffset;
private void Start ()
{
inventoryObjectInfo.InitializeAudioElements ();
}
private void Start ()
{
inventoryObjectInfo.InitializeAudioElements ();
}
public void useObjectOnNewBehavior (GameObject currentPlayer, int amountToUse)
{
if (mainObjectOnInventory != null) {
mainObjectOnInventory.activateUseObjectActionOnInventory (currentPlayer, amountToUse);
}
}
public void useObjectOnNewBehavior (GameObject currentPlayer, int amountToUse)
{
if (mainObjectOnInventory != null) {
mainObjectOnInventory.activateUseObjectActionOnInventory (currentPlayer, amountToUse);
}
}
public void useObjectOnNewBehaviorWithExternalCharacter (GameObject currentPlayer, GameObject currentExternalCharacterForInventoryUsage, int amountToUse)
{
if (mainObjectOnInventory != null) {
mainObjectOnInventory.activateUseObjectActionOnInventoryWithExternalCharacter (currentPlayer, currentExternalCharacterForInventoryUsage, amountToUse);
}
}
public void useObjectOnNewBehaviorWithExternalCharacter (GameObject currentPlayer, GameObject currentExternalCharacterForInventoryUsage, int amountToUse)
{
if (mainObjectOnInventory != null) {
mainObjectOnInventory.activateUseObjectActionOnInventoryWithExternalCharacter (currentPlayer, currentExternalCharacterForInventoryUsage, amountToUse);
}
}
public void combineObjectsOnNewBehavior (GameObject currentPlayer, inventoryInfo inventoryInfoToUse)
{
if (mainObjectOnInventory != null) {
mainObjectOnInventory.activateCombineObjectActionOnInventory (currentPlayer, inventoryInfoToUse);
}
}
public void combineObjectsOnNewBehavior (GameObject currentPlayer, inventoryInfo inventoryInfoToUse)
{
if (mainObjectOnInventory != null) {
mainObjectOnInventory.activateCombineObjectActionOnInventory (currentPlayer, inventoryInfoToUse);
}
}
public void carryPhysicalObjectFromInventory (GameObject currentPlayer)
{
if (mainObjectOnInventory != null) {
mainObjectOnInventory.carryPhysicalObjectFromInventory (currentPlayer);
}
}
public void carryPhysicalObjectFromInventory (GameObject currentPlayer)
{
if (mainObjectOnInventory != null) {
mainObjectOnInventory.carryPhysicalObjectFromInventory (currentPlayer);
}
}
public void eventOnPickObjectNewBehaviour (GameObject currentPlayer)
{
if (mainObjectOnInventory != null) {
mainObjectOnInventory.eventOnPickObject (currentPlayer);
}
}
public void eventOnPickObjectNewBehaviour (GameObject currentPlayer)
{
if (mainObjectOnInventory != null) {
mainObjectOnInventory.eventOnPickObject (currentPlayer);
}
}
public void eventOnDropObjectNewBehaviour (GameObject currentPlayer)
{
if (mainObjectOnInventory != null) {
mainObjectOnInventory.eventOnDropObject (currentPlayer);
}
}
public void eventOnDropObjectNewBehaviour (GameObject currentPlayer)
{
if (mainObjectOnInventory != null) {
mainObjectOnInventory.eventOnDropObject (currentPlayer);
}
}
public bool setObjectEquippedStateOnInventoryOnNewBehavior (GameObject currentPlayer, bool state)
{
if (mainObjectOnInventory != null) {
return mainObjectOnInventory.setObjectEquippedStateOnInventory (currentPlayer, state);
}
public bool setObjectEquippedStateOnInventoryOnNewBehavior (GameObject currentPlayer, bool state)
{
if (mainObjectOnInventory != null) {
return mainObjectOnInventory.setObjectEquippedStateOnInventory (currentPlayer, state);
}
return false;
}
return false;
}
public string getCustomMessageOnNotAbleToEquip ()
{
if (mainObjectOnInventory != null) {
return mainObjectOnInventory.getCustomMessageOnNotAbleToEquip ();
}
return "";
}
}

View File

@@ -13,7 +13,8 @@ MonoImporter:
AssetOrigin:
serializedVersion: 1
productId: 40995
packageName: Game Kit Controller - Shooter Melee Adventure Creator 3D + 2.5D
packageVersion: 3.77g
packageName: Game Kit Controller - Shooter Melee Adventure FPS TPS Creator 3D +
2.5D
packageVersion: 3.77h
assetPath: Assets/Game Kit Controller/Scripts/Inventory/inventoryObject.cs
uploadId: 814740
uploadId: 889948

View File

@@ -13,7 +13,8 @@ MonoImporter:
AssetOrigin:
serializedVersion: 1
productId: 40995
packageName: Game Kit Controller - Shooter Melee Adventure Creator 3D + 2.5D
packageVersion: 3.77g
packageName: Game Kit Controller - Shooter Melee Adventure FPS TPS Creator 3D +
2.5D
packageVersion: 3.77h
assetPath: Assets/Game Kit Controller/Scripts/Inventory/inventoryObjectToEquipInfo.cs
uploadId: 814740
uploadId: 889948

View File

@@ -13,7 +13,8 @@ MonoImporter:
AssetOrigin:
serializedVersion: 1
productId: 40995
packageName: Game Kit Controller - Shooter Melee Adventure Creator 3D + 2.5D
packageVersion: 3.77g
packageName: Game Kit Controller - Shooter Melee Adventure FPS TPS Creator 3D +
2.5D
packageVersion: 3.77h
assetPath: Assets/Game Kit Controller/Scripts/Inventory/inventoryPrefabCreationSystem.cs
uploadId: 814740
uploadId: 889948

View File

@@ -13,7 +13,8 @@ MonoImporter:
AssetOrigin:
serializedVersion: 1
productId: 40995
packageName: Game Kit Controller - Shooter Melee Adventure Creator 3D + 2.5D
packageVersion: 3.77g
packageName: Game Kit Controller - Shooter Melee Adventure FPS TPS Creator 3D +
2.5D
packageVersion: 3.77h
assetPath: Assets/Game Kit Controller/Scripts/Inventory/inventorySlotOptionsButtons.cs
uploadId: 814740
uploadId: 889948

View File

@@ -13,7 +13,8 @@ MonoImporter:
AssetOrigin:
serializedVersion: 1
productId: 40995
packageName: Game Kit Controller - Shooter Melee Adventure Creator 3D + 2.5D
packageVersion: 3.77g
packageName: Game Kit Controller - Shooter Melee Adventure FPS TPS Creator 3D +
2.5D
packageVersion: 3.77h
assetPath: Assets/Game Kit Controller/Scripts/Inventory/inventoryWeightManager.cs
uploadId: 814740
uploadId: 889948

View File

@@ -13,7 +13,8 @@ MonoImporter:
AssetOrigin:
serializedVersion: 1
productId: 40995
packageName: Game Kit Controller - Shooter Melee Adventure Creator 3D + 2.5D
packageVersion: 3.77g
packageName: Game Kit Controller - Shooter Melee Adventure FPS TPS Creator 3D +
2.5D
packageVersion: 3.77h
assetPath: Assets/Game Kit Controller/Scripts/Inventory/meleeShieldInventoryPrefabCreationSystem.cs
uploadId: 814740
uploadId: 889948

View File

@@ -13,7 +13,8 @@ MonoImporter:
AssetOrigin:
serializedVersion: 1
productId: 40995
packageName: Game Kit Controller - Shooter Melee Adventure Creator 3D + 2.5D
packageVersion: 3.77g
packageName: Game Kit Controller - Shooter Melee Adventure FPS TPS Creator 3D +
2.5D
packageVersion: 3.77h
assetPath: Assets/Game Kit Controller/Scripts/Inventory/meleeWeaponConsumableInventoryPrefabCreationSystem.cs
uploadId: 814740
uploadId: 889948

View File

@@ -13,7 +13,8 @@ MonoImporter:
AssetOrigin:
serializedVersion: 1
productId: 40995
packageName: Game Kit Controller - Shooter Melee Adventure Creator 3D + 2.5D
packageVersion: 3.77g
packageName: Game Kit Controller - Shooter Melee Adventure FPS TPS Creator 3D +
2.5D
packageVersion: 3.77h
assetPath: Assets/Game Kit Controller/Scripts/Inventory/meleeWeaponInventoryPrefabCreationSystem.cs
uploadId: 814740
uploadId: 889948

View File

@@ -13,7 +13,8 @@ MonoImporter:
AssetOrigin:
serializedVersion: 1
productId: 40995
packageName: Game Kit Controller - Shooter Melee Adventure Creator 3D + 2.5D
packageVersion: 3.77g
packageName: Game Kit Controller - Shooter Melee Adventure FPS TPS Creator 3D +
2.5D
packageVersion: 3.77h
assetPath: Assets/Game Kit Controller/Scripts/Inventory/playerInventoryCategoriesListManager.cs
uploadId: 814740
uploadId: 889948

View File

@@ -13,7 +13,8 @@ MonoImporter:
AssetOrigin:
serializedVersion: 1
productId: 40995
packageName: Game Kit Controller - Shooter Melee Adventure Creator 3D + 2.5D
packageVersion: 3.77g
packageName: Game Kit Controller - Shooter Melee Adventure FPS TPS Creator 3D +
2.5D
packageVersion: 3.77h
assetPath: Assets/Game Kit Controller/Scripts/Inventory/simpleInventoryContentManager.cs
uploadId: 814740
uploadId: 889948

View File

@@ -13,7 +13,8 @@ MonoImporter:
AssetOrigin:
serializedVersion: 1
productId: 40995
packageName: Game Kit Controller - Shooter Melee Adventure Creator 3D + 2.5D
packageVersion: 3.77g
packageName: Game Kit Controller - Shooter Melee Adventure FPS TPS Creator 3D +
2.5D
packageVersion: 3.77h
assetPath: Assets/Game Kit Controller/Scripts/Inventory/simpleInventorySlotOptionsButton.cs
uploadId: 814740
uploadId: 889948

View File

@@ -13,7 +13,8 @@ MonoImporter:
AssetOrigin:
serializedVersion: 1
productId: 40995
packageName: Game Kit Controller - Shooter Melee Adventure Creator 3D + 2.5D
packageVersion: 3.77g
packageName: Game Kit Controller - Shooter Melee Adventure FPS TPS Creator 3D +
2.5D
packageVersion: 3.77h
assetPath: Assets/Game Kit Controller/Scripts/Inventory/useInventoryObject.cs
uploadId: 814740
uploadId: 889948

View File

@@ -13,7 +13,8 @@ MonoImporter:
AssetOrigin:
serializedVersion: 1
productId: 40995
packageName: Game Kit Controller - Shooter Melee Adventure Creator 3D + 2.5D
packageVersion: 3.77g
packageName: Game Kit Controller - Shooter Melee Adventure FPS TPS Creator 3D +
2.5D
packageVersion: 3.77h
assetPath: Assets/Game Kit Controller/Scripts/Inventory/weaponAttachmentInventoryPrefabCreationSystem.cs
uploadId: 814740
uploadId: 889948

View File

@@ -13,7 +13,8 @@ MonoImporter:
AssetOrigin:
serializedVersion: 1
productId: 40995
packageName: Game Kit Controller - Shooter Melee Adventure Creator 3D + 2.5D
packageVersion: 3.77g
packageName: Game Kit Controller - Shooter Melee Adventure FPS TPS Creator 3D +
2.5D
packageVersion: 3.77h
assetPath: Assets/Game Kit Controller/Scripts/Inventory/weaponInventoryPrefabCreationSystem.cs
uploadId: 814740
uploadId: 889948