Esempio n. 1
0
File: Level.cs Progetto: roaet/LD28
	public void BringUpInn() {
		m_state = TurnState.inn;
		innQueued = false;
		Vector3 curPosition = inn.transform.position;
		curPosition.y = 0.1f;
		inn.InitializeInn(storyTrack.GetActiveElement().eventInfo);
		iTween.MoveTo (inn.gameObject, iTween.Hash("position", curPosition,
		                                             "easetype", iTween.EaseType.easeOutBounce,
		                                             "oncompletetarget", this.gameObject,
		                                             "oncomplete", "InnOpened"));
	}