完善移植工具
This commit is contained in:
parent
de1d81536b
commit
bdd5415839
@ -216,6 +216,7 @@ public class AxiProjectTools : EditorWindow
|
|||||||
}
|
}
|
||||||
ProcessAllPrefabs("*.prefab", tempReplaceDict);
|
ProcessAllPrefabs("*.prefab", tempReplaceDict);
|
||||||
ProcessAllPrefabs("*.unity", tempReplaceDict);
|
ProcessAllPrefabs("*.unity", tempReplaceDict);
|
||||||
|
ProcessAllPrefabs("*.anim", tempReplaceDict);
|
||||||
AssetDatabase.SaveAssets();
|
AssetDatabase.SaveAssets();
|
||||||
AssetDatabase.Refresh();
|
AssetDatabase.Refresh();
|
||||||
Debug.Log("<Color=#FFF333>处理完毕 [4]替换所有预制体和场景中的组件</color>");
|
Debug.Log("<Color=#FFF333>处理完毕 [4]替换所有预制体和场景中的组件</color>");
|
||||||
@ -310,4 +311,69 @@ public class AxiProjectTools : EditorWindow
|
|||||||
TraverseHierarchy(obj.transform.GetChild(i).gameObject);
|
TraverseHierarchy(obj.transform.GetChild(i).gameObject);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
[MenuItem("Axibug移植工具/[6]修复Sprite")]
|
||||||
|
public static void FixMultipleMaterialSprites()
|
||||||
|
{
|
||||||
|
string[] guids = AssetDatabase.FindAssets("t:sprite");
|
||||||
|
List<Sprite> spritesToFix = new List<Sprite>();
|
||||||
|
|
||||||
|
foreach (string guid in guids)
|
||||||
|
{
|
||||||
|
string path = AssetDatabase.GUIDToAssetPath(guid);
|
||||||
|
Sprite sprite = AssetDatabase.LoadAssetAtPath<Sprite>(path);
|
||||||
|
|
||||||
|
// 检查是否有多个材质
|
||||||
|
if (IsUsingMultipleMaterials(sprite))
|
||||||
|
{
|
||||||
|
spritesToFix.Add(sprite);
|
||||||
|
Debug.Log("Found sprite with multiple materials: " + path);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// 修复每个找到的Sprite
|
||||||
|
foreach (var sprite in spritesToFix)
|
||||||
|
{
|
||||||
|
FixSprite(sprite);
|
||||||
|
}
|
||||||
|
|
||||||
|
AssetDatabase.SaveAssets();
|
||||||
|
AssetDatabase.Refresh();
|
||||||
|
Debug.Log("<Color=#FFF333>处理完毕 [6]修复Sprite</color>");
|
||||||
|
}
|
||||||
|
|
||||||
|
private static bool IsUsingMultipleMaterials(Sprite sprite)
|
||||||
|
{
|
||||||
|
if (sprite == null) return false;
|
||||||
|
|
||||||
|
// 获取精灵的材质
|
||||||
|
var textureImporter = AssetImporter.GetAtPath(AssetDatabase.GetAssetPath(sprite)) as TextureImporter;
|
||||||
|
|
||||||
|
return textureImporter != null && textureImporter.spriteImportMode == SpriteImportMode.Multiple;
|
||||||
|
}
|
||||||
|
|
||||||
|
private static void FixSprite(Sprite sprite)
|
||||||
|
{
|
||||||
|
// 获取Sprite的路径
|
||||||
|
string path = AssetDatabase.GetAssetPath(sprite);
|
||||||
|
var textureImporter = AssetImporter.GetAtPath(path) as TextureImporter;
|
||||||
|
|
||||||
|
if (textureImporter != null)
|
||||||
|
{
|
||||||
|
// 保存当前切割信息
|
||||||
|
SpriteMetaData[] originalMetaData = textureImporter.spritesheet;
|
||||||
|
|
||||||
|
// 临时禁用Sprite导入
|
||||||
|
textureImporter.spriteImportMode = SpriteImportMode.None;
|
||||||
|
textureImporter.SaveAndReimport();
|
||||||
|
|
||||||
|
// 重新启用Sprite导入并保持原样切割参数
|
||||||
|
textureImporter.spriteImportMode = SpriteImportMode.Multiple;
|
||||||
|
textureImporter.spritesheet = originalMetaData; // 恢复原来的切割信息
|
||||||
|
|
||||||
|
// 重新导入以应用更改
|
||||||
|
textureImporter.SaveAndReimport();
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
@ -1,8 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 72db4d19740e5974b87377131ad41888
|
|
||||||
folderAsset: yes
|
|
||||||
DefaultImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
@ -1,8 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: ac29790bb8dfda440af24524259f453b
|
|
||||||
folderAsset: yes
|
|
||||||
DefaultImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
@ -1,116 +0,0 @@
|
|||||||
using System.Collections.Generic;
|
|
||||||
using System.IO;
|
|
||||||
using UnityEditor;
|
|
||||||
using UnityEngine;
|
|
||||||
|
|
||||||
public class ProcessUnityVersion
|
|
||||||
{
|
|
||||||
public static Dictionary<string, string> prefab_replaceDict = new Dictionary<string, string>()
|
|
||||||
{
|
|
||||||
//GraphicRaycaster
|
|
||||||
{"m_Script: {fileID: 11500000, guid: dc42784cf147c0c48a680349fa168899, type: 3}", "m_Script: {fileID: 11500000, guid: dd73c3b3bc600af4baad2151ea75fa2c, type: 3}"},
|
|
||||||
//CanvasScaler
|
|
||||||
{"m_Script: {fileID: 11500000, guid: 0cd44c1031e13a943bb63640046fad76, type: 3}", "m_Script: {fileID: 11500000, guid: 8b447dd23c860344d836be9d9aec15f0, type: 3}"},
|
|
||||||
//Text
|
|
||||||
{"m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3}", "m_Script: {fileID: 11500000, guid: 880218c1f11e0054597c4282005949df, type: 3}"},
|
|
||||||
{"m_Script: {fileID: 11500000, guid: 880218c1f11e0054597c4282005949df, type: 3}", "m_Script: {fileID: 11500000, guid: 880218c1f11e0054597c4282005949df, type: 3}"},
|
|
||||||
{"m_Script: {fileID: 708705254, guid: f70555f144d8491a825f0804e09c671c, type: 3}", "m_Script: {fileID: 11500000, guid: 880218c1f11e0054597c4282005949df, type: 3}"},
|
|
||||||
//Image
|
|
||||||
{"m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}", "m_Script: {fileID: 11500000, guid: b2899f217128f0d46b73ba0f23cb55d0, type: 3}"},
|
|
||||||
//Button
|
|
||||||
{"m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3}", "m_Script: {fileID: 11500000, guid: 901c84e239f2fb9469f458b142fff636, type: 3}"},
|
|
||||||
{"m_Script: {fileID: 1392445389, guid: f70555f144d8491a825f0804e09c671c, type: 3}", "m_Script: {fileID: 11500000, guid: 901c84e239f2fb9469f458b142fff636, type: 3}"},
|
|
||||||
//RawImage
|
|
||||||
{"m_Script: {fileID: 11500000, guid: 1344c3c82d62a2a41a3576d8abb8e3ea, type: 3}", "m_Script: {fileID: 11500000, guid: 5d926e078698e40438e354128b5acd58, type: 3}"},
|
|
||||||
//Dropdown
|
|
||||||
{"m_Script: {fileID: 11500000, guid: 0d0b652f32a2cc243917e4028fa0f046, type: 3}", "m_Script: {fileID: 11500000, guid: 5cc1d029a0a45e04f94112215706fd34, type: 3}"},
|
|
||||||
//ScrollRect
|
|
||||||
{"m_Script: {fileID: 11500000, guid: 1aa08ab6e0800fa44ae55d278d1423e3, type: 3}", "m_Script: {fileID: 11500000, guid: fb6f7756c81d4814f9e31a48b1d39433, type: 3}"},
|
|
||||||
//Toggle
|
|
||||||
{"m_Script: {fileID: 11500000, guid: 9085046f02f69544eb97fd06b6048fe2, type: 3}", "m_Script: {fileID: 11500000, guid: db771345252fdde47ad268c9d300daae, type: 3}"},
|
|
||||||
{"m_Script: {fileID: 2109663825, guid: f70555f144d8491a825f0804e09c671c, type: 3}", "m_Script: {fileID: 11500000, guid: db771345252fdde47ad268c9d300daae, type: 3}"},
|
|
||||||
//Scrollbar
|
|
||||||
{"m_Script: {fileID: 11500000, guid: 2a4db7a114972834c8e4117be1d82ba3, type: 3}", "m_Script: {fileID: 11500000, guid: 4d63c9838d79fa3429c5ee15808b19eb, type: 3}"},
|
|
||||||
//Slider
|
|
||||||
{"m_Script: {fileID: 11500000, guid: 67db9e8f0e2ae9c40bc1e2b64352a6b4, type: 3}", "m_Script: {fileID: 11500000, guid: caba9dd549ff58c4c927b755957be186, type: 3}"},
|
|
||||||
{"m_Script: {fileID: -113659843, guid: f70555f144d8491a825f0804e09c671c, type: 3}", "m_Script: {fileID: 11500000, guid: caba9dd549ff58c4c927b755957be186, type: 3}"},
|
|
||||||
//Mask
|
|
||||||
{"m_Script: {fileID: 11500000, guid: 31a19414c41e5ae4aae2af33fee712f6, type: 3}", "m_Script: {fileID: 11500000, guid: 498b1c91abcaea34a89cf3d6b968867b, type: 3}"},
|
|
||||||
{"m_Script: {fileID: -1200242548, guid: f70555f144d8491a825f0804e09c671c, type: 3}", "m_Script: {fileID: 11500000, guid: 498b1c91abcaea34a89cf3d6b968867b, type: 3}"},
|
|
||||||
//RectMask2D
|
|
||||||
{"m_Script: {fileID: 11500000, guid: 3312d7739989d2b4e91e6319e9a96d76, type: 3}", "m_Script: {fileID: 11500000, guid: a734a3407c17c0841967c6f9cce8eac7, type: 3}"},
|
|
||||||
//ContentSizeFitter
|
|
||||||
{"m_Script: {fileID: 11500000, guid: 3245ec927659c4140ac4f8d17403cc18, type: 3}", "m_Script: {fileID: 11500000, guid: 91ed9c8a3832de340916866a0a1bad20, type: 3}"},
|
|
||||||
{"m_Script: {fileID: 1741964061, guid: f70555f144d8491a825f0804e09c671c, type: 3}", "m_Script: {fileID: 11500000, guid: 91ed9c8a3832de340916866a0a1bad20, type: 3}"},
|
|
||||||
//GridLayoutGroup
|
|
||||||
{"m_Script: {fileID: 11500000, guid: 8a8695521f0d02e499659fee002a26c2, type: 3}", "m_Script: {fileID: 11500000, guid: ed4588221c168b34f84d23c06c2d2d49, type: 3}"},
|
|
||||||
//EventSystem
|
|
||||||
{"m_Script: {fileID: 11500000, guid: 76c392e42b5098c458856cdf6ecaaaa1, type: 3}", "m_Script: {fileID: 11500000, guid: ab4a01a487c8b1046b5d74f81c4caa42, type: 3}"},
|
|
||||||
//StandaloneInputModule
|
|
||||||
{"m_Script: {fileID: 11500000, guid: 4f231c4fb786f3946a6b90b886c48677, type: 3}", "m_Script: {fileID: 11500000, guid: c337dc6c95c72134abc4afe4607cb3b9, type: 3}"},
|
|
||||||
//Outline
|
|
||||||
{"m_Script: {fileID: 11500000, guid: e19747de3f5aca642ab2be37e372fb86, type: 3}", "m_Script: {fileID: 11500000, guid: d9a7125dc73df8b42872961c2c4803f7, type: 3}"},
|
|
||||||
{"m_Script: {fileID: -900027084, guid: f70555f144d8491a825f0804e09c671c, type: 3}", "m_Script: {fileID: 11500000, guid: d9a7125dc73df8b42872961c2c4803f7, type: 3}"},
|
|
||||||
//VideoPlayer
|
|
||||||
{"m_Script: {fileID: -765806418, guid: f70555f144d8491a825f0804e09c671c, type: 3}", "m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}"},
|
|
||||||
//VerticalLayoutGroup
|
|
||||||
{"m_Script: {fileID: 11500000, guid: 59f8146938fff824cb5fd77236b75775, type: 3}", "m_Script: {fileID: 11500000, guid: 7d1bb376a8d85044ab7bce5994d5cdff, type: 3}"},
|
|
||||||
{"m_Script: {fileID: 1297475563, guid: f70555f144d8491a825f0804e09c671c, type: 3}", "m_Script: {fileID: 11500000, guid: 7d1bb376a8d85044ab7bce5994d5cdff, type: 3}"},
|
|
||||||
//HorizontalLayoutGroup
|
|
||||||
{"m_Script: {fileID: 11500000, guid: 30649d3a9faa99c48a7b1166b86bf2a0, type: 3}", "m_Script: {fileID: 11500000, guid: f64d5bed43ac5a84eac12353031fa310, type: 3}"},
|
|
||||||
//EventTrigger
|
|
||||||
{"m_Script: {fileID: 11500000, guid: d0b148fe25e99eb48b9724523833bab1, type: 3}", "m_Script: {fileID: 11500000, guid: 3189a1a2831d7e04eafb4daf5c8db0b3, type: 3}"},
|
|
||||||
//LayoutElement
|
|
||||||
{"m_Script: {fileID: 11500000, guid: 306cc8c2b49d7114eaa3623786fc2126, type: 3}", "m_Script: {fileID: 11500000, guid: 104bbc5315760e248864e117de3e8c24, type: 3}"},
|
|
||||||
};
|
|
||||||
|
|
||||||
[MenuItem("Tools/替换UI引用")]
|
|
||||||
public static void Process()
|
|
||||||
{
|
|
||||||
ProcessAllPrefabs("*.prefab");
|
|
||||||
ProcessAllPrefabs("*.anim");
|
|
||||||
}
|
|
||||||
|
|
||||||
[MenuItem("Tools/反向替换UI引用")]
|
|
||||||
public static void ReverseProcess()
|
|
||||||
{
|
|
||||||
ProcessAllPrefabs("*.prefab", true);
|
|
||||||
ProcessAllPrefabs("*.anim", true);
|
|
||||||
}
|
|
||||||
|
|
||||||
private static void ProcessAllPrefabs(string form, bool reverse = false)
|
|
||||||
{
|
|
||||||
List<GameObject> prefabs = new List<GameObject>();
|
|
||||||
var resourcesPath = Application.dataPath;
|
|
||||||
var absolutePaths = Directory.GetFiles(resourcesPath, form, SearchOption.AllDirectories);
|
|
||||||
for (int i = 0; i < absolutePaths.Length; i++)
|
|
||||||
{
|
|
||||||
Debug.Log("prefab name: " + absolutePaths[i]);
|
|
||||||
foreach (var VARIABLE in prefab_replaceDict)
|
|
||||||
{
|
|
||||||
string oldValue = reverse ? VARIABLE.Value : VARIABLE.Key;
|
|
||||||
string newValue = reverse ? VARIABLE.Key : VARIABLE.Value;
|
|
||||||
ReplaceValue(absolutePaths[i], oldValue, newValue);
|
|
||||||
}
|
|
||||||
EditorUtility.DisplayProgressBar("处理预制体……", "处理预制体中……", (float)i / absolutePaths.Length);
|
|
||||||
}
|
|
||||||
EditorUtility.ClearProgressBar();
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 替换值
|
|
||||||
/// </summary>
|
|
||||||
/// <param name="strFilePath">文件路径</param>
|
|
||||||
private static void ReplaceValue(string strFilePath, string oldLine, string newLine)
|
|
||||||
{
|
|
||||||
if (File.Exists(strFilePath))
|
|
||||||
{
|
|
||||||
string[] lines = File.ReadAllLines(strFilePath);
|
|
||||||
for (int i = 0; i < lines.Length; i++)
|
|
||||||
{
|
|
||||||
lines[i] = lines[i].Replace(oldLine, newLine);
|
|
||||||
}
|
|
||||||
File.WriteAllLines(strFilePath, lines);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,11 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 5c12acd358b67ab48b5067487a7702cb
|
|
||||||
MonoImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
serializedVersion: 2
|
|
||||||
defaultReferences: []
|
|
||||||
executionOrder: 0
|
|
||||||
icon: {instanceID: 0}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
@ -1,70 +0,0 @@
|
|||||||
using UnityEditor;
|
|
||||||
using UnityEngine;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
|
|
||||||
public class SpriteProcessor : EditorWindow
|
|
||||||
{
|
|
||||||
[MenuItem("Tools/修复多个材质精灵")]
|
|
||||||
public static void FixMultipleMaterialSprites()
|
|
||||||
{
|
|
||||||
string[] guids = AssetDatabase.FindAssets("t:sprite");
|
|
||||||
List<Sprite> spritesToFix = new List<Sprite>();
|
|
||||||
|
|
||||||
foreach (string guid in guids)
|
|
||||||
{
|
|
||||||
string path = AssetDatabase.GUIDToAssetPath(guid);
|
|
||||||
Sprite sprite = AssetDatabase.LoadAssetAtPath<Sprite>(path);
|
|
||||||
|
|
||||||
// 检查是否有多个材质
|
|
||||||
if (IsUsingMultipleMaterials(sprite))
|
|
||||||
{
|
|
||||||
spritesToFix.Add(sprite);
|
|
||||||
Debug.Log("Found sprite with multiple materials: " + path);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// 修复每个找到的Sprite
|
|
||||||
foreach (var sprite in spritesToFix)
|
|
||||||
{
|
|
||||||
FixSprite(sprite);
|
|
||||||
}
|
|
||||||
|
|
||||||
AssetDatabase.SaveAssets();
|
|
||||||
AssetDatabase.Refresh();
|
|
||||||
EditorUtility.DisplayDialog("完成", "已修复多个材质精灵。", "OK");
|
|
||||||
}
|
|
||||||
|
|
||||||
private static bool IsUsingMultipleMaterials(Sprite sprite)
|
|
||||||
{
|
|
||||||
if (sprite == null) return false;
|
|
||||||
|
|
||||||
// 获取精灵的材质
|
|
||||||
var textureImporter = AssetImporter.GetAtPath(AssetDatabase.GetAssetPath(sprite)) as TextureImporter;
|
|
||||||
|
|
||||||
return textureImporter != null && textureImporter.spriteImportMode == SpriteImportMode.Multiple;
|
|
||||||
}
|
|
||||||
|
|
||||||
private static void FixSprite(Sprite sprite)
|
|
||||||
{
|
|
||||||
// 获取Sprite的路径
|
|
||||||
string path = AssetDatabase.GetAssetPath(sprite);
|
|
||||||
var textureImporter = AssetImporter.GetAtPath(path) as TextureImporter;
|
|
||||||
|
|
||||||
if (textureImporter != null)
|
|
||||||
{
|
|
||||||
// 保存当前切割信息
|
|
||||||
SpriteMetaData[] originalMetaData = textureImporter.spritesheet;
|
|
||||||
|
|
||||||
// 临时禁用Sprite导入
|
|
||||||
textureImporter.spriteImportMode = SpriteImportMode.None;
|
|
||||||
textureImporter.SaveAndReimport();
|
|
||||||
|
|
||||||
// 重新启用Sprite导入并保持原样切割参数
|
|
||||||
textureImporter.spriteImportMode = SpriteImportMode.Multiple;
|
|
||||||
textureImporter.spritesheet = originalMetaData; // 恢复原来的切割信息
|
|
||||||
|
|
||||||
// 重新导入以应用更改
|
|
||||||
textureImporter.SaveAndReimport();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,11 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 50ee5d95c2cccd649b2476eccd7174b0
|
|
||||||
MonoImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
serializedVersion: 2
|
|
||||||
defaultReferences: []
|
|
||||||
executionOrder: 0
|
|
||||||
icon: {instanceID: 0}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
@ -1,8 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 9b5da38886874ff47ae85d055af4ab44
|
|
||||||
folderAsset: yes
|
|
||||||
DefaultImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
@ -1,8 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: b0a670e0a3baca94a90c78067d0ca827
|
|
||||||
folderAsset: yes
|
|
||||||
DefaultImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
@ -1,8 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 363ea6080e8a0ca4abdcdccd9e4375cf
|
|
||||||
folderAsset: yes
|
|
||||||
DefaultImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
@ -1,7 +0,0 @@
|
|||||||
//Made by Olsc
|
|
||||||
|
|
||||||
using UnityEngine.UI;
|
|
||||||
|
|
||||||
public class GameBtn : Button
|
|
||||||
{
|
|
||||||
}
|
|
@ -1,11 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 901c84e239f2fb9469f458b142fff636
|
|
||||||
MonoImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
serializedVersion: 2
|
|
||||||
defaultReferences: []
|
|
||||||
executionOrder: 0
|
|
||||||
icon: {instanceID: 0}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
@ -1,8 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 8758d5ec5d224bb4fa0e595326758f04
|
|
||||||
folderAsset: yes
|
|
||||||
DefaultImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
@ -1,12 +0,0 @@
|
|||||||
//Made by Olsc
|
|
||||||
|
|
||||||
using UnityEngine.UI;
|
|
||||||
|
|
||||||
public class GameCanvasScaler : CanvasScaler
|
|
||||||
{
|
|
||||||
protected override void Start()
|
|
||||||
{
|
|
||||||
uiScaleMode = ScaleMode.ScaleWithScreenSize;
|
|
||||||
//referenceResolution = new UnityEngine.Vector2(2340, 1080);
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,11 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 8b447dd23c860344d836be9d9aec15f0
|
|
||||||
MonoImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
serializedVersion: 2
|
|
||||||
defaultReferences: []
|
|
||||||
executionOrder: 0
|
|
||||||
icon: {instanceID: 0}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
@ -1,7 +0,0 @@
|
|||||||
//Made by Olsc
|
|
||||||
|
|
||||||
using UnityEngine.UI;
|
|
||||||
|
|
||||||
public class GameGraphicRaycaster : GraphicRaycaster
|
|
||||||
{
|
|
||||||
}
|
|
@ -1,11 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: dd73c3b3bc600af4baad2151ea75fa2c
|
|
||||||
MonoImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
serializedVersion: 2
|
|
||||||
defaultReferences: []
|
|
||||||
executionOrder: 0
|
|
||||||
icon: {instanceID: 0}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
@ -1,8 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: b532da148c6375c4ab11f6fd9dc20bd9
|
|
||||||
folderAsset: yes
|
|
||||||
DefaultImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
@ -1,7 +0,0 @@
|
|||||||
//Made by Olsc
|
|
||||||
|
|
||||||
using UnityEngine.UI;
|
|
||||||
|
|
||||||
public class GameContentSizeFitter : ContentSizeFitter
|
|
||||||
{
|
|
||||||
}
|
|
@ -1,11 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 91ed9c8a3832de340916866a0a1bad20
|
|
||||||
MonoImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
serializedVersion: 2
|
|
||||||
defaultReferences: []
|
|
||||||
executionOrder: 0
|
|
||||||
icon: {instanceID: 0}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
@ -1,7 +0,0 @@
|
|||||||
//Made by Olsc
|
|
||||||
|
|
||||||
using UnityEngine.UI;
|
|
||||||
|
|
||||||
public class GameGridLayoutGroup : GridLayoutGroup
|
|
||||||
{
|
|
||||||
}
|
|
@ -1,11 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: ed4588221c168b34f84d23c06c2d2d49
|
|
||||||
MonoImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
serializedVersion: 2
|
|
||||||
defaultReferences: []
|
|
||||||
executionOrder: 0
|
|
||||||
icon: {instanceID: 0}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
@ -1,8 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 9aceb90b41a96d1409f0a87414ce2f1c
|
|
||||||
folderAsset: yes
|
|
||||||
DefaultImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
@ -1,7 +0,0 @@
|
|||||||
//Made by Olsc
|
|
||||||
|
|
||||||
using UnityEngine.UI;
|
|
||||||
|
|
||||||
public class GameDropdown : Dropdown
|
|
||||||
{
|
|
||||||
}
|
|
@ -1,11 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 5cc1d029a0a45e04f94112215706fd34
|
|
||||||
MonoImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
serializedVersion: 2
|
|
||||||
defaultReferences: []
|
|
||||||
executionOrder: 0
|
|
||||||
icon: {instanceID: 0}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
@ -1,8 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 91c9caffa524dce4aa6a9cef799f83dd
|
|
||||||
folderAsset: yes
|
|
||||||
DefaultImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
@ -1,4 +0,0 @@
|
|||||||
using UnityEngine.EventSystems;
|
|
||||||
public class GameEventTrigger : EventTrigger
|
|
||||||
{
|
|
||||||
}
|
|
@ -1,11 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 3189a1a2831d7e04eafb4daf5c8db0b3
|
|
||||||
MonoImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
serializedVersion: 2
|
|
||||||
defaultReferences: []
|
|
||||||
executionOrder: 0
|
|
||||||
icon: {instanceID: 0}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
@ -1,8 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 7511517d4c8df434b8502774282af81a
|
|
||||||
folderAsset: yes
|
|
||||||
DefaultImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
@ -1,7 +0,0 @@
|
|||||||
//Made by Olsc
|
|
||||||
|
|
||||||
using UnityEngine.EventSystems;
|
|
||||||
|
|
||||||
public class GameEventSystem : EventSystem
|
|
||||||
{
|
|
||||||
}
|
|
@ -1,11 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: ab4a01a487c8b1046b5d74f81c4caa42
|
|
||||||
MonoImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
serializedVersion: 2
|
|
||||||
defaultReferences: []
|
|
||||||
executionOrder: 0
|
|
||||||
icon: {instanceID: 0}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
@ -1,7 +0,0 @@
|
|||||||
//Made by Olsc
|
|
||||||
|
|
||||||
using UnityEngine.EventSystems;
|
|
||||||
|
|
||||||
public class GameStandaloneInputModule : StandaloneInputModule
|
|
||||||
{
|
|
||||||
}
|
|
@ -1,11 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: c337dc6c95c72134abc4afe4607cb3b9
|
|
||||||
MonoImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
serializedVersion: 2
|
|
||||||
defaultReferences: []
|
|
||||||
executionOrder: 0
|
|
||||||
icon: {instanceID: 0}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
@ -1,8 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: b58bc2cac7cec5349b2d10816cd2fe8b
|
|
||||||
folderAsset: yes
|
|
||||||
DefaultImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
@ -1,7 +0,0 @@
|
|||||||
//Made by Olsc
|
|
||||||
|
|
||||||
using UnityEngine.UI;
|
|
||||||
|
|
||||||
public class GameImage : Image
|
|
||||||
{
|
|
||||||
}
|
|
@ -1,11 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: b2899f217128f0d46b73ba0f23cb55d0
|
|
||||||
MonoImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
serializedVersion: 2
|
|
||||||
defaultReferences: []
|
|
||||||
executionOrder: 0
|
|
||||||
icon: {instanceID: 0}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
@ -1,8 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 4544a2e436aa34e4a8877bab95b7ecc0
|
|
||||||
folderAsset: yes
|
|
||||||
DefaultImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
@ -1,4 +0,0 @@
|
|||||||
using UnityEngine.UI;
|
|
||||||
public class GameHorizontalLayoutGroup : HorizontalLayoutGroup
|
|
||||||
{
|
|
||||||
}
|
|
@ -1,11 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: f64d5bed43ac5a84eac12353031fa310
|
|
||||||
MonoImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
serializedVersion: 2
|
|
||||||
defaultReferences: []
|
|
||||||
executionOrder: 0
|
|
||||||
icon: {instanceID: 0}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
@ -1,4 +0,0 @@
|
|||||||
using UnityEngine.UI;
|
|
||||||
public class GameLayoutElement : LayoutElement
|
|
||||||
{
|
|
||||||
}
|
|
@ -1,11 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 104bbc5315760e248864e117de3e8c24
|
|
||||||
MonoImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
serializedVersion: 2
|
|
||||||
defaultReferences: []
|
|
||||||
executionOrder: 0
|
|
||||||
icon: {instanceID: 0}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
@ -1,4 +0,0 @@
|
|||||||
using UnityEngine.UI;
|
|
||||||
public class GameVerticalLayoutGroup : VerticalLayoutGroup
|
|
||||||
{
|
|
||||||
}
|
|
@ -1,11 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 7d1bb376a8d85044ab7bce5994d5cdff
|
|
||||||
MonoImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
serializedVersion: 2
|
|
||||||
defaultReferences: []
|
|
||||||
executionOrder: 0
|
|
||||||
icon: {instanceID: 0}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
@ -1,8 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: d409c0dface517a4f9c9c37c2be4d35c
|
|
||||||
folderAsset: yes
|
|
||||||
DefaultImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
@ -1,7 +0,0 @@
|
|||||||
//Made by Olsc
|
|
||||||
|
|
||||||
using UnityEngine.UI;
|
|
||||||
|
|
||||||
public class GameMask : Mask
|
|
||||||
{
|
|
||||||
}
|
|
@ -1,11 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 498b1c91abcaea34a89cf3d6b968867b
|
|
||||||
MonoImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
serializedVersion: 2
|
|
||||||
defaultReferences: []
|
|
||||||
executionOrder: 0
|
|
||||||
icon: {instanceID: 0}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
@ -1,7 +0,0 @@
|
|||||||
//Made by Olsc
|
|
||||||
|
|
||||||
using UnityEngine.UI;
|
|
||||||
|
|
||||||
public class GameRectMask2D : RectMask2D
|
|
||||||
{
|
|
||||||
}
|
|
@ -1,11 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: a734a3407c17c0841967c6f9cce8eac7
|
|
||||||
MonoImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
serializedVersion: 2
|
|
||||||
defaultReferences: []
|
|
||||||
executionOrder: 0
|
|
||||||
icon: {instanceID: 0}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
@ -1,8 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 9afc824f63ba82049aa20cd6ca5e28f6
|
|
||||||
folderAsset: yes
|
|
||||||
DefaultImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
@ -1,7 +0,0 @@
|
|||||||
//Made by Olsc
|
|
||||||
|
|
||||||
using UnityEngine.UI;
|
|
||||||
|
|
||||||
public class GameOutline : Outline
|
|
||||||
{
|
|
||||||
}
|
|
@ -1,11 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: d9a7125dc73df8b42872961c2c4803f7
|
|
||||||
MonoImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
serializedVersion: 2
|
|
||||||
defaultReferences: []
|
|
||||||
executionOrder: 0
|
|
||||||
icon: {instanceID: 0}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
@ -1,8 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 50774516589b76c45bf85f6a6912d8e1
|
|
||||||
folderAsset: yes
|
|
||||||
DefaultImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
@ -1,7 +0,0 @@
|
|||||||
//Made by Olsc
|
|
||||||
|
|
||||||
using UnityEngine.UI;
|
|
||||||
|
|
||||||
public class GameRawImage : RawImage
|
|
||||||
{
|
|
||||||
}
|
|
@ -1,11 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 5d926e078698e40438e354128b5acd58
|
|
||||||
MonoImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
serializedVersion: 2
|
|
||||||
defaultReferences: []
|
|
||||||
executionOrder: 0
|
|
||||||
icon: {instanceID: 0}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
@ -1,8 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 8cb9afce13ad584419ffb57753da11ea
|
|
||||||
folderAsset: yes
|
|
||||||
DefaultImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
@ -1,7 +0,0 @@
|
|||||||
//Made by Olsc
|
|
||||||
|
|
||||||
using UnityEngine.UI;
|
|
||||||
|
|
||||||
public class GameScrollRect : ScrollRect
|
|
||||||
{
|
|
||||||
}
|
|
@ -1,11 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: fb6f7756c81d4814f9e31a48b1d39433
|
|
||||||
MonoImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
serializedVersion: 2
|
|
||||||
defaultReferences: []
|
|
||||||
executionOrder: 0
|
|
||||||
icon: {instanceID: 0}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
@ -1,8 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: c339012d7f9b30449ad608fd1cef5b82
|
|
||||||
folderAsset: yes
|
|
||||||
DefaultImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
@ -1,7 +0,0 @@
|
|||||||
//Made by Olsc
|
|
||||||
|
|
||||||
using UnityEngine.UI;
|
|
||||||
|
|
||||||
public class GameScrollbar : Scrollbar
|
|
||||||
{
|
|
||||||
}
|
|
@ -1,11 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 4d63c9838d79fa3429c5ee15808b19eb
|
|
||||||
MonoImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
serializedVersion: 2
|
|
||||||
defaultReferences: []
|
|
||||||
executionOrder: 0
|
|
||||||
icon: {instanceID: 0}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
@ -1,8 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: bbd7141cc697dae4f8cc1ace9f691fa6
|
|
||||||
folderAsset: yes
|
|
||||||
DefaultImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
@ -1,7 +0,0 @@
|
|||||||
//Made by Olsc
|
|
||||||
|
|
||||||
using UnityEngine.UI;
|
|
||||||
|
|
||||||
public class GameSlider : Slider
|
|
||||||
{
|
|
||||||
}
|
|
@ -1,11 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: caba9dd549ff58c4c927b755957be186
|
|
||||||
MonoImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
serializedVersion: 2
|
|
||||||
defaultReferences: []
|
|
||||||
executionOrder: 0
|
|
||||||
icon: {instanceID: 0}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
@ -1,8 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: e3cadb2142845644d8a7110bc4af2d87
|
|
||||||
folderAsset: yes
|
|
||||||
DefaultImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
@ -1,7 +0,0 @@
|
|||||||
//Made by Olsc
|
|
||||||
|
|
||||||
using UnityEngine.UI;
|
|
||||||
|
|
||||||
public class GameText : Text
|
|
||||||
{
|
|
||||||
}
|
|
@ -1,11 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 880218c1f11e0054597c4282005949df
|
|
||||||
MonoImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
serializedVersion: 2
|
|
||||||
defaultReferences: []
|
|
||||||
executionOrder: 0
|
|
||||||
icon: {instanceID: 0}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
@ -1,8 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 364d652867baca946bbe1aae7af8f9c4
|
|
||||||
folderAsset: yes
|
|
||||||
DefaultImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
@ -1,7 +0,0 @@
|
|||||||
//Made by Olsc
|
|
||||||
|
|
||||||
using UnityEngine.UI;
|
|
||||||
|
|
||||||
public class GameToggle : Toggle
|
|
||||||
{
|
|
||||||
}
|
|
@ -1,11 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: db771345252fdde47ad268c9d300daae
|
|
||||||
MonoImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
serializedVersion: 2
|
|
||||||
defaultReferences: []
|
|
||||||
executionOrder: 0
|
|
||||||
icon: {instanceID: 0}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
Loading…
Reference in New Issue
Block a user