void Start() { Physics.gravity = new Vector3(0, -jumpFactor, 0); joystick = GameObject.Find ("CNJoystick").GetComponent<CNJoystick> (); timeController = GameObject.Find("TimeController").GetComponent<TimeController>(); //subscribe to the recorder for recording movement recorder = GameObject.Find ("TimeController").GetComponent<Recorder> (); recorder.Subscribe (this); }