| 1234567891011121314151617181920 |
- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
- /* 组件-雾霾缓动 */
- public class FogDoTween : MonoBehaviour
- {
- Vector3 eularAngles;
-
- void Start()
- {
- this.eularAngles = this.transform.eulerAngles;
- }
- // Update is called once per frame
- void Update()
- {
- eularAngles.y += Time.deltaTime;
- this.transform.eulerAngles = eularAngles;
- }
- }
|