Quantcast
Browsing all 94 articles
Browse latest View live

SelectionGrid is not returning a value!!

I've written an Inventory system and have come to a point where I want a small submenu to popup in the form of a selection grid, except that the selection grid isn't returning any value, it stays the...

View Article


Why am I getting a null reference?

if (response is IList) { IList buddy = (List) response; for(int i=0;i

View Article


Can I have toggle buttons in a selection grid?

I am trying to create a group of buttons where the user is able to have up to x buttons toggled at the same time. Is is possible to use selection grid to do this or must I create some custom code. My...

View Article

Problem using GUILayout.SelectionGrid

Hello everyone, I’m having a problem which I’m starting to think that is a bug of the tool. I’m trying to do a UI customizing the styles, I need a GUILayout.SelectionGrid but it is not working...

View Article

Help with Lists and SelectionGrid

Hello, I have two questions to ask about the Lists because I am making an inventory. 1) I use GUILayout.SelectionGrid, who show a string List. In these List there are my items, like Axe or Sword. So in...

View Article


reference array item relative to selectiongrid button

I have a listof strings and a list of textures, both are added/remoted simultaniously, so each item in the list is assosiated with the other in the other string. For example, my string list might be...

View Article

Using selection grid to activate text boxes

Sorry if this is answered somewhere else but I cannot seem to find it. I am trying to create a selection grid and actually have the buttons on the grid create a box where the user can input text,...

View Article

GUI.SelectionGrid for multiplayer?

I'm a little confused about how I can make this usable for multiplayer (up to four players). using UnityEngine; using System.Collections; using System.Collections.Generic; public class GameManager :...

View Article


Grid on Ship

I want a grid to cover my ship only and nothing else. Currently I'm using a plane for the textures (1x1 grid blocks tiled 40x40) but I can use a terrain, quad, or whatever is needed to make this work....

View Article


3d selection grid

I know there are an abundance of resources on 2d selections boxes, and I've used them in the past. For my game, I think a 3d selection box would be a lot more accurate. Here's an example of what I mean...

View Article

To send Raycasting to four corners ?

Measure the distance between the mouse click and the box.I am trying to do it using code Vector3.Distance. ![alt text][1] Hi, I click on the object on the grid with the mouse and I want you to show the...

View Article

Scaling GUILayout selection grid content without changing size of selection...

Hello Unity community, I created a custom editor window and used GUILayout.SelectionGrid to make my own selection grid using textures. I was able to get my own prefabs showing and get it to scale based...

View Article

Change slection grid content texture size/scale

I am using a gui.selection grid with textures for an inventory system. I noticed that with gui skin you can change just about everything concerning the grid's cells, but NOT any image you assign to...

View Article


GUILayout Selection Grid Colour

Hey there, I have a GUILayout.Selection grid. However, when I click on one of the icons, I'd like to change it's colour when it's selected, so it stands out from the back drop (its currently light grey...

View Article
Browsing all 94 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>