public void Flip(){ //Flip player character
		flipped = !flipped;
		Player = GameManager.PlayerCharacter.GetComponent<NavMeshAgent>();
		speechBubble = Player.GetComponentInChildren<SpeechBubble>();
	
		Player.transform.localScale = new Vector3 (Player.transform.localScale.x * -1, Player.transform.localScale.y, Player.transform.localScale.z);
		speechBubble.transform.localScale = new Vector3(speechBubble.transform.localScale.x * -1, speechBubble.transform.localScale.y, speechBubble.transform.localScale.z);
	}
 // Use this for initialization
 void Start()
 {
     // agentSelected = false;
     agent = GetComponent<NavMeshAgent>();
     //Rend = GetComponent<Renderer>();
     skinRend = agent.GetComponentInChildren<SkinnedMeshRenderer>();
     //Rend.enabled = true;
     cam.enabled = false;
 }
	public void Flip(){ //Flip player character
		if(gameObject.GetComponent<NavMeshAgent>()!=null && gameObject.tag!="DontFlip" ) 
		{
			agent = gameObject.GetComponent<NavMeshAgent>();

			flipped = !flipped;
			speechBubble = agent.GetComponentInChildren<SpeechBubble> ();
			agent.transform.localScale = new Vector3 (agent.transform.localScale.x * -1, agent.transform.localScale.y, agent.transform.localScale.z);
			speechBubble.transform.localScale = new Vector3 (speechBubble.transform.localScale.x * -1, speechBubble.transform.localScale.y, speechBubble.transform.localScale.z);

		}
	}
	// Use this for initialization
	void Start () {
		Player = GameManager.PlayerCharacter.GetComponent<NavMeshAgent>();
		playerMove = Player.GetComponent<NoahMove> ();
		speechBubble = Player.GetComponentInChildren<SpeechBubble>();

	}