RSS

Tag Archives: window

Unity: Detect GUI Window Created/Closed Event


On StackOverflow, someone asks how to detect the GUI Window Created/Closed Event, which Unity3D does not ship an off-the-shelf solution.

Below is my solution to this problem: to use property setter to handle this. Here is the sample code:

enter image description here

Read the rest of this entry »

Advertisements
 
Leave a comment

Posted by on June 11, 2015 in Programming, Unity 3d

 

Tags: , , , , , , , , , , , ,

Gradle: SDK location not found, the problem and solution


In a recent project, I created a Gradle project in windows, but when I load the project in Ubuntu and Mac OSX, an error “SDK location not found. Define location with sdk.dir in the local.properties file or with an ANDROID_HOME environment variable”

image

I then followed the instruction, and in the ~/.bashrc file, I added the environment variable ANDROID_HOME

image

Read the rest of this entry »

 
8 Comments

Posted by on July 2, 2014 in General, Linux, Mac, Programming, Windows

 

Tags: , , , , , , , , , , , , ,