You've already forked Commercialization.topon
update 1.1.25
This commit is contained in:
@@ -101,17 +101,17 @@ namespace AnyThink.Scripts.IntegrationManager.Editor
|
||||
|
||||
// Load uninstall icon texture.
|
||||
var uninstallIconData = File.ReadAllBytes(ATSdkUtil.GetAssetPathForExportPath(uninstallIconExportPath));
|
||||
uninstallIcon = new Texture2D(0, 0, TextureFormat.RGBA32, false); // 1. Initial size doesn't matter here, will be automatically resized once the image asset is loaded. 2. Set mipChain to false, else the texture has a weird blurry effect.
|
||||
uninstallIcon = new Texture2D(100, 100, TextureFormat.RGBA32, false); // 1. Initial size doesn't matter here, will be automatically resized once the image asset is loaded. 2. Set mipChain to false, else the texture has a weird blurry effect.
|
||||
uninstallIcon.LoadImage(uninstallIconData);
|
||||
|
||||
// Load alert icon texture.
|
||||
var alertIconData = File.ReadAllBytes(ATSdkUtil.GetAssetPathForExportPath(alertIconExportPath));
|
||||
alertIcon = new Texture2D(0, 0, TextureFormat.RGBA32, false);
|
||||
alertIcon = new Texture2D(100, 100, TextureFormat.RGBA32, false);
|
||||
alertIcon.LoadImage(alertIconData);
|
||||
|
||||
// Load warning icon texture.
|
||||
var warningIconData = File.ReadAllBytes(ATSdkUtil.GetAssetPathForExportPath(warningIconExportPath));
|
||||
warningIcon = new Texture2D(0, 0, TextureFormat.RGBA32, false);
|
||||
warningIcon = new Texture2D(100, 100, TextureFormat.RGBA32, false);
|
||||
warningIcon.LoadImage(warningIconData);
|
||||
|
||||
ATLog.log("Awake() >>> called");
|
||||
@@ -179,6 +179,7 @@ namespace AnyThink.Scripts.IntegrationManager.Editor
|
||||
if (GUI.changed)
|
||||
{
|
||||
ATPluginSetting.Instance.SaveAsync();
|
||||
AssetDatabase.SaveAssets();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user