rotate object constantly unity code example
Example: c# how to make object rotate forever
//Use FixedUpdate instead of Update for physics, rotation, and movement.
void FixedUpdate()
{
laserPointer.Rotate(x, y, z);
//Use your own rotation values to replace x, y and z.
}