From 6eb915c129fc90c6f4c82ae097dd6ffad5239efc Mon Sep 17 00:00:00 2001 From: chai Date: Mon, 25 Jan 2021 14:28:30 +0800 Subject: +scripts --- Client/Assets/Scripts/XMainClient/XAudioExParam.cs | 36 ++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 Client/Assets/Scripts/XMainClient/XAudioExParam.cs (limited to 'Client/Assets/Scripts/XMainClient/XAudioExParam.cs') 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; + } + } +} -- cgit v1.1-26-g67d0