public static bool AddActionToButton(Action action, Func <bool> isAvailable, string buttonName) { Game.LogTrivial(Assembly.GetCallingAssembly().GetName().Name + " requesting a PoliceSmartRadio action to be added to " + buttonName); //Game.LogTrivial("DoneLoading?" + DisplayHandler.DoneLoadingTextures); return(DisplayHandler.AddActionToButton(action, isAvailable, Assembly.GetCallingAssembly().GetName().Name, buttonName)); }