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 ArticleGUI.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 ArticleGet 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 ArticleHow 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 ArticleUnexpected 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 ArticleNested 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 ArticleOpposite 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 ArticleGUI.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 ArticleGet 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 ArticleHow 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 ArticleUnexpected 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 ArticleNested 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
More Pages to Explore .....