RSS

Tag Archives: code

Unity3D: using Visual Studio Code and hide meta and other unwanted files


Go to Visual Studio Code preference, click “Preference” > “User Settings” or “Project Settings”, add below code in the “Settings.Json” file:

vscode_hide2

// Place your settings in this file to overwrite the default settings
{
    "files.exclude": {
    "**/*.meta": true,
    "Temp": true,
    "Library": true,
    "ProjectSettings": true,
    "obj": true,
    ".vs": true,
    ".vscode": true,
    "Assembly-C*.*": true,
    "*.csproj":true,
    "*.orig":true,
    "*.user":true,
    "*.userprefs":true
    }
}

 

Now, the VS code will cleanly show the files that you need.

Advertisements
 
Leave a comment

Posted by on September 25, 2015 in Programming, Unity 3d

 

Tags: , , , , , , , , ,

Unity3D: How to create a link button, with fun


How to create a link style button in Unity3D? Here the considerations include:

  1. The link button should look like a label, instead of a button
  2. The link button should work like a button, with clickable responses such as navigating to a URL;
  3. When the mouse hovers, the mouse cursor should look like a hand cursor, instead of the arrow cursor.

image

 

Read the rest of this entry »

 
Leave a comment

Posted by on January 21, 2015 in Programming, Unity 3d

 

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