Пример #1
0
 public void Setup(float minHorizontalDistance,
                   float maxHorizontalDistance,
                   float minVerticalDistance,
                   float maxVerticalDistance,
                   PlatformPool platformPool)
 {
     _minHorizontalDistance = minHorizontalDistance;
     _maxHorizontalDistance = maxHorizontalDistance;
     _minVerticalDistance   = minVerticalDistance;
     _maxVerticalDistance   = maxVerticalDistance;
     _platformPool          = platformPool;
     Spawn();
 }
Пример #2
0
 public void Awake()
 {
     Instance = this;
 }