Inventory Dragging Item Problem
Hello, I am having quite an issue with my inventory system right now. I want to drag items and I want to detect if the selected item was dragged onto an actual slot or not. I created a really basic...
View ArticleCooldown effect for a sprite
Hi all, What I need is i have a slot for an object which after placed on something, it has a recharge time say 10 seconds. I need a transparent grayed out effect which moves from left to right.....
View ArticleHow do I make my inventory find the first slot available?
I already tried to do this but when ever I pick up an item it takes it to only the second slot! Inventory script: using UnityEngine; using System.Collections; using System.Collections.Generic; public...
View ArticleBrackeys Inventory Package, adding icons to empty slots...
I am a C# programmer and have no UnityScript knowledge at all, so I require assistance with this matter. This is the script for the character window, which is very nicely commented completely. I am...
View ArticleUMA slot creation
Hi, I'm trying to create an armor slot for my character, i followed the tutorial on UMA wiki for slot creation in blender. The armor mesh is scaled to fit the male body, i have weight painted it, i...
View ArticleGetting error- "Argument is out of range, parameter name: index"
Here is my code....I have a feeling it is to do with my Items1 list not having anything in it, but I don't actually know how to add them to it! Am a noob and got all this from a youtube video. using...
View ArticleToggle Inventory script
I created an inventory system with Canvas where a script instantiate a number of slots in it. Now i want to create a script that enable/disable the inventory and can block the movement of the player....
View ArticleHow to make an inventory Paging on Unity C# ?
Hi everyones, How to make an inventory with 3 Storage. For example : if i push storage 1 button it will show 20 Slots at inventory, if i push storage 2 button it will show from 21 Slots until 40 Slots...
View ArticleInventory master no slotscript.cs?
hello i found this awesome Inventory asset in the asset store that i want to use in my game and im having some issues getting it running correctly. for some reason i and getting this error. I did set...
View ArticleHow to click and drag images into multiple slots?
I can already know how to have the pieces occupy one slot. But how can make it so that If i drag an image over mini-slots that the image takes up more than one slot. ![alt text][1] Kind of like below:...
View Articleneed unity to connect with online admin panel and view credits,login system etc
Hello i would like to build a admin panel which will show user data like credits available to play in account , update credits,reset credits etc. how can i make unity 3d store game data on website. i.e...
View ArticleGrid Inventory : Move Item & Slot Highlighting
Hi ! I'm working on an inventory system with large items (Diablo/Men of War/Commandos/"insertnameofagamehere"-style) for an RPG, but I can't find a proper way to move an item from one group of slot to...
View ArticleCheck if items are in correct slot using Unity3D UI
I am developing a game in which there are several slots on screen and after performing real life calculations the player chooses the items from its inventory and add it to certain slot present. Now...
View ArticleProblem when scrolling through inventory slots
Hi, I'm almost finished making my inventory system, and I am using the mouse wheel as a method for the player to scroll through their inventory.slots. The problem here is that the GUI that hovers over...
View Articleslide the item left -right sides in inventory?
hi, In inventory , when i move and put away "x" item to "y" item; I want "x" replaced that slot (instead of "y") and "y" moves right or left available slot automatically. How can I do that? Please.. In...
View ArticleAccess to slot Item
I want to get the "Item id" to put in the > (Slot1.GetChild(0).tag == "Item") so i know what item its inside the slot and then spawn it. if (Input.GetKeyDown (KeyCode.Alpha1)) { if...
View ArticleCan't figure out how to code equipment slots
I'm trying to make the item icon in my equipment slots show up when an item is equipped, and I can't find a way to reference the other scripts in my EquipSlot script. I tried maybe referencing it as an...
View ArticleTooltip offset when hover over object with Scale with Screen Size
So I am having problem with on hover tooltip UI element to follow mouse cursor with some offset. I do not want for ui element to be centered on cursor while following it, but to have some offset...
View ArticleProblem with slots [Album of cards]
The drag and drop is done and paste like figures but it is not a method to leave as fixed figures for a specific slot Would anyone know to answer a way to leave the figure fixed to that slot?...
View ArticleBest approach in making Inventory UseItem functionality.
Hello everyone, I've been trying things out lately and ran into one 'issue'. I made an inventory system. Everytime you right click with mouse on the inventory slot that contains an item you get a menu...
View ArticleCan I keep the gui.box in a variable?
Hi everyone. I am working on the 2D slot game. I created the pictures with GUI.Box in my code. My slots are like the 3x5 matrix. I wanna write win method but it must be like that: picture in the first...
View ArticleChange object being affected by onPress() interaction,Apply functions...
I have a menu attached to the palm of my hand, which has some buttons that trigger some functions I coded (like rotation of an object around specific axis, for example). Those functions are applied to...
View ArticleGetting the sum of random values in the dictionary
Hello all! Coding C# question here! I have inventory with 4 different objects: Lemon, Apple, Coffee, Mango each object has different score: 20, 40, 60, 80 (respectively). I want to use dictionary to...
View ArticleGetting the sum of random values from Dictionary
Hello all! Coding C# question here! I have inventory with 4 different objects: Lemon, Apple, Coffee, Mango each object has different score: 20, 40, 60, 80 (respectively). I want to use dictionary to...
View ArticleDetection of Overlap is offset by about 16.5f and increases based on scale.
Two scripts one for Slot one for Item. _ **Issue** Once scale of Item goes over 4x4 the Overlap detection goes off by about 16.5f. Ideally the detection be right and on point no matter the scale even...
View ArticleI'm having Unity go through a large number of iterations using for loops. How...
I'm running slot math simulations in Unity using for loops which iterate through a large number of random screens. I typically run 10 to 100 million simulations in a single run which, depending on the...
View ArticleSelect next slot with keybutton
Hi all, I got stuck with a issue. For my game, I want to make my game work properly on a ps4 controller. I have 4 slots for the player to carry weapons or items. What I try to do is, whenever the...
View ArticleSelect slot with same key
Hello, I have an inventory in my game and when the player plays with controller, it switches to the controller input. Well with the keyboard, it is simple. the player can select which slot he want to...
View ArticleSlot Prefab instantiating outside of set parent
I'm working through a tutorial from a few years ago so it's doubtful I'd get any help from the original video, so I turn to you. This script is attached to an image inside of a canvas, inside of...
View ArticlegameObjects transform on top of each other
i am working on a card game which you have to build a deck everytime before starting a match but everytime I try to manage my cards in the slots they just transform on top of each other.here the code`...
View Article