不要処理削除

This commit is contained in:
kimura 2021-07-26 12:39:07 +09:00
parent faa5e8f569
commit d1fccc463b
1 changed files with 0 additions and 6 deletions

View File

@ -32,9 +32,6 @@ public class CornManager : MonoBehaviour
public IReadOnlyReactiveProperty<CornResult> Result => result; public IReadOnlyReactiveProperty<CornResult> Result => result;
private readonly ReactiveProperty<CornResult> result = new ReactiveProperty<CornResult>(); private readonly ReactiveProperty<CornResult> result = new ReactiveProperty<CornResult>();
private float worldWidth;
private float worldHeight;
private static readonly float maxSpilledHeight = 4f;
private Corn[] cornArray; private Corn[] cornArray;
private bool isHot; private bool isHot;
private bool isCompleted; private bool isCompleted;
@ -58,9 +55,6 @@ public class CornManager : MonoBehaviour
private void Awake() private void Awake()
{ {
var leftTop = Camera.main.ScreenToWorldPoint(new Vector3(Screen.width, Screen.height, 0));
worldWidth = leftTop.x;
worldHeight = leftTop.y;
cornArray = new Corn[cornSpawnCount]; cornArray = new Corn[cornSpawnCount];
result.AddTo(this); result.AddTo(this);
cornGrowSpeed.AddTo(this); cornGrowSpeed.AddTo(this);