Quantcast
Channel: Latest Questions by TomDanes87
Browsing all 12 articles
Browse latest View live

Opposite angle rotation

I have an object I would like to rotate around Y axis. I'd like the object to rotate the same direction of the twist movement of the fingers ![Like This][1] At the moment I am using FingureGesture to...

View Article



GUI.Button Toggling Error

Hello, I am trying to toggle game objects visibility via GUI Button.,20), toggleBool, "turn on/off"); And I get the following error: **No appropriate version of 'UnityEngine.GUI.Button' for the...

View Article

Get all objects within radius of mouse click.

Hello, I am trying to get all the objects within a radius of a mouse click/touch. I have had a look around, and I think I am to use Physics.OverLapSphere Here is what I have so far: public void...

View Article

How to select adjacent cubes along edges?

I have a grid of cubes, I am using raycasting to select which ones are hit. public void Click1(object h) { RaycastHit hit = (RaycastHit)h; GameObject hitGameObject = hit.collider.gameObject;...

View Article

Unexpected symbol - but I can't see where.

List GetRowCol(float x, float y) { List list = new List(); } Or am I overlooking something really fundamental here?

View Article


Nested Array? Populating a menu using a loop.

Hello, I am trying to populate a scrollable menu with items from a sqlite database. Below is the code for the menu: Rect rScrollFrame = new Rect(listMargin.x, listMargin.y, listSize.x, listSize.y);...

View Article

Opposite angle rotation

I have an object I would like to rotate around Y axis. I'd like the object to rotate the same direction of the twist movement of the fingers ![Like This][1] At the moment I am using FingureGesture to...

View Article

GUI.Button Toggling Error

Hello, I am trying to toggle game objects visibility via GUI Button.,20), toggleBool, "turn on/off"); And I get the following error: **No appropriate version of 'UnityEngine.GUI.Button' for the...

View Article


Get all objects within radius of mouse click.

Hello, I am trying to get all the objects within a radius of a mouse click/touch. I have had a look around, and I think I am to use Physics.OverLapSphere Here is what I have so far: public void...

View Article


How to select adjacent cubes along edges?

I have a grid of cubes, I am using raycasting to select which ones are hit. public void Click1(object h) { RaycastHit hit = (RaycastHit)h; GameObject hitGameObject = hit.collider.gameObject;...

View Article

Unexpected symbol - but I can't see where.

List GetRowCol(float x, float y) { List list = new List(); } Or am I overlooking something really fundamental here?

View Article

Nested Array? Populating a menu using a loop.

Hello, I am trying to populate a scrollable menu with items from a sqlite database. Below is the code for the menu: Rect rScrollFrame = new Rect(listMargin.x, listMargin.y, listSize.x, listSize.y);...

View Article
Browsing all 12 articles
Browse latest View live




Latest Images

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