Ejemplo n.º 1
0
    // Use this for initialization
    void Start()
    {
        // Load the builtins, since we need everyone to stay in sync, for RPCs.
        LoadBehaviorLibrary();

        bool ok = voosEngine.Recompile(BuildSystemSource());

        if (!ok)
        {
            throw new System.Exception("Failed to compile behavior system source - this is fatal!");
        }

        initialized = true;
    }