void SetCameraTarget(Transform t)
 {
     target = t;
     if (target != null) {
         if (target.GetComponent<OldentidePlayerController>()) {
             playerController = target.GetComponent<OldentidePlayerController>();
         }
         else {
             Debug.LogError("The camera's target needs to have the Oldentide Player Controller.");
         }
     }
     else {
         Debug.LogError("Your camera needs a target.");
     }
 }
 void SetCameraTarget(Transform t)
 {
     target = t;
     if (target != null)
     {
         if (target.GetComponent <OldentidePlayerController>())
         {
             playerController = target.GetComponent <OldentidePlayerController>();
         }
         else
         {
             Debug.LogError("The camera's target needs to have the Oldentide Player Controller.");
         }
     }
     else
     {
         Debug.LogError("Your camera needs a target.");
     }
 }