#if UNITY_EDITOR using UnityEditor; namespace Crosstales.RTVoice.EditorTask { /// Adds the given define symbols to PlayerSettings define symbols. [InitializeOnLoad] public class CompileDefines : Crosstales.Common.EditorTask.BaseCompileDefines { private const string symbol = "CT_RTV"; static CompileDefines() { if (Crosstales.RTVoice.EditorUtil.EditorConfig.COMPILE_DEFINES) { addSymbolsToAllTargets(symbol); } else { removeSymbolsFromAllTargets(symbol); } } } } #endif // © 2017-2023 crosstales LLC (https://www.crosstales.com)