跳到主要内容

Class UAFEditorSetting

Assembly: UnityAppFlavor.Editor.dll
View Source
Declaration
public class UAFEditorSetting : SerializedScriptableObject, ISerializationCallbackReceiver

Fields

gradle_version

View Source
Declaration
[Required]
[LabelText("gradle 版本")]
[TabGroup("Split", "Android", false, 0)]
[BoxGroup("Split/Android/Base", true, false, 0, LabelText = "基础配置")]
public string gradle_version

java_transfers

View Source
Declaration
[TableList(ShowIndexLabels = false, AlwaysExpanded = true)]
[BoxGroup("Split/Android/Settings", true, false, 0, LabelText = "其他配置")]
[FoldoutGroup("Split/Android/Settings/Java 文件转移配置", 0)]
[HideLabel]
public List<UAFAndroidJavaTransfer> java_transfers

lib_transfers

View Source
Declaration
[TableList(ShowIndexLabels = false, AlwaysExpanded = true)]
[FoldoutGroup("Split/Android/Settings/Libs 文件转移配置", 0)]
[HideLabel]
public List<UAFAndroidLibTransfer> lib_transfers

share_lib_transfers

View Source
Declaration
[TableList(ShowIndexLabels = false, AlwaysExpanded = true)]
[FoldoutGroup("Split/Android/Settings/Share Libs 文件转移配置", 0)]
[HideLabel]
public List<UAFAndroidLibTransfer> share_lib_transfers

apply_plugins

View Source
Declaration
[TableList(ShowIndexLabels = false, AlwaysExpanded = true)]
[FoldoutGroup("Split/Android/Settings/Apply Plugins 配置", 0)]
[HideLabel]
public List<UAFAndroidApplyPlugin> apply_plugins

android_custom_param

View Source
Declaration
[FoldoutGroup("Split/Android/Settings/自定义配置", 0)]
[HideLabel]
public AUAFAndroidCustomParam android_custom_param

provisions

View Source
Declaration
[BoxGroup("Split/iOS/Settings", true, false, 0, LabelText = "其他配置")]
[FoldoutGroup("Split/iOS/Settings/描述文件", 0)]
[TableList(ShowIndexLabels = false, AlwaysExpanded = true)]
[HideLabel]
public List<UAFiOSProvision> provisions

pod_ios_version

View Source
Declaration
[FoldoutGroup("Split/iOS/Settings/Pod", 0)]
[LabelText("iOS 版本")]
[Required]
public string pod_ios_version

pod_source

View Source
Declaration
[FoldoutGroup("Split/iOS/Settings/Pod", 0)]
[LabelText("Pod 源")]
[Required]
[TextArea(3, 5)]
public string pod_source

ios_pods

View Source
Declaration
[FoldoutGroup("Split/iOS/Settings/Pod", 0)]
[TableList(ShowIndexLabels = false, AlwaysExpanded = true, ScrollViewHeight = 500)]
[HideLabel]
public List<UAFiOSPodChannel> ios_pods

ios_capabilities

View Source
Declaration
[TableList(ShowIndexLabels = false, AlwaysExpanded = true)]
[FoldoutGroup("Split/iOS/Settings/能力配置", 0)]
[HideLabel]
public List<UAFiOSCapability> ios_capabilities

ios_custom_param

View Source
Declaration
[FoldoutGroup("Split/iOS/Settings/自定义配置", 0)]
[HideLabel]
public AUAFiOSCustomParam ios_custom_param

channels

View Source
Declaration
[TabGroup("Split", "Common", SdfIconType.Bank, false, 0)]
[TableList(AlwaysExpanded = true, ShowIndexLabels = false)]
[HideLabel]
[PropertyOrder(-1)]
public List<UAFCommonChannel> channels

Methods

ResetJava()

View Source
Declaration
public void ResetJava()

ResetLibs()

View Source
Declaration
public void ResetLibs()

ResetShareLibs()

View Source
Declaration
public void ResetShareLibs()

ResetApplyPlugins()

View Source
Declaration
public void ResetApplyPlugins()

AndroidTransmitAll(string, Action<List<AGradleRebuildTask>>)

View Source
Declaration
public static void AndroidTransmitAll(string android_project_path, Action<List<AGradleRebuildTask>> inject = null)
Parameters
TypeName
System.Stringandroid_project_path
System.Action<System.Collections.Generic.List<UnityAppFlavor.Editor.AGradleRebuildTask>>inject

ResetCommon()

View Source
Declaration
[TabGroup("Split", "Common", SdfIconType.Bank, false, 0)]
[Button(ButtonSizes.Small, Name = "重置")]
[PropertyOrder(-1)]
public void ResetCommon()

ResetAll()

View Source
Declaration
public void ResetAll()

ResetAndroid()

View Source
Declaration
public void ResetAndroid()

ResetiOS()

View Source
Declaration
public void ResetiOS()

GetOrCreateSettings()

View Source
Declaration
public static UAFEditorSetting GetOrCreateSettings()
Returns

UnityAppFlavor.Editor.UAFEditorSetting

ResetProvision()

View Source
Declaration
public void ResetProvision()

ResetPod()

View Source
Declaration
public void ResetPod()

ResetiOSCapability()

View Source
Declaration
public void ResetiOSCapability()

Implements

  • UnityEngine.ISerializationCallbackReceiver