diff options
author | chai <chaifix@163.com> | 2021-01-25 14:28:30 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2021-01-25 14:28:30 +0800 |
commit | 6eb915c129fc90c6f4c82ae097dd6ffad5239efc (patch) | |
tree | 7dd2be50edf41f36b60fac84696e731c13afe617 /Client/Assets/Scripts/XUtliPoolLib/XCameraEffectData.cs |
+scripts
Diffstat (limited to 'Client/Assets/Scripts/XUtliPoolLib/XCameraEffectData.cs')
-rw-r--r-- | Client/Assets/Scripts/XUtliPoolLib/XCameraEffectData.cs | 68 |
1 files changed, 68 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/XUtliPoolLib/XCameraEffectData.cs b/Client/Assets/Scripts/XUtliPoolLib/XCameraEffectData.cs new file mode 100644 index 00000000..6d987cc1 --- /dev/null +++ b/Client/Assets/Scripts/XUtliPoolLib/XCameraEffectData.cs @@ -0,0 +1,68 @@ +using System;
+using System.ComponentModel;
+using UnityEngine;
+
+namespace XUtliPoolLib
+{
+ [Serializable]
+ public class XCameraEffectData : XBaseData
+ {
+ [SerializeField]
+ [DefaultValue(0f)]
+ public float Time;
+
+ [SerializeField]
+ [DefaultValue(0f)]
+ public float FovAmp;
+
+ [SerializeField]
+ [DefaultValue(0f)]
+ public float Frequency;
+
+ [SerializeField]
+ public CameraMotionSpace Coordinate = CameraMotionSpace.World;
+
+ [SerializeField]
+ [DefaultValue(true)]
+ public bool ShakeX;
+
+ [SerializeField]
+ [DefaultValue(true)]
+ public bool ShakeY;
+
+ [SerializeField]
+ [DefaultValue(true)]
+ public bool ShakeZ;
+
+ [SerializeField]
+ [DefaultValue(0f)]
+ public float AmplitudeX;
+
+ [SerializeField]
+ [DefaultValue(0f)]
+ public float AmplitudeY;
+
+ [SerializeField]
+ [DefaultValue(0f)]
+ public float AmplitudeZ;
+
+ [SerializeField]
+ [DefaultValue(0f)]
+ public float At;
+
+ [SerializeField]
+ [DefaultValue(false)]
+ public bool Random;
+
+ [SerializeField]
+ [DefaultValue(false)]
+ public bool Combined;
+
+ public XCameraEffectData()
+ {
+ this.ShakeX = true;
+ this.ShakeY = true;
+ this.ShakeZ = true;
+ }
+ }
+}
|