Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | Roket |
I know that I can create a method for rpc something like this:
void Rifle::_register_methods()
{
register_method("_shoot", &Rifle::_shoot, GODOT_METHOD_RPC_MODE_SYNC);
}
And call it: rpc("name")
Сan i create a variable that i can modify remotely?