public PlayerData() { buildingInPossession = new List <Builder>(); characterInPossession = new List <Character>(); resourceInPossession = new ResourceDictionary(); equipmentInPossession = new EquipmentDictionary(); currentActivities = new ActivityProgressDictionary(); expandedArea = new List <int>(); level = 1; characterWaitingInLine = new List <Character>(); allDeadCharacter = new DeadCharacterDictionary(); }
public PlayerData() { // UID = ""// FirebaseAuth.DefaultInstance.CurrentUser?.UserId; buildingInPossession = new List <Builder>(); characterInPossession = new List <Character>(); resourceInPossession = new ResourceDictionary(); equipmentInPossession = new EquipmentDictionary(); currentActivities = new ActivityProgressDictionary(); expandedArea = new List <int>(); level = 1; characterWaitingInLine = new List <Character>(); allDeadCharacter = new DeadCharacterDictionary(); }
protected override void OnInitialize() { allProcessingActivies = new ActivityProgressDictionary(); androidNotificationSchedule = new DictionaryIntToString(); #if UNITY_ANDROID AndroidNotificationChannel notificationChannel = new AndroidNotificationChannel() { Id = $"Channel1", Name = "AcitiviyFinished", Importance = Importance.High, Description = "AcitiviyFinishedChannel" }; AndroidNotificationCenter.RegisterNotificationChannel(notificationChannel); AndroidNotificationCenter.CancelAllDisplayedNotifications(); #endif }