public void setEnd(EndGameControl egc) { egc.win = end.win; egc.winClip = end.winClip; egc.gameOverClip = end.gameOverClip; egc.finalTime = "Final Time: " + getTimeFromFloat(finalTime); egc.StartEnd(); egc.FixText(endDisplay); }
public void setEndTextState(GameObject endText) { gameObject.GetComponent <EndGameControl>().FixText(endText); end.StartEnd(); }