RSS

Tag Archives: programmatically

Bing Search in C#: A step by step walk-through tutorial


This blog is the 3rd article of the series Search in C# example demonstration. If you are interested in my earlier blogs in this series, please refer to below blogs:

In this blog, I am going to walk through how to do Bing Web Search using the latest v5 API.

BingSearch

Read the rest of this entry »

 
1 Comment

Posted by on December 15, 2016 in Dotnet/C#, Programming

 

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

Unity3D: Get inspector property values programatically


Recently, I found an interesting question in Unity3D. How to get some field value shown in Unity3D inspector programmatically? Largely this is an undocumented area, and it took me some research to get this done.

In what follows, I am getting the value for Input Manage Axes, as shown below:

image

Read the rest of this entry »

 
Leave a comment

Posted by on October 25, 2016 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: , , , , , , , , , , ,

Google Search in C#: A step by step walk-through tutorial


In previous post, the implementation of Google book search in C# is discussed. In this post, the similar approach is used to implement Google Custom Search in C#.

image

Download the source project at Github here.

Read the rest of this entry »

 
8 Comments

Posted by on December 23, 2014 in Dotnet/C#, Programming

 

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

Unity3D 4.6 UI: get the button and handle the click event in code


In the new Unity3D UI in v4.6, it is much easier to design fancy UI right within Unity without tertiary tools such as NGUI.

One question frequently met is: how to get access the UI elements such as text, button object in code? Here is the tip:

image

Read the rest of this entry »

 
2 Comments

Posted by on December 12, 2014 in Programming, Unity 3d

 

Tags: , , , , , , , , ,