短縮/収穫時にバイブ追加
This commit is contained in:
parent
851a74fe94
commit
d8d7149d98
|
|
@ -55,7 +55,7 @@ public class CornField : MonoBehaviour
|
|||
plants[ii].Harvested.Subscribe(_ =>
|
||||
{
|
||||
// 収穫
|
||||
|
||||
VibrationManager.Instance.PlayVibrationOnce();
|
||||
var harvest = Instantiate(harvestPrefab, plants[ii].transform);
|
||||
this.CallWaitForSeconds(.5f, () =>
|
||||
{
|
||||
|
|
@ -77,6 +77,7 @@ public class CornField : MonoBehaviour
|
|||
|
||||
promoteGrowthButton.OnClickAsObservable().Subscribe(_ =>
|
||||
{
|
||||
VibrationManager.Instance.PlayVibrationOnce();
|
||||
for (int i = 0; i < plants.Count; i++)
|
||||
{
|
||||
if (Random.Range(0, 2) == 0){
|
||||
|
|
|
|||
Loading…
Reference in New Issue