Firstborn/Library/PackageCache/com.unity.inputsystem@1.5.1/Samples~/SimpleMultiplayer/SimpleMultiplayerPlayer.cs
Schaken-Mods 9092858a58 updated to the latest editor
I updated everything to the latest Unity Editor. Also realized I had the wrong shaders on my hairs, those are fixed and the hairs look MUCH better!
2023-05-07 17:43:11 -05:00

12 lines
364 B
C#

using UnityEngine;
public class SimpleMultiplayerPlayer : MonoBehaviour
{
// Just add *some* kind of movement. The specifics here are not of interest. Serves just to
// demonstrate that the inputs are indeed separate.
public void OnTeleport()
{
transform.position = new Vector3(Random.Range(-75, 75), 0.5f, Random.Range(-75, 75));
}
}