示例#1
0
    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();
    }
示例#2
0
 // Use this for initialization
 void Start()
 {
     highFiveController = GameObject.Find("Player").GetComponent <HighFiveController>();
 }