示例#1
0
	public void Init(WaitPhase phase, DialogueEditorWaitTypes type, float duration){
		this.phase = phase;
		this.type = type;
		this.duration = duration;
		elapsed = 0;
		go = true;
	}
示例#2
0
	private void waitComplete(){
		go = false;
		phase.waitComplete();
		phase = null;
		Destroy(this.gameObject);
	}