Files
Slendytubbies-V2-Beta/V2Beta/Assets/Scripts/Assembly-CSharp/Player.cs
T
2026-05-24 12:14:04 +02:00

16 lines
352 B
C#

using UnityEngine;
public class Player : MonoBehaviour
{
private void Start()
{
if (!base.GetComponent<NetworkView>().isMine)
{
Object.Destroy(GetComponent<FPSInputController>());
Object.Destroy(GetComponent<CharacterMotor>());
Object.Destroy(GetComponent<CharacterController>());
Object.Destroy(GetComponent<MouseLook>());
}
}
}