Ejemplo n.º 1
0
    void Start()
    {
        instance = this;
        var opts = new APILoadingOptions();

        opts.api  = "Hanoi";
        opts.code = "-- test program\nprint(Chandelier.NumFittings())";
        opts.args = "{\"numFittings\": 3, \"numChandeliers\": 5}";
        StartCoroutine(ApiFactory.LoadAPI(opts));
    }