Merge branch 'feature/addMiniGame' of https://bitbucket.org/usaya/popcorn into feature/addMiniGame

This commit is contained in:
水谷圭吾 2022-07-01 10:48:51 +09:00
commit 6c50ad7b06
1 changed files with 9 additions and 3 deletions

View File

@ -19,13 +19,19 @@ namespace MyGame.Scenes.MiniGame.Scripts
[SerializeField] private Button resetPlayCountButton;
[SerializeField] private Button allHiScoreButton;
private void Start()
#if UNITY_EDITOR || DEVELOPMENT_BUILD
#else
private void Awake()
{
#if !UNITY_EDITOR
Destroy(resetScoreButton);
Destroy(resetPlayCountButton);
Destroy(allHiScoreButton);
#else
}
#endif
#if UNITY_EDITOR || DEVELOPMENT_BUILD
private void Start()
{
isDebug.AddTo(this);
resetScoreButton.OnClickAsObservable().Subscribe(_ =>