public void SSActionEvent(SSAction source, SSActionEventType events = SSActionEventType.Competeted, int intParam = 0, string strParam = null) { if (autoNext) { judgement.setCountdown(); StartCoroutine(Next()); } }
public void SSActionEvent(SSAction source, SSActionEventType events = SSActionEventType.Competeted, int intParam = 0, string strParam = null) { runSequence.Remove(source); if (this.callback != null) { this.callback.SSActionEvent(source); } }
public void SSActionEvent(SSAction source, SSActionEventType events = SSActionEventType.Competeted, int intParam = 0, string strParam = null) { UFO ufo = source.gameobject.GetComponent <UFO>(); if (!ufo.isClicked) { Judge.getInstance().subScore(ufo.score); } UFOFactory.getInstance().free(source.gameobject); }
public void SSActionEvent(SSAction source, SSActionEventType events = SSActionEventType.Competeted, int intParam = 0, string strParam = null) { UFO ufo = source.gameobject.GetComponent <UFO>(); if (!ufo.isClicked) { Judge.getInstance().subScore(ufo.score); } UFOFactory.getInstance().free(source.gameobject); runSequence.Remove(source); if (runSequence.Count <= 0) { if (this.callback != null) { this.callback.SSActionEvent(source); } } }
public void addAction(SSAction action) { runSequence.Add(action); action.Start(); }
public void addWaitAction(SSAction action) { waitSequence.Add(action); }