Ejemplo n.º 1
0
	void Start() {
		lastFrameTime = Time.time;
		playerPoint = GameObject.Find ("CharacterCentralPoint");
		GameObject.Find ("Player").GetComponent<Animator> ().Play ("Fly");
		simpleControl = GameObject.Find ("CharacterCentralPoint").GetComponent<SimpleControl> ();
		if (simpleControl.isFacedRight)
			simpleControl.Flip ();
	}