int time = 1;
    void Update()
    {
        time++;
        this.GetComponent<RectTransform>().rotation = Quaternion.Euler(0, 0, time);
    }
    void OnDestroy()
    {
        time = 0;
    }

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-07
  • 2021-05-10
  • 2022-12-23
  • 2021-12-22
猜你喜欢
  • 2022-01-15
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-10
  • 2022-12-23
相关资源
相似解决方案