public void Setup(float minHorizontalDistance, float maxHorizontalDistance, float minVerticalDistance, float maxVerticalDistance, PlatformPool platformPool) { _minHorizontalDistance = minHorizontalDistance; _maxHorizontalDistance = maxHorizontalDistance; _minVerticalDistance = minVerticalDistance; _maxVerticalDistance = maxVerticalDistance; _platformPool = platformPool; Spawn(); }
public void Awake() { Instance = this; }