public override void OnStartLocalPlayer() { floorMask = LayerMask.GetMask ("Floor"); anim = GetComponent<Animator> (); playerRigidbody = GetComponent<Rigidbody> (); playerCamera = Camera.main.GetComponent<CameraFollow> (); playerCamera.setPlayerTransform (transform); }