Color-Switch-Replica
Color-Switch-Replica copied to clipboard
My smallcircle object is not rotating
public class rotator : MonoBehaviour { public float speed = 100f;
void Update()
{
transform.Rotate(0f,0f,speed*Time.deltaTime);
}
} i used this but my circle is not rotating around its own axis help me getting fix for this