multiplayer stuff
This commit is contained in:
14
Assets/jelycho/Code/Beacons/Beacon.cs
Normal file
14
Assets/jelycho/Code/Beacons/Beacon.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
using Unity.Netcode;
|
||||
using UnityEngine;
|
||||
|
||||
namespace RebootReality.jelycho.Beacons {
|
||||
public class Beacon : NetworkBehaviour {
|
||||
[SerializeField] BeaconGraphics m_Graphics;
|
||||
[field: SerializeField] public Transform RopeConnectionPoint { get; private set; }
|
||||
|
||||
[ClientRpc]
|
||||
public void GrowClientRpc() {
|
||||
m_Graphics.Grow();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user