コード例 #1
0
    private void Start()
    {
        GameObject eatingSphere = GameObject.Find("OVRCameraRig").transform
                                  .Find("TrackingSpace")
                                  .Find("CenterEyeAnchor")
                                  .Find("EatingSphere")
                                  .gameObject;

        puzzleController.AddPuzzle(eatingSphere.GetComponent <GardenBulbPuzzle>());
        puzzleController.AddPuzzle(GardenBasketPuzzle.instance);
    }