add panData DebugLog

This commit is contained in:
kimura 2022-04-15 17:03:17 +09:00
parent 2d623e564e
commit b906dbefc9
1 changed files with 13 additions and 0 deletions

View File

@ -126,6 +126,19 @@ public class PopcornGameManager : MonoBehaviour
// フライパン設定 // フライパン設定
gameView.SetPan(panData.GetPrefab()); gameView.SetPan(panData.GetPrefab());
thermalControl.SetPanData(panData); thermalControl.SetPanData(panData);
#if UNITY_EDITOR
Debug.Log($@"
name = {panData.Name}
panFactor = {panData.panFactor}
deadZone = {panData.deadZone}
baseIncreaseSpeed = {panData.baseIncreaseSpeed}
coldIncreaseSpeed = {panData.coldIncreaseSpeed}
hotIncreaseSpeed = {panData.hotIncreaseSpeed}
maxDecreaseSpeed = {panData.maxDecreaseSpeed}
yellowSize = {panData.yellowSize}
randomRange = {panData.randomRange}
");
#endif
cornManager.SetCornsActive(true); cornManager.SetCornsActive(true);
compositeDisposable.Clear(); compositeDisposable.Clear();
cornManager.Result.SkipLatestValueOnSubscribe() cornManager.Result.SkipLatestValueOnSubscribe()