Menu Events public static string menuOpenEvent Menu Open Загрузка сцен

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
// Menu Events
public static string menuOpenEvent = "Menu:Open"; // Загрузка сцены Menu
public static string menuOpenSettingsEvent = "Menu:Settings:Open";
public static string menuCloseSettingsEvent = "Menu:Settings:Close";
public static string menuUnitChangedEvent = "Menu:UnitChanged"; // Смена юнита
// Settings Events
public static string settingsChangeNameEvent = "Settings:ChangeName";
public static string settingsSoundsOnEvent = "Settings:Sounds:On";
public static string settingsSoundsOffEvent = "Settings:Sounds:Off";
public static string settingsVibrationOnEvent = "Settings:Vibration:On";
public static string settingsVibrationOffEvent = "Settings:Vibration:Off";
// Tutorial Events
public static string tutorialStartEvent = "Tutorial:Start";
public static string tutorialFinishEvent = "Tutorial:Finish";
// Game Events
public static string gameStartEvent = "Game:Start";
public static string gamePlayerWinEvent = "Game:Player:Win";
public static string gamePlayerLoseEvent = "Game:Player:Lose";
public static string gameTimeoutEvent = "Game:Timeout";
// Ads Events
// Ниже методы, отрабатывающие на события appodeal
public static string adsInterstitialStartEvent = "Ads:Interstitial:Start";
public static string adsInterstitialClickedEvent = "Ads:Interstitial:Clicked";
public static string adsInterstitialExpiredEvent = "Ads:Interstitial:Expired";
public static string adsInterstitialClosedEvent = "Ads:Interstitial:Closed";
public static string adsInterstitialShownEvent = "Ads:Interstitial:Shown";
public static string adsRewardedVideoStartEvent = "Ads:RewardedVideo:Start";
public static string adsRewardedVideoFinishEvent = "Ads:RewardedVideo:Finish";
public static string adsRewardedVideoExpiredEvent = "Ads:RewardedVideo:Expired";
public static string adsRewardedVideoClosedEvent = "Ads:RewardedVideo:Closed";
public static string adsRewardedVideoShownEvent = "Ads:RewardedVideo:Shown";
// IAP Events
public static string iapPurchaseStart = "IAP:Purchase:Start"; // Началась покупка
public static string iapPurchaseFail = "IAP:Purchase:Fail"; // Покупка не удалась
public static string iapPurchaseFinish = "IAP:Purchase:Finish"; // Покупка успешно совершена
public static string iapRestoreStart = "IAP:Restore:Start"; // Восстанавили успешно
public static string iapRestoreFail = "IAP:Restore:Fail"; // Не удалось восстановить
public static string iapInitFail = "IAP:Init:Fail"; // Не удалось инициализировать IAP