initial upload
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
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>());
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user