Class AddressableAssetTestBase
Inheritance
System.Object
AddressableAssetTestBase
Syntax
public class AddressableAssetTestBase
Fields
k_TestConfigFolder
Declaration
protected const string k_TestConfigFolder = "Assets/AddressableAssetsData_LocalizationTests"
Field Value
Type |
Description |
System.String |
|
k_TestConfigName
Declaration
protected const string k_TestConfigName = "AddressableAssetSettings.Localization.Tests"
Field Value
Type |
Description |
System.String |
|
m_AddressableSettings
Declaration
protected AddressableAssetSettings m_AddressableSettings
Field Value
Type |
Description |
AddressableAssetSettings |
|
m_LocalizationEditorSettings
Declaration
protected FakedAddressableLocalizationEditorSettings m_LocalizationEditorSettings
Field Value
Properties
PersistSettings
Declaration
protected virtual bool PersistSettings { get; }
Property Value
Type |
Description |
System.Boolean |
|
Methods
AllTableTypes()
Declaration
public static List<Type> AllTableTypes()
Returns
Type |
Description |
System.Collections.Generic.List<System.Type> |
|
Cleanup()
Declaration
CreateAsset(Object, String)
Declaration
protected static void CreateAsset(Object asset, string name)
Parameters
Type |
Name |
Description |
UnityEngine.Object |
asset |
|
System.String |
name |
|
CreateTestTexture(String)
Declaration
protected static Texture2D CreateTestTexture(string name)
Parameters
Type |
Name |
Description |
System.String |
name |
|
Returns
Type |
Description |
Texture2D |
|
DeleteAsset(Object)
Declaration
protected static void DeleteAsset(Object asset)
Parameters
Type |
Name |
Description |
UnityEngine.Object |
asset |
|
FindAddressableAssetEntry(Object)
Declaration
protected AddressableAssetEntry FindAddressableAssetEntry(Object asset)
Parameters
Type |
Name |
Description |
UnityEngine.Object |
asset |
|
Returns
Type |
Description |
AddressableAssetEntry |
|
GenerateSampleLanguages()
Declaration
protected static List<SystemLanguage> GenerateSampleLanguages()
Returns
Type |
Description |
System.Collections.Generic.List<SystemLanguage> |
|
Init()
Declaration
OnCleanup()
Declaration
protected virtual void OnCleanup()
OnInit()
Declaration
protected virtual void OnInit()
VerifyAssetIsInAddressables(Object, String)
Declaration
protected void VerifyAssetIsInAddressables(Object asset, string message = "")
Parameters
Type |
Name |
Description |
UnityEngine.Object |
asset |
|
System.String |
message |
|
VerifyAssetIsNotInAddressables(Object, String)
Declaration
protected void VerifyAssetIsNotInAddressables(Object asset, string message = "")
Parameters
Type |
Name |
Description |
UnityEngine.Object |
asset |
|
System.String |
message |
|