using Gs2.Realtime.Sync; using UnityEngine; public sealed class AdventureRoomPlayer : MonoBehaviour { private void Update() { var move = new Vector3(Input.GetAxisRaw("Horizontal"), 0, Input.GetAxisRaw("Vertical")); transform.position += move.normalized * (3f * Time.deltaTime); if (Input.GetKeyDown(KeyCode.Space)) GetComponent().Rpc(nameof(AdventureRoomEmote.Wave), RpcTarget.All); } }