wangguan
2020-12-29 452c75675679c44cc39b04bdb7d330d7c5c14d5c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
 
namespace MoreMountains.NiceVibrations
{
    [CreateAssetMenu(fileName = "MMNVPathDefinition", menuName = "MoreMountains/NiceVibrations/MMNVPathDefinition")]
    public class MMNVPath : ScriptableObject
    {
        [Header("Paths")]
        /// the path to the plugin in XCode (usually Libraries/NiceVibrations/Common/Plugins/iOS/Swift/)
        public string PluginPath;
        /// the name of the module (module.modulemap by default)
        public string ModuleFileName;
        /// the path in Unity (without Assets/, so usually NiceVibrations/Common/Plugins/Swift/)
        public string PluginRelativePath;
        [Header("Swift")]
        /// whether or not the post processing build should force ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES to true on the Framework
        /// it's usually not needed, but it's solved build errors for some people
        public bool ForceAlwaysEmbedSwiftSLForFramework = false;
        /// whether or not the post processing build should force ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES to true on the Main Project
        public bool ForceAlwaysEmbedSwiftSLForMainTarget = false;
    }
}