实验性
Contains APIs to enable/disable player input permissions.
Camera input permissions for the player. If set to true, input relating to camera movement is enabled for the player.
Movement input permissions for the player. If set to true input relating to movement is enabled for the player.
Returns true if an input permission is enabled.
无法在只读模式下调用此函数,详见 WorldBeforeEvents。
This function can throw errors.
Error
Enable or disable an input permission. When enabled the input will work, when disabled will not work.
Contains APIs to enable/disable player input permissions.