diff options
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/XAudioExParam.cs')
-rw-r--r-- | Client/Assets/Scripts/XMainClient/XAudioExParam.cs | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/XMainClient/XAudioExParam.cs b/Client/Assets/Scripts/XMainClient/XAudioExParam.cs new file mode 100644 index 00000000..695edb19 --- /dev/null +++ b/Client/Assets/Scripts/XMainClient/XAudioExParam.cs @@ -0,0 +1,36 @@ +using System;
+using UnityEngine;
+
+namespace XMainClient
+{
+ internal class XAudioExParam
+ {
+ public XEntity _caster;
+
+ public Vector3 _3dPos;
+
+ public string _fmodParam;
+
+ public float _fmodValue;
+
+ public XAudioExParam(XEntity e)
+ {
+ this._caster = e;
+ this._3dPos = Vector3.zero;
+ }
+
+ public XAudioExParam(Vector3 pos)
+ {
+ this._caster = null;
+ this._3dPos = pos;
+ }
+
+ public XAudioExParam(string param, float v)
+ {
+ this._caster = null;
+ this._3dPos = Vector3.zero;
+ this._fmodParam = param;
+ this._fmodValue = v;
+ }
+ }
+}
|