private void Start()
    {
        Vector2 bounds = PlayableFieldLimiter.GetPlayableField(false);

        bounds          += _offset;
        _collider2D.size = bounds * 2;
    }
示例#2
0
 private void Start()
 {
     _playableField = PlayableFieldLimiter.GetPlayableField(false);
     FillSpawnPoints();
     FillTargetPoints();
     ArrangePoints();
 }