private void MoveToLeft() { float moveTime = Random.Range(1f, 2f); CachedTransform.DOLocalMoveX(2f, moveTime).OnComplete(MoveToRight); }
private void MoveToLeft() { float moveTime = Random.Range(1f, 2f); CachedTransform.DOLocalMoveX(2f, moveTime).OnComplete(MoveToRight); }