iTween MoveTo not working at all

its a simple script but gives me a handful of errors that I dont understand how…

heres my code `

using UnityEngine;
using System.Collections;

public class Buttons : MonoBehaviour {

public GameObject cameraMain;

public void Start (){

iTween.MoveTo(cameraMain, Vector3(728.25 , 54.517 , 374.57) , 2);
}
}`

here’s my errors:

[33195-bandicam+2014-10-01+23-09-33-226.jpg|33195]

its the same three everytime, and i have narrowed it to Line 10, obviously, but i CANNOT figure out whats wrong…?!

This has nothing to do with iTween not working. iTween works fine. These are compile errors which means that it happens before the game even runs, so iTween has no chance of even starting to do anything at all.

There are multiple errors in your script.

  1. Vector3 are classes and needs to be initialized with the new keyword: new Vector3(…
  2. floating point values needs to be defined with an f to know what they are: 728.25f
  3. Lastly you have an apostrophe at the end of the last line which should not be there.