public void Repool() { StopAllCoroutines(); CoroutineT.Infinite(raysPool.PoolObject, reloadingTime).Start(this); }
private void Start() { PrepareParalax(); CoroutineT.Infinite(NormilizeParalax, 1).Start(this); }
public void Repool() { accelerate.x = (transform.position.x < 0 ? 1 : -1) * Mathf.Abs(accelerate.x); StopAllCoroutines(); CoroutineT.Infinite(rocketsPool.PoolObject, reloadingTime).Start(this); }