Пример #1
0
		public static ActionControl GetInstance() {
			if (instanceAction != null) {
				return instanceAction;
			}
			 lock (typeof(ActionControl)) {
						if (instanceAction == null) {
							instanceAction = new ActionControl();
						}
						return instanceAction;
					}
		}
Пример #2
0
 public static ActionControl GetInstance()
 {
     if (instanceAction != null)
     {
         return(instanceAction);
     }
     lock (typeof(ActionControl)) {
         if (instanceAction == null)
         {
             instanceAction = new ActionControl();
         }
         return(instanceAction);
     }
 }
Пример #3
0
 public void Paused(bool pause)
 {
     ActionControl.GetInstance().Paused(pause, original);
 }