不要処理削除
This commit is contained in:
parent
faa5e8f569
commit
d1fccc463b
|
|
@ -32,9 +32,6 @@ public class CornManager : MonoBehaviour
|
|||
public IReadOnlyReactiveProperty<CornResult> Result => result;
|
||||
private readonly ReactiveProperty<CornResult> result = new ReactiveProperty<CornResult>();
|
||||
|
||||
private float worldWidth;
|
||||
private float worldHeight;
|
||||
private static readonly float maxSpilledHeight = 4f;
|
||||
private Corn[] cornArray;
|
||||
private bool isHot;
|
||||
private bool isCompleted;
|
||||
|
|
@ -58,9 +55,6 @@ public class CornManager : MonoBehaviour
|
|||
|
||||
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];
|
||||
result.AddTo(this);
|
||||
cornGrowSpeed.AddTo(this);
|
||||
|
|
|
|||
Loading…
Reference in New Issue