To rotate an object in Unity 3D using C#, you can modify the object's rotation using the `Transform` component. There are multiple ways to achieve this depending on your specific requirements. Here are a few common methods:
### 1. Rotate Using `Transform.Rotate`
If you want to rotate the object incrementally (e.g., when the game is running), you can use the `Transform.Rotate` method. Here's an example of how to rotate an object by a certain