how to Give velocity to 2d game object at regular intervals

Hello Guys ,

I am new to Unity and i am developing a 2d multiplayer game

I would like to increase the velocity of object at certain intervals of time…
Tried a lot but can’t

Help is so thank full

you can use coroutines:

or (more simple for beginner)

float desiredDelay = 1234f;
float timeToCall = 0f;

void Update()
{
    timeToCall += Time.deltaTime;
  if(timeToCall >= desiredDelay)
  {
    timeToCall = 0f;
    MethodYouWantToCall();
  }
}