using UnityEngine;
using System.Collections;
public class Flashlight : MonoBehaviour {
public var flashlight : GameObject;
function Start()
{
}
function Update()
{
}
}
Assets/Scripts/Flashlight.cs(6,23): error CS1519: Unexpected symbol `:' in class, struct, or interface member declaration
Assets/Scripts/Flashlight.cs(6,43): error CS1519: Unexpected symbol `;' in class, struct, or interface member declaration
Whats wrong with the ':' & ';'?