void Start() { screenTouch = GameObject.Find("Canvas").transform.Find("SimpleTouch").GetComponent <SimpleTouchController>(); characterController = GetComponent <CharacterController>(); moveTarget = new Vector3(0, 0, RunSpeed); highFiveController = GetComponent <HighFiveController>(); currentHandDirection = HandDirection.Normal; OnHandDirectionChanged(); }
// Use this for initialization void Start() { highFiveController = GameObject.Find("Player").GetComponent <HighFiveController>(); }