public void OnClickReward(RewardProperties _currentProperty)
 {
     if (_currentProperty.GetStatus() == RewardStatusEnum.UNLOCKED)
     {
         GameApplication.Instance.GetService <ILobbyService>().SavePlayerConfig(_currentProperty);
     }
 }
 public void SetConfig(RewardProperties _rewardProperty)
 {
 }
Esempio n. 3
0
 public void OnButtonClicked(RewardProperties rewardProperties)
 {
     sceneController.OnClickReward(rewardProperties);
 }
Esempio n. 4
0
 public void SavePlayerConfig(RewardProperties _currentProperty)
 {
     dummyController.SetMaterial(_currentProperty.GetMaterialFromData());
     SaveMaterial(_currentProperty.GetMaterialFromData());
 }
        public void SpawnRewardPrefab(RewardProperties _currProperty)
        {
            GameObject _currInstance = GameObject.Instantiate(_currProperty.gameObject) as GameObject;

            _currInstance.transform.SetParent(parentLayout.transform);
        }