|
Post by Panos on Aug 2, 2015 18:15:58 GMT
C# Syntax
using UnityEngine; using System.Collections;
public class ExampleSyntax : MonoBehaviour { int myInt = 5; int MyFunction (int number) { int ret = myInt * number; return ret; } }
UnityScript Syntax
#pragma strict
var myInt : int = 5;
function MyFunction (number : int) : int { var ret = myInt * number; return ret; }
Your thoughts?
|
|