public void OnClickReward(RewardProperties _currentProperty) { if (_currentProperty.GetStatus() == RewardStatusEnum.UNLOCKED) { GameApplication.Instance.GetService <ILobbyService>().SavePlayerConfig(_currentProperty); } }
public void SetConfig(RewardProperties _rewardProperty) { }
public void OnButtonClicked(RewardProperties rewardProperties) { sceneController.OnClickReward(rewardProperties); }
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); }