Improve interface accessibility and UI reliability
This commit is contained in:
parent
ba4476511f
commit
3734d4a168
29 changed files with 514 additions and 224 deletions
|
|
@ -78,10 +78,10 @@ func get_avatar(peer_id: int) -> Player:
|
|||
return _avatars.get(peer_id)
|
||||
|
||||
|
||||
func set_peer_presentation_visible(peer_id: int, visible: bool) -> void:
|
||||
func set_peer_presentation_visible(peer_id: int, should_be_visible: bool) -> void:
|
||||
var avatar: Player = _avatars.get(peer_id)
|
||||
if avatar != null and is_instance_valid(avatar):
|
||||
avatar.set_remote_presentation_visible(visible)
|
||||
avatar.set_remote_presentation_visible(should_be_visible)
|
||||
|
||||
|
||||
func get_peer_ids() -> Array[int]:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue