PlayerController: Don't require PlayerCamera

This commit is contained in:
MrGadget 2024-08-10 14:49:10 -04:00
parent 64f5a67d3c
commit 015596e810

View File

@ -5,7 +5,6 @@
namespace Mirror.Examples.Common.Controllers.Player namespace Mirror.Examples.Common.Controllers.Player
{ {
[AddComponentMenu("")] [AddComponentMenu("")]
[RequireComponent(typeof(PlayerCamera))]
[RequireComponent(typeof(Rigidbody))] [RequireComponent(typeof(Rigidbody))]
[RequireComponent(typeof(CapsuleCollider))] [RequireComponent(typeof(CapsuleCollider))]
[RequireComponent(typeof(CharacterController))] [RequireComponent(typeof(CharacterController))]