Horje
unity always rotating object Code Example
object spin unity
void FixedUpdate()
{
	gameObject.transform.Rotate(0, 0, +1)//Rotate(x, y, z) + = add one per update
}
unity always rotating object
public float speed = 50.0f;


    void Update()
    {
        transform.Rotate(Vector3.up * speed * Time.deltaTime);
    }
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.
    }




Csharp

Related
how to add a delay in csharp Code Example how to add a delay in csharp Code Example
how to empty an array c# Code Example how to empty an array c# Code Example
timespan to integer c# Code Example timespan to integer c# Code Example
c# access session in class Code Example c# access session in class Code Example
c# empty array Code Example c# empty array Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
10