public override void StartPlayerState() { base.StartPlayerState(); if (!targetedEnemy || targetedEnemy == null) { targetedEnemy = FindTargetedEnemy(); Debug.Log("Closest enemy is " + targetedEnemy.name); } cameraController.SetLookAtTarget(zTargetPosition.transform); cameraController.SetFollowTarget(zTargetPosition.transform); cameraController.SetIsZTargeting(true); isTargeting = true; playerAnimationController.HandlePlayerIsZTargeting(isTargeting); }