Beispiel #1
0
    void Start()
    {
        StandardAPI.output   = Debug.Log;
        StandardAPI.input    = null;
        Interpreter.debugOut = Debug.Log;
        Interpreter.errorOut = Debug.LogError;
        Interpreter.Init(32);

        mini = Interpreter.Instance;

        Bootloader.CreateReference();
        FileAPI.CreateReference();
        StandardAPI.Load(mini);

        game.AddAll(mini);
        go.Init(mini, transform, prefabs);
        go.AddAll();

        for (int i = 0; i < transform.childCount; i++)
        {
            go.AddTranform(transform.GetChild(i));
        }
    }