public static ActionControl GetInstance() { if (instanceAction != null) { return instanceAction; } lock (typeof(ActionControl)) { if (instanceAction == null) { instanceAction = new ActionControl(); } return instanceAction; } }
public static ActionControl GetInstance() { if (instanceAction != null) { return(instanceAction); } lock (typeof(ActionControl)) { if (instanceAction == null) { instanceAction = new ActionControl(); } return(instanceAction); } }
public void Paused(bool pause) { ActionControl.GetInstance().Paused(pause, original); }