Hello World
From Unify Community Wiki
Contents |
Description
Example of traditional "Hello World" with Unity3D in three support languages.
The output is sent to the console window in Unity3D Editor.
Code
UnityScript - HelloWorld.js
print("Hello World");
C# - CSHelloWorld.cs
using UnityEngine; class CSHelloWorld : MonoBehaviour { void Start() { print("Hello World"); } }
Boo - BooHelloWorld.boo
import UnityEngine class BooHelloWorld (MonoBehaviour): def Start (): print("Hello World")