Tags » Scripting

The myth of the Created date stamp.

Want a script to delete files that are older than a certain date? Lets say more then 30 days old.
Your mind first races to the created date stamp. 206 more words

Windows

Unity: Scripting A Basic Shader

I spent a few hours today learning the basics of scripting surface shaders in Unity. Using the ShaderLab and Cg languages, I created a shader that handles Diffuse, Normal, Specular, and Emissive maps, as well as alpha channels. 73 more words

Environment Art

Alpha Update: Comrade Quest

We had our alpha test for Comrade Quest on Tuesday. We definitely have some things to improve on, but overall I think it went well. 471 more words

Level Design

Scripting Changes to Java’s deployment.properties File

Java…bane of network admins everywhere, and quite possibly the largest security risk ever unleased on the Internet. Yet as much as best-practices say just don’t install Java, the reality is many websites and applications require it, and in working with Java you may find the need to change certain settings. 311 more words

Java

Scripting Tutorial: Stay Out of the Light

I’ve been working on scripting some stealth mechanics with C# in Unity. Below is a tutorial/design explanation that will take you through the process of creating the following mechanics in a Unity game: 83 more words

Level Design

Basic GUI-Menu (Window-based)

using UnityEngine;
using System.Collections;

public class CSharpGui : MonoBehaviour
{
bool escape = false;
public bool doWindow0 = true;
public GUISkin mySkin;
Rect windowRect0 = new Rect (Screen.width / 2 – 175, Screen.height / 2 – 150, 350, 300);

81 more words
C#

Exploring the World of GUI’s.

using UnityEngine;
using System.Collections;

public class GUICustom : MonoBehaviour {

public bool isPressed = false;

//Call OnGUI Function
void OnGUI()

83 more words
C#