1. 获取texture的transform
Transform t = this.transform.Find("Texture");
2. 修改transform的localEulerAngles部分(顺时针旋转为例)
float m_RotZ = 0;
void Update ()
{
m_RotZ -= 100 * Time.deltaTime;
if(m_RotZ < 0)
{
m_RotZ += 360;
}
<