public static TimerObject SetGUITimer(Callback cb) { GameObject t = new GameObject("TimerObject GUI Timer"); TimerObject timer = t.AddComponent <TimerObject>(); timer.SetGUITimer(cb); return(timer); }
public static TimerObject SetGUITimer(Callback cb) { GameObject t = new GameObject("TimerObject GUI Timer"); TimerObject timer = t.AddComponent <TimerObject>(); timer.SetGUITimer(cb); return(timer); }