void Start() { flatty = GetComponentInChildren <FlatbedController>(); recordedInput = gameObject.AddComponent <inputRecording>(); recordedInput.setRecordStart(this.transform.position); }
// Use this for initialization void Start() { recordedInput = gameObject.AddComponent <inputRecording>(); recordedInput.setRecordStart(this.transform.position); }