Items looking smashed when crounching
Hey guys! I'm coding my player's crouching and my player is holding an object (which is a child). When he crouches the object looks smashed as the code works by changing the player's Y scale. Is there...
View ArticleWeapon always on top
I need my weapon to always be on top but still get the correct shadows. I already have a separate camera rendering the item and another for everything else but the item doesn't get any of the shadows...
View ArticleRemoving item from inventory not updating correct based on order
I'm trying to do a inventory system, the way it works is that I have an empty gamebject that holds in a list all items that I have collected and on my UI, I have a object that holds 20 prefabs that...
View ArticleItem limit for my basket
Hello I'm a beginner in game dev and I'm trying to make a simple shopping game where players can only add 10 items to their basket but I don't know how to add a limit to the capacity in my basket in...
View ArticleHow does Skinned Mesh Renderer exactly works? Problems with changing player...
Hi, So I have this MMORPG project and I'm using a character from the Brackeys RPG tutorial**(picture)** I have a blend file for it for adding items to the rig and I'm using my own Animation Controller...
View ArticleNeed help with the pickup mechanic!
This is the script:` { public static Item Instance; public GameObject item; public GameObject ItemHandSlot; public Camera mainCam; public static bool isPickedUp; public bool isPicked; public float...
View ArticleItem is missing in inventory slot after i pick up and delete the item. C#
Helloo, I'm working on a inventory for my game, and i can pick up items that will be put in the inventory. After i pick it up i see the image in the inv, but after deleting the object from the scene i...
View ArticleCall function based off enum state?
So im working on a game that has the player use a variety of items, all tied to the same 3 keys (i.e. if itemKey1 has the greatsword state, then pressing itemKey1 will use the greatsword). at the...
View ArticleHow can I access the item wizard?,how can I access the item wizard?
Hello, I'm currently in the process of programming an inventory where you have to access the Item wizard, but I don't have the path Assets -> item -> item wizard. It just doesn't exist, where can...
View ArticleChecking for every item in crafting system?
I started coding a crafting system, and it's working, except for one small problem. It doesn't check for *every* material, just one. I tried different ways of fixing it (foreach loop, for loop, if...
View ArticleCannot convert from 'int' to 'PlayFab.ClientModels.ItemInstance'
I understand why I'm getting this error, but I'm not sure exactly how to fix it. ---------- I'm making a store page in my game. It checks PlayFab for all the info of the item catalog and gets the...
View ArticleI want to know how to drop my item with a keyboard button
I want to be able to remove the items from my inventory when I push Q, this is the code for picking up the items public class PlayerInventory : MonoBehaviour { public InventoryObject inventory; public...
View ArticleHow do I make a item system with ScriptableObjects where different items can...
Okay so I have a ScriptableObject item system (items can be consumables, weapons, etc), The item ScriptableObject contains data like itemType, icon, damage, durability etc... I have inventory slot...
View ArticleSelecting a variable to modify from a ScriptableObject?
Hey, I have a system that allows the player to collect items to improve their stats. Each item is a ScriptableObject with a couple of fields: name, description, and icon. I also want to be able to...
View ArticleList limits element size
I have created a list for item database but even if i added a new item, list doesnt show the rest of the item except 2 elemets. public List itemDatabase = new List(); public Sprite[] spriteBox = new...
View ArticleScroll Rect item selection one by one with arrow keys.
Hi there, I'm trying to accomplish something like this: ---------- ![alt text][1] ---------- The idea is to have a list of objects in a Scroll Rect and whenever the player clicks on an arrow key (up or...
View ArticleResources folder items not in the build
Hi I made some images and audio-mixers in resources folder to use later. As in the title, after the build. My items not in the folder and some of my scripts are giving error, because of that. How can I...
View Articlehow to detect wich item i have in my inevntory
i found a video on youtube wich showed me how to make a inventory system. I made some changes but now i dont understand how to check wich items are in my inventory. In my ItemObj scrip i tried the...
View ArticleManaging Item Types
I have an Inventory System, where only certain types of Items should be able to be filled into predetermined Slots. For the first basic Prototype I was using an ItemType : Scriptable Object, of which...
View ArticleHow do I delete a specific prefab clone ?
My itemspawner is spawning a Cube Prefab (my Item) at a 5 sec intervall. Each Cube has a sphere collider wich is a trigger. In the script i gave each cube a value of 1. (the Item amount) I want to...
View Article