using System
.Collections
;
using System
.Collections
.Generic
;
using UnityEngine
;
using DG
.Tweening
;
public class CeShi : MonoBehaviour {
public Camera camera
;
void Start
() {
camera
= Camera
.main
;
camera
.DOAspect(10, 1);
camera
.DOColor(new Color(1, 1, 1, 1), 2);
camera
.DOPixelRect(new Rect(0f, 0f, 600f, 500f), 2);
camera
.DORect(new Rect(0.5f, 0.5f, 0.5f, 0.5f), 2);
camera
.DOShakePosition(1, 10, 10, 50, false);
}
}
using System
.Collections
;
using System
.Collections
.Generic
;
using UnityEngine
;
using DG
.Tweening
;
public class CeShi : MonoBehaviour {
private Light light
;
public GameObject cube
;
void Start
() {
light
= GameObject
.Find("Directional Light").GetComponent<Light>();
light
.DOColor(new Color(1, 1, 1, 1), 3);
light
.DOIntensity(3, 3);
light
.DOBlendableColor(new Color(1, 1, 1), 3);
}
}
转载请注明原文地址: https://mac.8miu.com/read-516288.html