Esempio n. 1
0
    // Init all commands.
    public LibraryConsoleCommands()
    {
        Unigine.Console.AddCommand(
            "get_object_forward",
            "Command for ray casting before camera and Log object",
            GetObjectForward);
        Interpreter.AddExternFunction("get_object_forward2", SimpleObjectForward, "");

        Console.AddCommand("jump_sp",
                           "Jump to spawn point, by default jump to last, or call `jump_sp 2` it will second jump point",
                           JumpToSpawnPoint);
    }