Beispiel #1
0
    void Start()
    {
        _oqt   = GetComponent <OQtouch>();
        _oqt.L = GameObject.Find("OculusTouchL");
        _oqt.R = GameObject.Find("OculusTouchR");

        _drone             = GetComponent <UObject>();
        _drone.Name        = "drone";
        _blade_front_left  = _drone.GetChild("blade_front_left");
        _blade_front_right = _drone.GetChild("blade_front_right");
        _blade_back_left   = _drone.GetChild("blade_back_left");
        _blade_back_right  = _drone.GetChild("blade_back_right");
    }