Compare commits
No commits in common. "master" and "0.4" have entirely different histories.
@ -11,8 +11,8 @@ namespace AsmdefHelper.CustomCreate.Editor {
|
|||||||
public static void ShowWindow() {
|
public static void ShowWindow() {
|
||||||
var window = GetWindow<AsmdefCustomCreateView>();
|
var window = GetWindow<AsmdefCustomCreateView>();
|
||||||
window.titleContent = new GUIContent("AsmdefCustomCreateView");
|
window.titleContent = new GUIContent("AsmdefCustomCreateView");
|
||||||
window.minSize = new Vector2(200, 200);
|
window.minSize = new Vector2(200, 180);
|
||||||
window.maxSize = new Vector2(2000, 2000);
|
window.maxSize = new Vector2(2000, 180);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void OnEnable() {
|
public void OnEnable() {
|
||||||
@ -29,51 +29,36 @@ namespace AsmdefHelper.CustomCreate.Editor {
|
|||||||
"Packages/dev.n5y.asmdefhelper/AsmdefHelper/CustomCreate/Editor/AsmdefCustomCreateView.uxml");
|
"Packages/dev.n5y.asmdefhelper/AsmdefHelper/CustomCreate/Editor/AsmdefCustomCreateView.uxml");
|
||||||
}
|
}
|
||||||
|
|
||||||
#if UNITY_2020_1_OR_NEWER
|
|
||||||
VisualElement labelFromUXML = visualTree.Instantiate();
|
VisualElement labelFromUXML = visualTree.Instantiate();
|
||||||
#else
|
|
||||||
VisualElement labelFromUXML = visualTree.CloneTree();
|
|
||||||
#endif
|
|
||||||
root.Add(labelFromUXML);
|
root.Add(labelFromUXML);
|
||||||
|
|
||||||
// UI取得
|
// UI取得
|
||||||
var pathTextField = root.Q<TextField>(className: "PathTextField");
|
var PathTextField = root.Q<TextField>(className: "PathTextField");
|
||||||
var nameTextField = root.Q<TextField>(className: "NameTextField");
|
var NameTextField = root.Q<TextField>(className: "NameTextField");
|
||||||
var allowUnsafeToggle = root.Q<Toggle>(className: "AllowUnsafeToggle");
|
var AllowUnsafeToggle = root.Q<Toggle>(className: "AllowUnsafeToggle");
|
||||||
var autoReferencedToggle = root.Q<Toggle>(className: "AutoReferencedToggle");
|
var AutoReferencedToggle = root.Q<Toggle>(className: "AutoReferencedToggle");
|
||||||
var noEngineReferencesToggle = root.Q<Toggle>(className: "NoEngineReferencesToggle");
|
var OverrideReferencesToggle = root.Q<Toggle>(className: "OverrideReferencesToggle");
|
||||||
var overrideReferencesToggle = root.Q<Toggle>(className: "OverrideReferencesToggle");
|
var NoEngineReferencesToggle = root.Q<Toggle>(className: "NoEngineReferencesToggle");
|
||||||
var rootNamespaceTextField = root.Q<TextField>(className: "RootNamespaceTextField");
|
var IsEditorToggle = root.Q<Toggle>(className: "IsEditorToggle");
|
||||||
var isEditorToggle = root.Q<Toggle>(className: "IsEditorToggle");
|
var CreateButton = root.Q<Button>(className: "CreateButton");
|
||||||
var createButton = root.Q<Button>(className: "CreateButton");
|
|
||||||
|
|
||||||
// PathとNameの初期値
|
// PathとNameの初期値
|
||||||
var asset = Selection.activeObject;
|
var asset = Selection.activeObject;
|
||||||
var assetPath = AssetDatabase.GetAssetPath(asset);
|
var assetPath = AssetDatabase.GetAssetPath(asset);
|
||||||
var directory = string.IsNullOrWhiteSpace(assetPath) ? "Assets/" : assetPath;
|
var directory = string.IsNullOrWhiteSpace(assetPath) ? "Assets/" : assetPath;
|
||||||
pathTextField.value = directory;
|
PathTextField.value = directory;
|
||||||
var defaultName = directory.Replace("Assets/", "").Replace('/', '.');
|
NameTextField.value = directory.Replace("Assets/", "").Replace('/', '.');
|
||||||
nameTextField.value = defaultName;
|
|
||||||
|
|
||||||
// RootNamespace が設定できるのは2020.2以降
|
|
||||||
#if UNITY_2020_2_OR_NEWER
|
|
||||||
rootNamespaceTextField.value = defaultName;
|
|
||||||
#else
|
|
||||||
root.Q<Box>(className: "Box").Remove(rootNamespaceTextField);
|
|
||||||
#endif
|
|
||||||
// .asmdefを作成して閉じる
|
// .asmdefを作成して閉じる
|
||||||
createButton.clickable.clicked += () => {
|
CreateButton.clickable.clicked += () => {
|
||||||
var asmdefName = nameTextField.value;
|
var asmdefName = NameTextField.value;
|
||||||
var asmdef = new AssemblyDefinitionJson {
|
var asmdef = new AssemblyDefinitionJson {
|
||||||
name = asmdefName,
|
name = asmdefName,
|
||||||
#if UNITY_2020_2_OR_NEWER
|
allowUnsafeCode = AllowUnsafeToggle.value,
|
||||||
rootNamespace = rootNamespaceTextField.value,
|
autoReferenced = AutoReferencedToggle.value,
|
||||||
#endif
|
overrideReferences = OverrideReferencesToggle.value,
|
||||||
allowUnsafeCode = allowUnsafeToggle.value,
|
noEngineReferences = NoEngineReferencesToggle.value,
|
||||||
autoReferenced = autoReferencedToggle.value,
|
includePlatforms = IsEditorToggle.value ? new[] { "Editor" } : new string[0]
|
||||||
overrideReferences = overrideReferencesToggle.value,
|
|
||||||
noEngineReferences = noEngineReferencesToggle.value,
|
|
||||||
includePlatforms = isEditorToggle.value ? new[] { "Editor" } : new string[0]
|
|
||||||
};
|
};
|
||||||
var asmdefJson = JsonUtility.ToJson(asmdef, true);
|
var asmdefJson = JsonUtility.ToJson(asmdef, true);
|
||||||
var asmdefPath = $"{directory}/{asmdefName}.asmdef";
|
var asmdefPath = $"{directory}/{asmdefName}.asmdef";
|
||||||
|
@ -6,14 +6,13 @@
|
|||||||
xsi:noNamespaceSchemaLocation="../../../../UIElementsSchema/UIElements.xsd"
|
xsi:noNamespaceSchemaLocation="../../../../UIElementsSchema/UIElements.xsd"
|
||||||
>
|
>
|
||||||
<engine:Label class="AsmdefInfo" text="Input your asmdef info"/>
|
<engine:Label class="AsmdefInfo" text="Input your asmdef info"/>
|
||||||
<engine:Box class="Box">
|
<engine:Box>
|
||||||
<engine:TextField class="PathTextField" label="Path" text="ASMDEF_PATH_HERE" readonly="true"/>
|
<engine:TextField class="PathTextField" label="Path" text="ASMDEF_PATH_HERE" readonly="true"/>
|
||||||
<engine:TextField class="NameTextField" label="Name" text="ASMDEF_NAME_HERE"/>
|
<engine:TextField class="NameTextField" label="Name" text="ASMDEF_NAME_HERE"/>
|
||||||
<engine:Toggle class="AllowUnsafeToggle" label="Allow 'unsafe' Code" value="false"/>
|
<engine:Toggle class="AllowUnsafeToggle" label="Allow 'unsafe' Code" value="false"/>
|
||||||
<engine:Toggle class="AutoReferencedToggle" label="Auto Referenced" value="true"/>
|
<engine:Toggle class="AutoReferencedToggle" label="Auto Referenced" value="true"/>
|
||||||
<engine:Toggle class="NoEngineReferencesToggle" label="No Engine References" value="false"/>
|
|
||||||
<engine:Toggle class="OverrideReferencesToggle" label="Override Referenced" value="false"/>
|
<engine:Toggle class="OverrideReferencesToggle" label="Override Referenced" value="false"/>
|
||||||
<engine:TextField class="RootNamespaceTextField" label="Root Namespace" text="ROOT_NAMESPACE_HERE"/>
|
<engine:Toggle class="NoEngineReferencesToggle" label="No Engine References" value="false"/>
|
||||||
<engine:Toggle class="IsEditorToggle" label="Is Editor" value="false"/>
|
<engine:Toggle class="IsEditorToggle" label="Is Editor" value="false"/>
|
||||||
<engine:Button class="CreateButton" text="Create" />
|
<engine:Button class="CreateButton" text="Create" />
|
||||||
</engine:Box>
|
</engine:Box>
|
||||||
|
@ -21,8 +21,8 @@ namespace AsmdefHelper.CustomCreate.Editor {
|
|||||||
if (extension == "asmdef") {
|
if (extension == "asmdef") {
|
||||||
var window = GetWindow<AsmdefRenameView>();
|
var window = GetWindow<AsmdefRenameView>();
|
||||||
window.titleContent = new GUIContent("AsmdefRenameView");
|
window.titleContent = new GUIContent("AsmdefRenameView");
|
||||||
window.minSize = new Vector2(200, 100);
|
window.minSize = new Vector2(200, 80);
|
||||||
window.maxSize = new Vector2(2000, 100);
|
window.maxSize = new Vector2(2000, 80);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -40,50 +40,33 @@ namespace AsmdefHelper.CustomCreate.Editor {
|
|||||||
"Packages/dev.n5y.asmdefhelper/AsmdefHelper/CustomCreate/Editor/AsmdefRenameView.uxml");
|
"Packages/dev.n5y.asmdefhelper/AsmdefHelper/CustomCreate/Editor/AsmdefRenameView.uxml");
|
||||||
}
|
}
|
||||||
|
|
||||||
#if UNITY_2020_1_OR_NEWER
|
|
||||||
VisualElement labelFromUXML = visualTree.Instantiate();
|
VisualElement labelFromUXML = visualTree.Instantiate();
|
||||||
#else
|
|
||||||
VisualElement labelFromUXML = visualTree.CloneTree();
|
|
||||||
#endif
|
|
||||||
root.Add(labelFromUXML);
|
root.Add(labelFromUXML);
|
||||||
|
|
||||||
// UI取得
|
// UI取得
|
||||||
var pathTextField = root.Q<TextField>(className: "PathTextField");
|
var PathTextField = root.Q<TextField>(className: "PathTextField");
|
||||||
var nameTextField = root.Q<TextField>(className: "NameTextField");
|
var NameTextField = root.Q<TextField>(className: "NameTextField");
|
||||||
var rootNamespaceTextField = root.Q<TextField>(className: "RootNamespaceTextField");
|
var CreateButton = root.Q<Button>(className: "RenameButton");
|
||||||
var createButton = root.Q<Button>(className: "RenameButton");
|
|
||||||
|
|
||||||
// 既存のasmdef読み込み
|
// 既存のasmdef読み込み
|
||||||
var orgText = File.ReadAllText(renameAsmdefPath);
|
var orgText = File.ReadAllText(renameAsmdefPath);
|
||||||
var asmdef = JsonUtility.FromJson<AssemblyDefinitionJson>(orgText);
|
var asmdef = JsonUtility.FromJson<AssemblyDefinitionJson>(orgText);
|
||||||
|
|
||||||
// 既存パラメータの反映
|
// 既存パラメータの反映
|
||||||
pathTextField.value = asmdefDirectory;
|
PathTextField.value = asmdefDirectory;
|
||||||
nameTextField.value = asmdef.name;
|
NameTextField.value = asmdef.name;
|
||||||
var asmdefNameOrg = asmdef.name;
|
|
||||||
|
|
||||||
// RootNamespace が設定できるのは2020.2以降
|
|
||||||
#if UNITY_2020_2_OR_NEWER
|
|
||||||
rootNamespaceTextField.value = asmdef.rootNamespace;
|
|
||||||
#else
|
|
||||||
root.Q<Box>(className: "Box").Remove(rootNamespaceTextField);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// .asmdefのnameとファイル名を更新して閉じる
|
// .asmdefのnameとファイル名を更新して閉じる
|
||||||
createButton.clickable.clicked += () => {
|
CreateButton.clickable.clicked += () => {
|
||||||
var asmdefName = nameTextField.value;
|
// nameのみ更新
|
||||||
|
var asmdefName = NameTextField.value;
|
||||||
asmdef.name = asmdefName;
|
asmdef.name = asmdefName;
|
||||||
#if UNITY_2020_2_OR_NEWER
|
|
||||||
asmdef.rootNamespace = rootNamespaceTextField.value;
|
|
||||||
#endif
|
|
||||||
var asmdefJson = JsonUtility.ToJson(asmdef, true);
|
var asmdefJson = JsonUtility.ToJson(asmdef, true);
|
||||||
var newAsmdefPath = $"{asmdefDirectory}/{asmdefName}.asmdef";
|
var newAsmdefPath = $"{asmdefDirectory}/{asmdefName}.asmdef";
|
||||||
// 新asmdef作成
|
// 新asmdef作成
|
||||||
File.WriteAllText(newAsmdefPath, asmdefJson, Encoding.UTF8);
|
File.WriteAllText(newAsmdefPath, asmdefJson, Encoding.UTF8);
|
||||||
// ファイル名が変わった場合は旧asmdef削除
|
// 旧asmdef削除
|
||||||
if (asmdefNameOrg != asmdefName) {
|
File.Delete(renameAsmdefPath);
|
||||||
FileUtil.DeleteFileOrDirectory(renameAsmdefPath);
|
|
||||||
}
|
|
||||||
AssetDatabase.Refresh();
|
AssetDatabase.Refresh();
|
||||||
Close();
|
Close();
|
||||||
};
|
};
|
||||||
|
@ -9,7 +9,6 @@
|
|||||||
<engine:Box>
|
<engine:Box>
|
||||||
<engine:TextField class="PathTextField" label="Path" text="ASMDEF_PATH_HERE" readonly="true"/>
|
<engine:TextField class="PathTextField" label="Path" text="ASMDEF_PATH_HERE" readonly="true"/>
|
||||||
<engine:TextField class="NameTextField" label="Name" text="ASMDEF_NAME_HERE"/>
|
<engine:TextField class="NameTextField" label="Name" text="ASMDEF_NAME_HERE"/>
|
||||||
<engine:TextField label="Root Namespace" text="ROOT_NAMESPACE_HERE" class="RootNamespaceTextField" />
|
|
||||||
<engine:Button class="RenameButton" text="Rename" />
|
<engine:Button class="RenameButton" text="Rename" />
|
||||||
</engine:Box>
|
</engine:Box>
|
||||||
</engine:UXML>
|
</engine:UXML>
|
||||||
|
@ -1,9 +1,6 @@
|
|||||||
namespace AsmdefHelper.CustomCreate.Editor {
|
namespace AsmdefHelper.CustomCreate.Editor {
|
||||||
public class AssemblyDefinitionJson {
|
public class AssemblyDefinitionJson {
|
||||||
public string name = string.Empty;
|
public string name = string.Empty;
|
||||||
#if UNITY_2020_2_OR_NEWER
|
|
||||||
public string rootNamespace = string.Empty;
|
|
||||||
#endif
|
|
||||||
public string[] references = new string[0];
|
public string[] references = new string[0];
|
||||||
public string[] includePlatforms = new string[0];
|
public string[] includePlatforms = new string[0];
|
||||||
public string[] excludePlatforms = new string[0];
|
public string[] excludePlatforms = new string[0];
|
||||||
|
@ -33,11 +33,7 @@ namespace AsmdefHelper.DependencyGraph.Editor {
|
|||||||
"Packages/dev.n5y.asmdefhelper/AsmdefHelper/DependencyGraph/Editor/AsmdefSelectionView/AsmdefSelectionView.uxml");
|
"Packages/dev.n5y.asmdefhelper/AsmdefHelper/DependencyGraph/Editor/AsmdefSelectionView/AsmdefSelectionView.uxml");
|
||||||
}
|
}
|
||||||
|
|
||||||
#if UNITY_2020_1_OR_NEWER
|
|
||||||
VisualElement labelFromUXML = visualTree.Instantiate();
|
VisualElement labelFromUXML = visualTree.Instantiate();
|
||||||
#else
|
|
||||||
VisualElement labelFromUXML = visualTree.CloneTree();
|
|
||||||
#endif
|
|
||||||
root.Add(labelFromUXML);
|
root.Add(labelFromUXML);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
361
Assets/AsmdefHelper/Example/AsmdefHelperSampleScene.unity
Normal file
361
Assets/AsmdefHelper/Example/AsmdefHelperSampleScene.unity
Normal file
@ -0,0 +1,361 @@
|
|||||||
|
%YAML 1.1
|
||||||
|
%TAG !u! tag:unity3d.com,2011:
|
||||||
|
--- !u!29 &1
|
||||||
|
OcclusionCullingSettings:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
serializedVersion: 2
|
||||||
|
m_OcclusionBakeSettings:
|
||||||
|
smallestOccluder: 5
|
||||||
|
smallestHole: 0.25
|
||||||
|
backfaceThreshold: 100
|
||||||
|
m_SceneGUID: 00000000000000000000000000000000
|
||||||
|
m_OcclusionCullingData: {fileID: 0}
|
||||||
|
--- !u!104 &2
|
||||||
|
RenderSettings:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
serializedVersion: 9
|
||||||
|
m_Fog: 0
|
||||||
|
m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1}
|
||||||
|
m_FogMode: 3
|
||||||
|
m_FogDensity: 0.01
|
||||||
|
m_LinearFogStart: 0
|
||||||
|
m_LinearFogEnd: 300
|
||||||
|
m_AmbientSkyColor: {r: 0.212, g: 0.227, b: 0.259, a: 1}
|
||||||
|
m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1}
|
||||||
|
m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1}
|
||||||
|
m_AmbientIntensity: 1
|
||||||
|
m_AmbientMode: 0
|
||||||
|
m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1}
|
||||||
|
m_SkyboxMaterial: {fileID: 10304, guid: 0000000000000000f000000000000000, type: 0}
|
||||||
|
m_HaloStrength: 0.5
|
||||||
|
m_FlareStrength: 1
|
||||||
|
m_FlareFadeSpeed: 3
|
||||||
|
m_HaloTexture: {fileID: 0}
|
||||||
|
m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0}
|
||||||
|
m_DefaultReflectionMode: 0
|
||||||
|
m_DefaultReflectionResolution: 128
|
||||||
|
m_ReflectionBounces: 1
|
||||||
|
m_ReflectionIntensity: 1
|
||||||
|
m_CustomReflection: {fileID: 0}
|
||||||
|
m_Sun: {fileID: 705507994}
|
||||||
|
m_IndirectSpecularColor: {r: 0.44657898, g: 0.4964133, b: 0.5748178, a: 1}
|
||||||
|
m_UseRadianceAmbientProbe: 0
|
||||||
|
--- !u!157 &3
|
||||||
|
LightmapSettings:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
serializedVersion: 12
|
||||||
|
m_GIWorkflowMode: 0
|
||||||
|
m_GISettings:
|
||||||
|
serializedVersion: 2
|
||||||
|
m_BounceScale: 1
|
||||||
|
m_IndirectOutputScale: 1
|
||||||
|
m_AlbedoBoost: 1
|
||||||
|
m_EnvironmentLightingMode: 0
|
||||||
|
m_EnableBakedLightmaps: 1
|
||||||
|
m_EnableRealtimeLightmaps: 0
|
||||||
|
m_LightmapEditorSettings:
|
||||||
|
serializedVersion: 12
|
||||||
|
m_Resolution: 2
|
||||||
|
m_BakeResolution: 40
|
||||||
|
m_AtlasSize: 1024
|
||||||
|
m_AO: 0
|
||||||
|
m_AOMaxDistance: 1
|
||||||
|
m_CompAOExponent: 1
|
||||||
|
m_CompAOExponentDirect: 0
|
||||||
|
m_ExtractAmbientOcclusion: 0
|
||||||
|
m_Padding: 2
|
||||||
|
m_LightmapParameters: {fileID: 0}
|
||||||
|
m_LightmapsBakeMode: 1
|
||||||
|
m_TextureCompression: 1
|
||||||
|
m_FinalGather: 0
|
||||||
|
m_FinalGatherFiltering: 1
|
||||||
|
m_FinalGatherRayCount: 256
|
||||||
|
m_ReflectionCompression: 2
|
||||||
|
m_MixedBakeMode: 2
|
||||||
|
m_BakeBackend: 1
|
||||||
|
m_PVRSampling: 1
|
||||||
|
m_PVRDirectSampleCount: 32
|
||||||
|
m_PVRSampleCount: 500
|
||||||
|
m_PVRBounces: 2
|
||||||
|
m_PVREnvironmentSampleCount: 500
|
||||||
|
m_PVREnvironmentReferencePointCount: 2048
|
||||||
|
m_PVRFilteringMode: 2
|
||||||
|
m_PVRDenoiserTypeDirect: 0
|
||||||
|
m_PVRDenoiserTypeIndirect: 0
|
||||||
|
m_PVRDenoiserTypeAO: 0
|
||||||
|
m_PVRFilterTypeDirect: 0
|
||||||
|
m_PVRFilterTypeIndirect: 0
|
||||||
|
m_PVRFilterTypeAO: 0
|
||||||
|
m_PVREnvironmentMIS: 0
|
||||||
|
m_PVRCulling: 1
|
||||||
|
m_PVRFilteringGaussRadiusDirect: 1
|
||||||
|
m_PVRFilteringGaussRadiusIndirect: 5
|
||||||
|
m_PVRFilteringGaussRadiusAO: 2
|
||||||
|
m_PVRFilteringAtrousPositionSigmaDirect: 0.5
|
||||||
|
m_PVRFilteringAtrousPositionSigmaIndirect: 2
|
||||||
|
m_PVRFilteringAtrousPositionSigmaAO: 1
|
||||||
|
m_ExportTrainingData: 0
|
||||||
|
m_TrainingDataDestination: TrainingData
|
||||||
|
m_LightProbeSampleCountMultiplier: 4
|
||||||
|
m_LightingDataAsset: {fileID: 0}
|
||||||
|
m_LightingSettings: {fileID: 1490641308}
|
||||||
|
--- !u!196 &4
|
||||||
|
NavMeshSettings:
|
||||||
|
serializedVersion: 2
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_BuildSettings:
|
||||||
|
serializedVersion: 2
|
||||||
|
agentTypeID: 0
|
||||||
|
agentRadius: 0.5
|
||||||
|
agentHeight: 2
|
||||||
|
agentSlope: 45
|
||||||
|
agentClimb: 0.4
|
||||||
|
ledgeDropHeight: 0
|
||||||
|
maxJumpAcrossDistance: 0
|
||||||
|
minRegionArea: 2
|
||||||
|
manualCellSize: 0
|
||||||
|
cellSize: 0.16666667
|
||||||
|
manualTileSize: 0
|
||||||
|
tileSize: 256
|
||||||
|
accuratePlacement: 0
|
||||||
|
maxJobWorkers: 0
|
||||||
|
preserveTilesOutsideBounds: 0
|
||||||
|
debug:
|
||||||
|
m_Flags: 0
|
||||||
|
m_NavMeshData: {fileID: 0}
|
||||||
|
--- !u!1 &705507993
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 705507995}
|
||||||
|
- component: {fileID: 705507994}
|
||||||
|
m_Layer: 0
|
||||||
|
m_Name: Directional Light
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!108 &705507994
|
||||||
|
Light:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 705507993}
|
||||||
|
m_Enabled: 1
|
||||||
|
serializedVersion: 10
|
||||||
|
m_Type: 1
|
||||||
|
m_Shape: 0
|
||||||
|
m_Color: {r: 1, g: 0.95686275, b: 0.8392157, a: 1}
|
||||||
|
m_Intensity: 1
|
||||||
|
m_Range: 10
|
||||||
|
m_SpotAngle: 30
|
||||||
|
m_InnerSpotAngle: 21.80208
|
||||||
|
m_CookieSize: 10
|
||||||
|
m_Shadows:
|
||||||
|
m_Type: 2
|
||||||
|
m_Resolution: -1
|
||||||
|
m_CustomResolution: -1
|
||||||
|
m_Strength: 1
|
||||||
|
m_Bias: 0.05
|
||||||
|
m_NormalBias: 0.4
|
||||||
|
m_NearPlane: 0.2
|
||||||
|
m_CullingMatrixOverride:
|
||||||
|
e00: 1
|
||||||
|
e01: 0
|
||||||
|
e02: 0
|
||||||
|
e03: 0
|
||||||
|
e10: 0
|
||||||
|
e11: 1
|
||||||
|
e12: 0
|
||||||
|
e13: 0
|
||||||
|
e20: 0
|
||||||
|
e21: 0
|
||||||
|
e22: 1
|
||||||
|
e23: 0
|
||||||
|
e30: 0
|
||||||
|
e31: 0
|
||||||
|
e32: 0
|
||||||
|
e33: 1
|
||||||
|
m_UseCullingMatrixOverride: 0
|
||||||
|
m_Cookie: {fileID: 0}
|
||||||
|
m_DrawHalo: 0
|
||||||
|
m_Flare: {fileID: 0}
|
||||||
|
m_RenderMode: 0
|
||||||
|
m_CullingMask:
|
||||||
|
serializedVersion: 2
|
||||||
|
m_Bits: 4294967295
|
||||||
|
m_RenderingLayerMask: 1
|
||||||
|
m_Lightmapping: 1
|
||||||
|
m_LightShadowCasterMode: 0
|
||||||
|
m_AreaSize: {x: 1, y: 1}
|
||||||
|
m_BounceIntensity: 1
|
||||||
|
m_ColorTemperature: 6570
|
||||||
|
m_UseColorTemperature: 0
|
||||||
|
m_BoundingSphereOverride: {x: 0, y: 0, z: 0, w: 0}
|
||||||
|
m_UseBoundingSphereOverride: 0
|
||||||
|
m_ShadowRadius: 0
|
||||||
|
m_ShadowAngle: 0
|
||||||
|
--- !u!4 &705507995
|
||||||
|
Transform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 705507993}
|
||||||
|
m_LocalRotation: {x: 0.40821788, y: -0.23456968, z: 0.10938163, w: 0.8754261}
|
||||||
|
m_LocalPosition: {x: 0, y: 3, z: 0}
|
||||||
|
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||||
|
m_Children: []
|
||||||
|
m_Father: {fileID: 0}
|
||||||
|
m_RootOrder: 1
|
||||||
|
m_LocalEulerAnglesHint: {x: 50, y: -30, z: 0}
|
||||||
|
--- !u!1 &963194225
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 963194228}
|
||||||
|
- component: {fileID: 963194227}
|
||||||
|
- component: {fileID: 963194226}
|
||||||
|
m_Layer: 0
|
||||||
|
m_Name: Main Camera
|
||||||
|
m_TagString: MainCamera
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!81 &963194226
|
||||||
|
AudioListener:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 963194225}
|
||||||
|
m_Enabled: 1
|
||||||
|
--- !u!20 &963194227
|
||||||
|
Camera:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 963194225}
|
||||||
|
m_Enabled: 1
|
||||||
|
serializedVersion: 2
|
||||||
|
m_ClearFlags: 1
|
||||||
|
m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0}
|
||||||
|
m_projectionMatrixMode: 1
|
||||||
|
m_GateFitMode: 2
|
||||||
|
m_FOVAxisMode: 0
|
||||||
|
m_SensorSize: {x: 36, y: 24}
|
||||||
|
m_LensShift: {x: 0, y: 0}
|
||||||
|
m_FocalLength: 50
|
||||||
|
m_NormalizedViewPortRect:
|
||||||
|
serializedVersion: 2
|
||||||
|
x: 0
|
||||||
|
y: 0
|
||||||
|
width: 1
|
||||||
|
height: 1
|
||||||
|
near clip plane: 0.3
|
||||||
|
far clip plane: 1000
|
||||||
|
field of view: 60
|
||||||
|
orthographic: 0
|
||||||
|
orthographic size: 5
|
||||||
|
m_Depth: -1
|
||||||
|
m_CullingMask:
|
||||||
|
serializedVersion: 2
|
||||||
|
m_Bits: 4294967295
|
||||||
|
m_RenderingPath: -1
|
||||||
|
m_TargetTexture: {fileID: 0}
|
||||||
|
m_TargetDisplay: 0
|
||||||
|
m_TargetEye: 3
|
||||||
|
m_HDR: 1
|
||||||
|
m_AllowMSAA: 1
|
||||||
|
m_AllowDynamicResolution: 0
|
||||||
|
m_ForceIntoRT: 0
|
||||||
|
m_OcclusionCulling: 1
|
||||||
|
m_StereoConvergence: 10
|
||||||
|
m_StereoSeparation: 0.022
|
||||||
|
--- !u!4 &963194228
|
||||||
|
Transform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 963194225}
|
||||||
|
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||||
|
m_LocalPosition: {x: 0, y: 1, z: -10}
|
||||||
|
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||||
|
m_Children: []
|
||||||
|
m_Father: {fileID: 0}
|
||||||
|
m_RootOrder: 0
|
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
|
--- !u!850595691 &1490641308
|
||||||
|
LightingSettings:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_Name: Settings.lighting
|
||||||
|
serializedVersion: 2
|
||||||
|
m_GIWorkflowMode: 0
|
||||||
|
m_EnableBakedLightmaps: 1
|
||||||
|
m_EnableRealtimeLightmaps: 0
|
||||||
|
m_RealtimeEnvironmentLighting: 1
|
||||||
|
m_BounceScale: 1
|
||||||
|
m_AlbedoBoost: 1
|
||||||
|
m_IndirectOutputScale: 1
|
||||||
|
m_UsingShadowmask: 1
|
||||||
|
m_BakeBackend: 1
|
||||||
|
m_LightmapMaxSize: 1024
|
||||||
|
m_BakeResolution: 40
|
||||||
|
m_Padding: 2
|
||||||
|
m_TextureCompression: 1
|
||||||
|
m_AO: 0
|
||||||
|
m_AOMaxDistance: 1
|
||||||
|
m_CompAOExponent: 1
|
||||||
|
m_CompAOExponentDirect: 0
|
||||||
|
m_ExtractAO: 0
|
||||||
|
m_MixedBakeMode: 2
|
||||||
|
m_LightmapsBakeMode: 1
|
||||||
|
m_FilterMode: 1
|
||||||
|
m_LightmapParameters: {fileID: 0}
|
||||||
|
m_ExportTrainingData: 0
|
||||||
|
m_TrainingDataDestination: TrainingData
|
||||||
|
m_RealtimeResolution: 2
|
||||||
|
m_ForceWhiteAlbedo: 0
|
||||||
|
m_ForceUpdates: 0
|
||||||
|
m_FinalGather: 0
|
||||||
|
m_FinalGatherRayCount: 256
|
||||||
|
m_FinalGatherFiltering: 1
|
||||||
|
m_PVRCulling: 1
|
||||||
|
m_PVRSampling: 1
|
||||||
|
m_PVRDirectSampleCount: 32
|
||||||
|
m_PVRSampleCount: 500
|
||||||
|
m_PVREnvironmentSampleCount: 500
|
||||||
|
m_PVREnvironmentReferencePointCount: 2048
|
||||||
|
m_LightProbeSampleCountMultiplier: 4
|
||||||
|
m_PVRBounces: 2
|
||||||
|
m_PVRRussianRouletteStartBounce: 2
|
||||||
|
m_PVREnvironmentMIS: 0
|
||||||
|
m_PVRFilteringMode: 2
|
||||||
|
m_PVRDenoiserTypeDirect: 0
|
||||||
|
m_PVRDenoiserTypeIndirect: 0
|
||||||
|
m_PVRDenoiserTypeAO: 0
|
||||||
|
m_PVRFilterTypeDirect: 0
|
||||||
|
m_PVRFilterTypeIndirect: 0
|
||||||
|
m_PVRFilterTypeAO: 0
|
||||||
|
m_PVRFilteringGaussRadiusDirect: 1
|
||||||
|
m_PVRFilteringGaussRadiusIndirect: 5
|
||||||
|
m_PVRFilteringGaussRadiusAO: 2
|
||||||
|
m_PVRFilteringAtrousPositionSigmaDirect: 0.5
|
||||||
|
m_PVRFilteringAtrousPositionSigmaIndirect: 2
|
||||||
|
m_PVRFilteringAtrousPositionSigmaAO: 1
|
@ -0,0 +1,7 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 9fc0d4010bbf28b4594072e72b8655ab
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
8
Assets/AsmdefHelper/SyncSolution.meta
Normal file
8
Assets/AsmdefHelper/SyncSolution.meta
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 3343c43624a31f447a1961156a2cac6e
|
||||||
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
8
Assets/AsmdefHelper/SyncSolution/Editor.meta
Normal file
8
Assets/AsmdefHelper/SyncSolution/Editor.meta
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 07e92c78d576a8a458ce4a298eeb512d
|
||||||
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
@ -0,0 +1,17 @@
|
|||||||
|
{
|
||||||
|
"name": "AsmdefHelper.SyncSolution.Editor",
|
||||||
|
"references": [
|
||||||
|
"GUID:211243abc45174c45b3a6c275ea126b9"
|
||||||
|
],
|
||||||
|
"includePlatforms": [
|
||||||
|
"Editor"
|
||||||
|
],
|
||||||
|
"excludePlatforms": [],
|
||||||
|
"allowUnsafeCode": false,
|
||||||
|
"overrideReferences": false,
|
||||||
|
"precompiledReferences": [],
|
||||||
|
"autoReferenced": true,
|
||||||
|
"defineConstraints": [],
|
||||||
|
"versionDefines": [],
|
||||||
|
"noEngineReferences": false
|
||||||
|
}
|
@ -0,0 +1,7 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: dcfd308825181f346bc76cac8ae79330
|
||||||
|
AssemblyDefinitionImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
@ -0,0 +1,57 @@
|
|||||||
|
using System.Collections.Generic;
|
||||||
|
using System.IO;
|
||||||
|
using System.Linq;
|
||||||
|
using UnityEditor;
|
||||||
|
using UnityEngine;
|
||||||
|
using AsmdefHelper.UnityInternal;
|
||||||
|
|
||||||
|
// https://forum.unity.com/threads/solved-unity-not-generating-sln-file-from-assets-open-c-project.538487/
|
||||||
|
// Thank you Flexford!
|
||||||
|
namespace AsmdefHelper.SyncSolution.Editor {
|
||||||
|
public static class SyncSolutionUtilities {
|
||||||
|
|
||||||
|
[MenuItem("AsmdefHelper/Sync C# Solution", priority = 3000)]
|
||||||
|
public static void Sync() {
|
||||||
|
Sync(true);
|
||||||
|
}
|
||||||
|
|
||||||
|
static void Sync(bool logsEnabled) {
|
||||||
|
CleanOldFiles(logsEnabled);
|
||||||
|
Call_SyncSolution(logsEnabled);
|
||||||
|
Call_SynchronizerSync(logsEnabled);
|
||||||
|
}
|
||||||
|
|
||||||
|
static void CleanOldFiles(bool logsEnabled) {
|
||||||
|
var assetsDirectoryInfo = new DirectoryInfo(Application.dataPath);
|
||||||
|
var projectDirectoryInfo = assetsDirectoryInfo.Parent;
|
||||||
|
|
||||||
|
var files = GetFilesByExtensions(projectDirectoryInfo, "*.sln", "*.csproj");
|
||||||
|
foreach (var file in files) {
|
||||||
|
if (logsEnabled) {
|
||||||
|
Debug.Log($"Remove old solution file: {file.Name}");
|
||||||
|
}
|
||||||
|
file.Delete();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
static void Call_SyncSolution(bool logsEnabled) {
|
||||||
|
if (logsEnabled) {
|
||||||
|
Debug.Log($"Coll method: SyncVS.Sync()");
|
||||||
|
}
|
||||||
|
SolutionSynchronizerWrapper.SyncSolution();
|
||||||
|
}
|
||||||
|
|
||||||
|
static void Call_SynchronizerSync(bool logsEnabled) {
|
||||||
|
if (logsEnabled) {
|
||||||
|
Debug.Log($"Coll method: SyncVS.Synchronizer.Sync()");
|
||||||
|
}
|
||||||
|
SolutionSynchronizerWrapper.SynchronizerSync();
|
||||||
|
}
|
||||||
|
|
||||||
|
static IEnumerable<FileInfo> GetFilesByExtensions(DirectoryInfo dir, params string[] extensions) {
|
||||||
|
extensions = extensions ?? new[] { "*" };
|
||||||
|
var files = Enumerable.Empty<FileInfo>();
|
||||||
|
return extensions.Aggregate(files, (current, ext) => current.Concat(dir.GetFiles(ext)));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,11 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: e5785f4c5d9ed634799d54e96aabf408
|
||||||
|
MonoImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
@ -1,5 +1,5 @@
|
|||||||
using UnityEditor;
|
using UnityEditor;
|
||||||
|
using UnityEditor.Experimental.AssetImporters;
|
||||||
|
|
||||||
namespace AsmdefHelper.UnityInternal {
|
namespace AsmdefHelper.UnityInternal {
|
||||||
public class InspectorWindowWrapper : EditorWindow{
|
public class InspectorWindowWrapper : EditorWindow{
|
||||||
@ -17,11 +17,7 @@ namespace AsmdefHelper.UnityInternal {
|
|||||||
|
|
||||||
public void AllApply() {
|
public void AllApply() {
|
||||||
foreach (var editor in inspectorWindow.tracker.activeEditors) {
|
foreach (var editor in inspectorWindow.tracker.activeEditors) {
|
||||||
#if UNITY_2021_1_OR_NEWER
|
var assetImporterEditor = editor as AssetImporterEditor;
|
||||||
var assetImporterEditor = editor as UnityEditor.AssetImporters.AssetImporterEditor;
|
|
||||||
#else
|
|
||||||
var assetImporterEditor = editor as UnityEditor.Experimental.AssetImporters.AssetImporterEditor;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
if (assetImporterEditor != null && assetImporterEditor.HasModified()) {
|
if (assetImporterEditor != null && assetImporterEditor.HasModified()) {
|
||||||
assetImporterEditor.ApplyAndImport();
|
assetImporterEditor.ApplyAndImport();
|
||||||
|
@ -0,0 +1,22 @@
|
|||||||
|
using UnityEditor;
|
||||||
|
using UnityEditor.VisualStudioIntegration;
|
||||||
|
|
||||||
|
namespace AsmdefHelper.UnityInternal {
|
||||||
|
public static class SolutionSynchronizerWrapper {
|
||||||
|
|
||||||
|
static readonly SolutionSynchronizer synchronizer;
|
||||||
|
|
||||||
|
static SolutionSynchronizerWrapper() {
|
||||||
|
synchronizer = SyncVS.Synchronizer;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static void SyncSolution() {
|
||||||
|
SyncVS.SyncSolution();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public static void SynchronizerSync() {
|
||||||
|
synchronizer?.Sync();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,3 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: aeb995b6396143f58028eb4aa639c7c4
|
||||||
|
timeCreated: 1586952223
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "dev.n5y.asmdefhelper",
|
"name": "dev.n5y.asmdefhelper",
|
||||||
"displayName": "AsmdefHelper",
|
"displayName": "AsmdefHelper",
|
||||||
"version": "0.5.3",
|
"version": "0.4.0",
|
||||||
"unity": "2019.3",
|
"unity": "2019.3",
|
||||||
"description": "Unity assembly definition utilities.",
|
"description": "Unity assembly definition utilities.",
|
||||||
"keywords": ["asmdef", "editor"],
|
"keywords": ["asmdef", "editor"],
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
{
|
{
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"com.unity.ide.rider": "3.0.9",
|
"com.unity.ide.rider": "1.2.1",
|
||||||
"com.unity.ide.visualstudio": "2.0.12",
|
"com.unity.ide.visualstudio": "2.0.2",
|
||||||
"com.unity.test-framework": "1.1.29",
|
"com.unity.test-framework": "1.1.16",
|
||||||
"com.unity.modules.ai": "1.0.0",
|
"com.unity.modules.ai": "1.0.0",
|
||||||
"com.unity.modules.androidjni": "1.0.0",
|
"com.unity.modules.androidjni": "1.0.0",
|
||||||
"com.unity.modules.animation": "1.0.0",
|
"com.unity.modules.animation": "1.0.0",
|
||||||
|
@ -1,36 +1,34 @@
|
|||||||
{
|
{
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"com.unity.ext.nunit": {
|
"com.unity.ext.nunit": {
|
||||||
"version": "1.0.6",
|
"version": "1.0.0",
|
||||||
"depth": 1,
|
"depth": 1,
|
||||||
"source": "registry",
|
"source": "registry",
|
||||||
"dependencies": {},
|
"dependencies": {},
|
||||||
"url": "https://packages.unity.com"
|
"url": "https://packages.unity.com"
|
||||||
},
|
},
|
||||||
"com.unity.ide.rider": {
|
"com.unity.ide.rider": {
|
||||||
"version": "3.0.9",
|
"version": "1.2.1",
|
||||||
"depth": 0,
|
"depth": 0,
|
||||||
"source": "registry",
|
"source": "registry",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"com.unity.ext.nunit": "1.0.6"
|
"com.unity.test-framework": "1.1.1"
|
||||||
},
|
},
|
||||||
"url": "https://packages.unity.com"
|
"url": "https://packages.unity.com"
|
||||||
},
|
},
|
||||||
"com.unity.ide.visualstudio": {
|
"com.unity.ide.visualstudio": {
|
||||||
"version": "2.0.12",
|
"version": "2.0.2",
|
||||||
"depth": 0,
|
"depth": 0,
|
||||||
"source": "registry",
|
"source": "registry",
|
||||||
"dependencies": {
|
"dependencies": {},
|
||||||
"com.unity.test-framework": "1.1.9"
|
|
||||||
},
|
|
||||||
"url": "https://packages.unity.com"
|
"url": "https://packages.unity.com"
|
||||||
},
|
},
|
||||||
"com.unity.test-framework": {
|
"com.unity.test-framework": {
|
||||||
"version": "1.1.29",
|
"version": "1.1.16",
|
||||||
"depth": 0,
|
"depth": 0,
|
||||||
"source": "registry",
|
"source": "registry",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"com.unity.ext.nunit": "1.0.6",
|
"com.unity.ext.nunit": "1.0.0",
|
||||||
"com.unity.modules.imgui": "1.0.0",
|
"com.unity.modules.imgui": "1.0.0",
|
||||||
"com.unity.modules.jsonserialize": "1.0.0"
|
"com.unity.modules.jsonserialize": "1.0.0"
|
||||||
},
|
},
|
||||||
|
@ -1,35 +0,0 @@
|
|||||||
%YAML 1.1
|
|
||||||
%TAG !u! tag:unity3d.com,2011:
|
|
||||||
--- !u!387306366 &1
|
|
||||||
MemorySettings:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_EditorMemorySettings:
|
|
||||||
m_MainAllocatorBlockSize: -1
|
|
||||||
m_ThreadAllocatorBlockSize: -1
|
|
||||||
m_MainGfxBlockSize: -1
|
|
||||||
m_ThreadGfxBlockSize: -1
|
|
||||||
m_CacheBlockSize: -1
|
|
||||||
m_TypetreeBlockSize: -1
|
|
||||||
m_ProfilerBlockSize: -1
|
|
||||||
m_ProfilerEditorBlockSize: -1
|
|
||||||
m_BucketAllocatorGranularity: -1
|
|
||||||
m_BucketAllocatorBucketsCount: -1
|
|
||||||
m_BucketAllocatorBlockSize: -1
|
|
||||||
m_BucketAllocatorBlockCount: -1
|
|
||||||
m_ProfilerBucketAllocatorGranularity: -1
|
|
||||||
m_ProfilerBucketAllocatorBucketsCount: -1
|
|
||||||
m_ProfilerBucketAllocatorBlockSize: -1
|
|
||||||
m_ProfilerBucketAllocatorBlockCount: -1
|
|
||||||
m_TempAllocatorSizeMain: -1
|
|
||||||
m_JobTempAllocatorBlockSize: -1
|
|
||||||
m_BackgroundJobTempAllocatorBlockSize: -1
|
|
||||||
m_JobTempAllocatorReducedBlockSize: -1
|
|
||||||
m_TempAllocatorSizeGIBakingWorker: -1
|
|
||||||
m_TempAllocatorSizeNavMeshWorker: -1
|
|
||||||
m_TempAllocatorSizeAudioWorker: -1
|
|
||||||
m_TempAllocatorSizeCloudWorker: -1
|
|
||||||
m_TempAllocatorSizeGfx: -1
|
|
||||||
m_TempAllocatorSizeJobWorker: -1
|
|
||||||
m_TempAllocatorSizeBackgroundWorker: -1
|
|
||||||
m_TempAllocatorSizePreloadManager: -1
|
|
||||||
m_PlatformMemorySettings: {}
|
|
@ -1,2 +1,2 @@
|
|||||||
m_EditorVersion: 2021.2.8f1
|
m_EditorVersion: 2020.1.6f1
|
||||||
m_EditorVersionWithRevision: 2021.2.8f1 (d0e5f0a7b06a)
|
m_EditorVersionWithRevision: 2020.1.6f1 (fc477ca6df10)
|
||||||
|
18
README.md
18
README.md
@ -6,13 +6,6 @@ Unity assembly definition utilities.
|
|||||||
|
|
||||||
This library solve inconvenience of assembly definition on unity.
|
This library solve inconvenience of assembly definition on unity.
|
||||||
|
|
||||||
### install via upm
|
|
||||||
Please add this line to `dependencies` of `Packages/manifest.json`.
|
|
||||||
|
|
||||||
```
|
|
||||||
"dev.n5y.asmdefhelper": "https://git.roseapollo.com/rose/AsmdefHelper.git?path=Assets"
|
|
||||||
```
|
|
||||||
|
|
||||||
## Dependency Graph
|
## Dependency Graph
|
||||||
|
|
||||||
Unity assembly definition viewer.
|
Unity assembly definition viewer.
|
||||||
@ -39,6 +32,15 @@ Open multiple assembly definition inspector views for parallel editing.
|
|||||||
|
|
||||||
<img src="https://user-images.githubusercontent.com/15327448/79342775-813ff480-7f68-11ea-851d-3e93b5948c0b.gif" width="450" />
|
<img src="https://user-images.githubusercontent.com/15327448/79342775-813ff480-7f68-11ea-851d-3e93b5948c0b.gif" width="450" />
|
||||||
|
|
||||||
|
## Sync Solution
|
||||||
|
|
||||||
|
Refresh .sln/.csproj in your project.
|
||||||
|
|
||||||
|
(menu) > [AsmdefHelper] > [Sync C# Solution]
|
||||||
|
|
||||||
|
I referred to this: [[SOLVED] Unity not generating .sln file from Assets > Open C# Project
|
||||||
|
](https://forum.unity.com/threads/solved-unity-not-generating-sln-file-from-assets-open-c-project.538487/)
|
||||||
|
|
||||||
## Compile Locker
|
## Compile Locker
|
||||||
|
|
||||||
Lock unity editor compile to edit an asmdef.
|
Lock unity editor compile to edit an asmdef.
|
||||||
@ -70,7 +72,7 @@ And you can also rename an asmdef by one action.
|
|||||||
___
|
___
|
||||||
|
|
||||||
## Environment
|
## Environment
|
||||||
Unity 2021.2.8f1
|
Unity 2020.1.6f1
|
||||||
|
|
||||||
This library use unity internal class, so may be not work (or couse build error) depending your unity vresion.
|
This library use unity internal class, so may be not work (or couse build error) depending your unity vresion.
|
||||||
|
|
||||||
|
@ -1,689 +0,0 @@
|
|||||||
%YAML 1.1
|
|
||||||
%TAG !u! tag:unity3d.com,2011:
|
|
||||||
--- !u!114 &1
|
|
||||||
MonoBehaviour:
|
|
||||||
m_ObjectHideFlags: 52
|
|
||||||
m_PrefabParentObject: {fileID: 0}
|
|
||||||
m_PrefabInternal: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 0}
|
|
||||||
m_Enabled: 1
|
|
||||||
m_EditorHideFlags: 1
|
|
||||||
m_Script: {fileID: 12004, guid: 0000000000000000e000000000000000, type: 0}
|
|
||||||
m_Name:
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
m_PixelRect:
|
|
||||||
serializedVersion: 2
|
|
||||||
x: 0
|
|
||||||
y: 45
|
|
||||||
width: 2560
|
|
||||||
height: 1391
|
|
||||||
m_ShowMode: 4
|
|
||||||
m_Title:
|
|
||||||
m_RootView: {fileID: 6}
|
|
||||||
m_MinSize: {x: 950, y: 300}
|
|
||||||
m_MaxSize: {x: 10000, y: 10000}
|
|
||||||
--- !u!114 &2
|
|
||||||
MonoBehaviour:
|
|
||||||
m_ObjectHideFlags: 52
|
|
||||||
m_PrefabParentObject: {fileID: 0}
|
|
||||||
m_PrefabInternal: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 0}
|
|
||||||
m_Enabled: 1
|
|
||||||
m_EditorHideFlags: 1
|
|
||||||
m_Script: {fileID: 12010, guid: 0000000000000000e000000000000000, type: 0}
|
|
||||||
m_Name:
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
m_Children:
|
|
||||||
- {fileID: 9}
|
|
||||||
- {fileID: 3}
|
|
||||||
m_Position:
|
|
||||||
serializedVersion: 2
|
|
||||||
x: 0
|
|
||||||
y: 30
|
|
||||||
width: 2560
|
|
||||||
height: 1341
|
|
||||||
m_MinSize: {x: 683, y: 492}
|
|
||||||
m_MaxSize: {x: 14004, y: 14042}
|
|
||||||
vertical: 0
|
|
||||||
controlID: 615
|
|
||||||
--- !u!114 &3
|
|
||||||
MonoBehaviour:
|
|
||||||
m_ObjectHideFlags: 52
|
|
||||||
m_PrefabParentObject: {fileID: 0}
|
|
||||||
m_PrefabInternal: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 0}
|
|
||||||
m_Enabled: 1
|
|
||||||
m_EditorHideFlags: 1
|
|
||||||
m_Script: {fileID: 12006, guid: 0000000000000000e000000000000000, type: 0}
|
|
||||||
m_Name:
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
m_Children: []
|
|
||||||
m_Position:
|
|
||||||
serializedVersion: 2
|
|
||||||
x: 2041
|
|
||||||
y: 0
|
|
||||||
width: 519
|
|
||||||
height: 1341
|
|
||||||
m_MinSize: {x: 277, y: 71}
|
|
||||||
m_MaxSize: {x: 4002, y: 4021}
|
|
||||||
m_ActualView: {fileID: 14}
|
|
||||||
m_Panes:
|
|
||||||
- {fileID: 14}
|
|
||||||
m_Selected: 0
|
|
||||||
m_LastSelected: 0
|
|
||||||
--- !u!114 &4
|
|
||||||
MonoBehaviour:
|
|
||||||
m_ObjectHideFlags: 52
|
|
||||||
m_PrefabParentObject: {fileID: 0}
|
|
||||||
m_PrefabInternal: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 0}
|
|
||||||
m_Enabled: 1
|
|
||||||
m_EditorHideFlags: 1
|
|
||||||
m_Script: {fileID: 12006, guid: 0000000000000000e000000000000000, type: 0}
|
|
||||||
m_Name:
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
m_Children: []
|
|
||||||
m_Position:
|
|
||||||
serializedVersion: 2
|
|
||||||
x: 0
|
|
||||||
y: 0
|
|
||||||
width: 505
|
|
||||||
height: 811
|
|
||||||
m_MinSize: {x: 202, y: 221}
|
|
||||||
m_MaxSize: {x: 4002, y: 4021}
|
|
||||||
m_ActualView: {fileID: 15}
|
|
||||||
m_Panes:
|
|
||||||
- {fileID: 15}
|
|
||||||
m_Selected: 0
|
|
||||||
m_LastSelected: 0
|
|
||||||
--- !u!114 &5
|
|
||||||
MonoBehaviour:
|
|
||||||
m_ObjectHideFlags: 52
|
|
||||||
m_PrefabParentObject: {fileID: 0}
|
|
||||||
m_PrefabInternal: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 0}
|
|
||||||
m_Enabled: 1
|
|
||||||
m_EditorHideFlags: 1
|
|
||||||
m_Script: {fileID: 12006, guid: 0000000000000000e000000000000000, type: 0}
|
|
||||||
m_Name:
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
m_Children: []
|
|
||||||
m_Position:
|
|
||||||
serializedVersion: 2
|
|
||||||
x: 0
|
|
||||||
y: 811
|
|
||||||
width: 2041
|
|
||||||
height: 530
|
|
||||||
m_MinSize: {x: 232, y: 271}
|
|
||||||
m_MaxSize: {x: 10002, y: 10021}
|
|
||||||
m_ActualView: {fileID: 13}
|
|
||||||
m_Panes:
|
|
||||||
- {fileID: 13}
|
|
||||||
- {fileID: 18}
|
|
||||||
m_Selected: 0
|
|
||||||
m_LastSelected: 0
|
|
||||||
--- !u!114 &6
|
|
||||||
MonoBehaviour:
|
|
||||||
m_ObjectHideFlags: 52
|
|
||||||
m_PrefabParentObject: {fileID: 0}
|
|
||||||
m_PrefabInternal: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 0}
|
|
||||||
m_Enabled: 1
|
|
||||||
m_EditorHideFlags: 1
|
|
||||||
m_Script: {fileID: 12008, guid: 0000000000000000e000000000000000, type: 0}
|
|
||||||
m_Name:
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
m_Children:
|
|
||||||
- {fileID: 7}
|
|
||||||
- {fileID: 2}
|
|
||||||
- {fileID: 8}
|
|
||||||
m_Position:
|
|
||||||
serializedVersion: 2
|
|
||||||
x: 0
|
|
||||||
y: 0
|
|
||||||
width: 2560
|
|
||||||
height: 1391
|
|
||||||
m_MinSize: {x: 950, y: 300}
|
|
||||||
m_MaxSize: {x: 10000, y: 10000}
|
|
||||||
--- !u!114 &7
|
|
||||||
MonoBehaviour:
|
|
||||||
m_ObjectHideFlags: 52
|
|
||||||
m_PrefabParentObject: {fileID: 0}
|
|
||||||
m_PrefabInternal: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 0}
|
|
||||||
m_Enabled: 1
|
|
||||||
m_EditorHideFlags: 1
|
|
||||||
m_Script: {fileID: 12011, guid: 0000000000000000e000000000000000, type: 0}
|
|
||||||
m_Name:
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
m_Children: []
|
|
||||||
m_Position:
|
|
||||||
serializedVersion: 2
|
|
||||||
x: 0
|
|
||||||
y: 0
|
|
||||||
width: 2560
|
|
||||||
height: 30
|
|
||||||
m_MinSize: {x: 0, y: 0}
|
|
||||||
m_MaxSize: {x: 0, y: 0}
|
|
||||||
m_LastLoadedLayoutName: Default
|
|
||||||
--- !u!114 &8
|
|
||||||
MonoBehaviour:
|
|
||||||
m_ObjectHideFlags: 52
|
|
||||||
m_PrefabParentObject: {fileID: 0}
|
|
||||||
m_PrefabInternal: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 0}
|
|
||||||
m_Enabled: 1
|
|
||||||
m_EditorHideFlags: 1
|
|
||||||
m_Script: {fileID: 12042, guid: 0000000000000000e000000000000000, type: 0}
|
|
||||||
m_Name:
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
m_Children: []
|
|
||||||
m_Position:
|
|
||||||
serializedVersion: 2
|
|
||||||
x: 0
|
|
||||||
y: 1371
|
|
||||||
width: 2560
|
|
||||||
height: 20
|
|
||||||
m_MinSize: {x: 0, y: 0}
|
|
||||||
m_MaxSize: {x: 0, y: 0}
|
|
||||||
--- !u!114 &9
|
|
||||||
MonoBehaviour:
|
|
||||||
m_ObjectHideFlags: 52
|
|
||||||
m_PrefabParentObject: {fileID: 0}
|
|
||||||
m_PrefabInternal: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 0}
|
|
||||||
m_Enabled: 1
|
|
||||||
m_EditorHideFlags: 1
|
|
||||||
m_Script: {fileID: 12010, guid: 0000000000000000e000000000000000, type: 0}
|
|
||||||
m_Name:
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
m_Children:
|
|
||||||
- {fileID: 10}
|
|
||||||
- {fileID: 5}
|
|
||||||
m_Position:
|
|
||||||
serializedVersion: 2
|
|
||||||
x: 0
|
|
||||||
y: 0
|
|
||||||
width: 2041
|
|
||||||
height: 1341
|
|
||||||
m_MinSize: {x: 406, y: 492}
|
|
||||||
m_MaxSize: {x: 10002, y: 14042}
|
|
||||||
vertical: 1
|
|
||||||
controlID: 547
|
|
||||||
--- !u!114 &10
|
|
||||||
MonoBehaviour:
|
|
||||||
m_ObjectHideFlags: 52
|
|
||||||
m_PrefabParentObject: {fileID: 0}
|
|
||||||
m_PrefabInternal: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 0}
|
|
||||||
m_Enabled: 1
|
|
||||||
m_EditorHideFlags: 1
|
|
||||||
m_Script: {fileID: 12010, guid: 0000000000000000e000000000000000, type: 0}
|
|
||||||
m_Name:
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
m_Children:
|
|
||||||
- {fileID: 4}
|
|
||||||
- {fileID: 11}
|
|
||||||
m_Position:
|
|
||||||
serializedVersion: 2
|
|
||||||
x: 0
|
|
||||||
y: 0
|
|
||||||
width: 2041
|
|
||||||
height: 811
|
|
||||||
m_MinSize: {x: 406, y: 221}
|
|
||||||
m_MaxSize: {x: 8006, y: 4021}
|
|
||||||
vertical: 0
|
|
||||||
controlID: 548
|
|
||||||
--- !u!114 &11
|
|
||||||
MonoBehaviour:
|
|
||||||
m_ObjectHideFlags: 52
|
|
||||||
m_PrefabParentObject: {fileID: 0}
|
|
||||||
m_PrefabInternal: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 0}
|
|
||||||
m_Enabled: 1
|
|
||||||
m_EditorHideFlags: 1
|
|
||||||
m_Script: {fileID: 12006, guid: 0000000000000000e000000000000000, type: 0}
|
|
||||||
m_Name:
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
m_Children: []
|
|
||||||
m_Position:
|
|
||||||
serializedVersion: 2
|
|
||||||
x: 505
|
|
||||||
y: 0
|
|
||||||
width: 1536
|
|
||||||
height: 811
|
|
||||||
m_MinSize: {x: 204, y: 221}
|
|
||||||
m_MaxSize: {x: 4004, y: 4021}
|
|
||||||
m_ActualView: {fileID: 16}
|
|
||||||
m_Panes:
|
|
||||||
- {fileID: 16}
|
|
||||||
- {fileID: 17}
|
|
||||||
- {fileID: 12}
|
|
||||||
m_Selected: 0
|
|
||||||
m_LastSelected: 1
|
|
||||||
--- !u!114 &12
|
|
||||||
MonoBehaviour:
|
|
||||||
m_ObjectHideFlags: 52
|
|
||||||
m_PrefabParentObject: {fileID: 0}
|
|
||||||
m_PrefabInternal: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 0}
|
|
||||||
m_Enabled: 1
|
|
||||||
m_EditorHideFlags: 1
|
|
||||||
m_Script: {fileID: 12111, guid: 0000000000000000e000000000000000, type: 0}
|
|
||||||
m_Name:
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
m_AutoRepaintOnSceneChange: 0
|
|
||||||
m_MinSize: {x: 400, y: 100}
|
|
||||||
m_MaxSize: {x: 2048, y: 2048}
|
|
||||||
m_TitleContent:
|
|
||||||
m_Text: Asset Store
|
|
||||||
m_Image: {fileID: 357073275683767465, guid: 0000000000000000d000000000000000,
|
|
||||||
type: 0}
|
|
||||||
m_Tooltip:
|
|
||||||
m_DepthBufferBits: 0
|
|
||||||
m_Pos:
|
|
||||||
serializedVersion: 2
|
|
||||||
x: 468
|
|
||||||
y: 181
|
|
||||||
width: 973
|
|
||||||
height: 501
|
|
||||||
--- !u!114 &13
|
|
||||||
MonoBehaviour:
|
|
||||||
m_ObjectHideFlags: 52
|
|
||||||
m_PrefabParentObject: {fileID: 0}
|
|
||||||
m_PrefabInternal: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 0}
|
|
||||||
m_Enabled: 1
|
|
||||||
m_EditorHideFlags: 1
|
|
||||||
m_Script: {fileID: 12014, guid: 0000000000000000e000000000000000, type: 0}
|
|
||||||
m_Name:
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
m_AutoRepaintOnSceneChange: 0
|
|
||||||
m_MinSize: {x: 230, y: 250}
|
|
||||||
m_MaxSize: {x: 10000, y: 10000}
|
|
||||||
m_TitleContent:
|
|
||||||
m_Text: Project
|
|
||||||
m_Image: {fileID: -7501376956915960154, guid: 0000000000000000d000000000000000,
|
|
||||||
type: 0}
|
|
||||||
m_Tooltip:
|
|
||||||
m_DepthBufferBits: 0
|
|
||||||
m_Pos:
|
|
||||||
serializedVersion: 2
|
|
||||||
x: 0
|
|
||||||
y: 905
|
|
||||||
width: 2039
|
|
||||||
height: 509
|
|
||||||
m_SearchFilter:
|
|
||||||
m_NameFilter:
|
|
||||||
m_ClassNames: []
|
|
||||||
m_AssetLabels: []
|
|
||||||
m_AssetBundleNames: []
|
|
||||||
m_VersionControlStates: []
|
|
||||||
m_ReferencingInstanceIDs:
|
|
||||||
m_ScenePaths: []
|
|
||||||
m_ShowAllHits: 0
|
|
||||||
m_SearchArea: 0
|
|
||||||
m_Folders:
|
|
||||||
- Assets
|
|
||||||
m_ViewMode: 1
|
|
||||||
m_StartGridSize: 64
|
|
||||||
m_LastFolders:
|
|
||||||
- Assets
|
|
||||||
m_LastFoldersGridSize: -1
|
|
||||||
m_LastProjectPath: /Users/danielbrauer/Unity Projects/New Unity Project 20
|
|
||||||
m_IsLocked: 0
|
|
||||||
m_FolderTreeState:
|
|
||||||
scrollPos: {x: 0, y: 0}
|
|
||||||
m_SelectedIDs: b0230000
|
|
||||||
m_LastClickedID: 9136
|
|
||||||
m_ExpandedIDs: 00000000b023000000ca9a3bffffff7f
|
|
||||||
m_RenameOverlay:
|
|
||||||
m_UserAcceptedRename: 0
|
|
||||||
m_Name:
|
|
||||||
m_OriginalName:
|
|
||||||
m_EditFieldRect:
|
|
||||||
serializedVersion: 2
|
|
||||||
x: 0
|
|
||||||
y: 0
|
|
||||||
width: 0
|
|
||||||
height: 0
|
|
||||||
m_UserData: 0
|
|
||||||
m_IsWaitingForDelay: 0
|
|
||||||
m_IsRenaming: 0
|
|
||||||
m_OriginalEventType: 11
|
|
||||||
m_IsRenamingFilename: 1
|
|
||||||
m_ClientGUIView: {fileID: 0}
|
|
||||||
m_CreateAssetUtility:
|
|
||||||
m_EndAction: {fileID: 0}
|
|
||||||
m_InstanceID: 0
|
|
||||||
m_Path:
|
|
||||||
m_Icon: {fileID: 0}
|
|
||||||
m_ResourceFile:
|
|
||||||
m_SearchString:
|
|
||||||
m_ColumnWidths: []
|
|
||||||
m_AssetTreeState:
|
|
||||||
scrollPos: {x: 0, y: 0}
|
|
||||||
m_SelectedIDs:
|
|
||||||
m_LastClickedID: 0
|
|
||||||
m_ExpandedIDs: 00000000b023000000ca9a3bffffff7f
|
|
||||||
m_RenameOverlay:
|
|
||||||
m_UserAcceptedRename: 0
|
|
||||||
m_Name:
|
|
||||||
m_OriginalName:
|
|
||||||
m_EditFieldRect:
|
|
||||||
serializedVersion: 2
|
|
||||||
x: 0
|
|
||||||
y: 0
|
|
||||||
width: 0
|
|
||||||
height: 0
|
|
||||||
m_UserData: 0
|
|
||||||
m_IsWaitingForDelay: 0
|
|
||||||
m_IsRenaming: 0
|
|
||||||
m_OriginalEventType: 11
|
|
||||||
m_IsRenamingFilename: 1
|
|
||||||
m_ClientGUIView: {fileID: 0}
|
|
||||||
m_CreateAssetUtility:
|
|
||||||
m_EndAction: {fileID: 0}
|
|
||||||
m_InstanceID: 0
|
|
||||||
m_Path:
|
|
||||||
m_Icon: {fileID: 0}
|
|
||||||
m_ResourceFile:
|
|
||||||
m_SearchString:
|
|
||||||
m_ColumnWidths: []
|
|
||||||
m_ListAreaState:
|
|
||||||
m_SelectedInstanceIDs:
|
|
||||||
m_LastClickedInstanceID: 0
|
|
||||||
m_HadKeyboardFocusLastEvent: 0
|
|
||||||
m_ExpandedInstanceIDs: c6230000
|
|
||||||
m_RenameOverlay:
|
|
||||||
m_UserAcceptedRename: 0
|
|
||||||
m_Name:
|
|
||||||
m_OriginalName:
|
|
||||||
m_EditFieldRect:
|
|
||||||
serializedVersion: 2
|
|
||||||
x: 0
|
|
||||||
y: 0
|
|
||||||
width: 0
|
|
||||||
height: 0
|
|
||||||
m_UserData: 0
|
|
||||||
m_IsWaitingForDelay: 0
|
|
||||||
m_IsRenaming: 0
|
|
||||||
m_OriginalEventType: 11
|
|
||||||
m_IsRenamingFilename: 1
|
|
||||||
m_ClientGUIView: {fileID: 0}
|
|
||||||
m_CreateAssetUtility:
|
|
||||||
m_EndAction: {fileID: 0}
|
|
||||||
m_InstanceID: 0
|
|
||||||
m_Path:
|
|
||||||
m_Icon: {fileID: 0}
|
|
||||||
m_ResourceFile:
|
|
||||||
m_NewAssetIndexInList: -1
|
|
||||||
m_ScrollPosition: {x: 0, y: 0}
|
|
||||||
m_GridSize: 64
|
|
||||||
m_DirectoriesAreaWidth: 115
|
|
||||||
--- !u!114 &14
|
|
||||||
MonoBehaviour:
|
|
||||||
m_ObjectHideFlags: 52
|
|
||||||
m_PrefabParentObject: {fileID: 0}
|
|
||||||
m_PrefabInternal: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 0}
|
|
||||||
m_Enabled: 1
|
|
||||||
m_EditorHideFlags: 1
|
|
||||||
m_Script: {fileID: 12019, guid: 0000000000000000e000000000000000, type: 0}
|
|
||||||
m_Name:
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
m_AutoRepaintOnSceneChange: 0
|
|
||||||
m_MinSize: {x: 275, y: 50}
|
|
||||||
m_MaxSize: {x: 4000, y: 4000}
|
|
||||||
m_TitleContent:
|
|
||||||
m_Text: Inspector
|
|
||||||
m_Image: {fileID: -6905738622615590433, guid: 0000000000000000d000000000000000,
|
|
||||||
type: 0}
|
|
||||||
m_Tooltip:
|
|
||||||
m_DepthBufferBits: 0
|
|
||||||
m_Pos:
|
|
||||||
serializedVersion: 2
|
|
||||||
x: 2043
|
|
||||||
y: 94
|
|
||||||
width: 517
|
|
||||||
height: 1320
|
|
||||||
m_ScrollPosition: {x: 0, y: 0}
|
|
||||||
m_InspectorMode: 0
|
|
||||||
m_PreviewResizer:
|
|
||||||
m_CachedPref: 160
|
|
||||||
m_ControlHash: -371814159
|
|
||||||
m_PrefName: Preview_InspectorPreview
|
|
||||||
m_PreviewWindow: {fileID: 0}
|
|
||||||
--- !u!114 &15
|
|
||||||
MonoBehaviour:
|
|
||||||
m_ObjectHideFlags: 52
|
|
||||||
m_PrefabParentObject: {fileID: 0}
|
|
||||||
m_PrefabInternal: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 0}
|
|
||||||
m_Enabled: 1
|
|
||||||
m_EditorHideFlags: 1
|
|
||||||
m_Script: {fileID: 12061, guid: 0000000000000000e000000000000000, type: 0}
|
|
||||||
m_Name:
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
m_AutoRepaintOnSceneChange: 0
|
|
||||||
m_MinSize: {x: 200, y: 200}
|
|
||||||
m_MaxSize: {x: 4000, y: 4000}
|
|
||||||
m_TitleContent:
|
|
||||||
m_Text: Hierarchy
|
|
||||||
m_Image: {fileID: -590624980919486359, guid: 0000000000000000d000000000000000,
|
|
||||||
type: 0}
|
|
||||||
m_Tooltip:
|
|
||||||
m_DepthBufferBits: 0
|
|
||||||
m_Pos:
|
|
||||||
serializedVersion: 2
|
|
||||||
x: 0
|
|
||||||
y: 94
|
|
||||||
width: 503
|
|
||||||
height: 790
|
|
||||||
m_TreeViewState:
|
|
||||||
scrollPos: {x: 0, y: 0}
|
|
||||||
m_SelectedIDs:
|
|
||||||
m_LastClickedID: 0
|
|
||||||
m_ExpandedIDs: 00000000
|
|
||||||
m_RenameOverlay:
|
|
||||||
m_UserAcceptedRename: 0
|
|
||||||
m_Name:
|
|
||||||
m_OriginalName:
|
|
||||||
m_EditFieldRect:
|
|
||||||
serializedVersion: 2
|
|
||||||
x: 0
|
|
||||||
y: 0
|
|
||||||
width: 0
|
|
||||||
height: 0
|
|
||||||
m_UserData: 0
|
|
||||||
m_IsWaitingForDelay: 0
|
|
||||||
m_IsRenaming: 0
|
|
||||||
m_OriginalEventType: 11
|
|
||||||
m_IsRenamingFilename: 0
|
|
||||||
m_ClientGUIView: {fileID: 0}
|
|
||||||
m_CreateAssetUtility:
|
|
||||||
m_EndAction: {fileID: 0}
|
|
||||||
m_InstanceID: 0
|
|
||||||
m_Path:
|
|
||||||
m_Icon: {fileID: 0}
|
|
||||||
m_ResourceFile:
|
|
||||||
m_SearchString:
|
|
||||||
m_ColumnWidths: []
|
|
||||||
m_ExpandedScenes: []
|
|
||||||
m_CurrenRootInstanceID: 0
|
|
||||||
m_Locked: 0
|
|
||||||
m_CurrentSortingName: TransformSorting
|
|
||||||
--- !u!114 &16
|
|
||||||
MonoBehaviour:
|
|
||||||
m_ObjectHideFlags: 52
|
|
||||||
m_PrefabParentObject: {fileID: 0}
|
|
||||||
m_PrefabInternal: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 0}
|
|
||||||
m_Enabled: 1
|
|
||||||
m_EditorHideFlags: 1
|
|
||||||
m_Script: {fileID: 12013, guid: 0000000000000000e000000000000000, type: 0}
|
|
||||||
m_Name:
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
m_AutoRepaintOnSceneChange: 1
|
|
||||||
m_MinSize: {x: 200, y: 200}
|
|
||||||
m_MaxSize: {x: 4000, y: 4000}
|
|
||||||
m_TitleContent:
|
|
||||||
m_Text: Scene
|
|
||||||
m_Image: {fileID: 2318424515335265636, guid: 0000000000000000d000000000000000,
|
|
||||||
type: 0}
|
|
||||||
m_Tooltip:
|
|
||||||
m_DepthBufferBits: 32
|
|
||||||
m_Pos:
|
|
||||||
serializedVersion: 2
|
|
||||||
x: 507
|
|
||||||
y: 94
|
|
||||||
width: 1532
|
|
||||||
height: 790
|
|
||||||
m_SceneLighting: 1
|
|
||||||
lastFramingTime: 0
|
|
||||||
m_2DMode: 0
|
|
||||||
m_isRotationLocked: 0
|
|
||||||
m_AudioPlay: 0
|
|
||||||
m_Position:
|
|
||||||
m_Target: {x: 0, y: 0, z: 0}
|
|
||||||
speed: 2
|
|
||||||
m_Value: {x: 0, y: 0, z: 0}
|
|
||||||
m_RenderMode: 0
|
|
||||||
m_SceneViewState:
|
|
||||||
showFog: 1
|
|
||||||
showMaterialUpdate: 0
|
|
||||||
showSkybox: 1
|
|
||||||
showFlares: 1
|
|
||||||
showImageEffects: 1
|
|
||||||
grid:
|
|
||||||
xGrid:
|
|
||||||
m_Target: 0
|
|
||||||
speed: 2
|
|
||||||
m_Value: 0
|
|
||||||
yGrid:
|
|
||||||
m_Target: 1
|
|
||||||
speed: 2
|
|
||||||
m_Value: 1
|
|
||||||
zGrid:
|
|
||||||
m_Target: 0
|
|
||||||
speed: 2
|
|
||||||
m_Value: 0
|
|
||||||
m_Rotation:
|
|
||||||
m_Target: {x: -0.08717229, y: 0.89959055, z: -0.21045254, w: -0.3726226}
|
|
||||||
speed: 2
|
|
||||||
m_Value: {x: -0.08717229, y: 0.89959055, z: -0.21045254, w: -0.3726226}
|
|
||||||
m_Size:
|
|
||||||
m_Target: 10
|
|
||||||
speed: 2
|
|
||||||
m_Value: 10
|
|
||||||
m_Ortho:
|
|
||||||
m_Target: 0
|
|
||||||
speed: 2
|
|
||||||
m_Value: 0
|
|
||||||
m_LastSceneViewRotation: {x: 0, y: 0, z: 0, w: 0}
|
|
||||||
m_LastSceneViewOrtho: 0
|
|
||||||
m_ReplacementShader: {fileID: 0}
|
|
||||||
m_ReplacementString:
|
|
||||||
m_LastLockedObject: {fileID: 0}
|
|
||||||
m_ViewIsLockedToObject: 0
|
|
||||||
--- !u!114 &17
|
|
||||||
MonoBehaviour:
|
|
||||||
m_ObjectHideFlags: 52
|
|
||||||
m_PrefabParentObject: {fileID: 0}
|
|
||||||
m_PrefabInternal: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 0}
|
|
||||||
m_Enabled: 1
|
|
||||||
m_EditorHideFlags: 1
|
|
||||||
m_Script: {fileID: 12015, guid: 0000000000000000e000000000000000, type: 0}
|
|
||||||
m_Name:
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
m_AutoRepaintOnSceneChange: 1
|
|
||||||
m_MinSize: {x: 200, y: 200}
|
|
||||||
m_MaxSize: {x: 4000, y: 4000}
|
|
||||||
m_TitleContent:
|
|
||||||
m_Text: Game
|
|
||||||
m_Image: {fileID: -2087823869225018852, guid: 0000000000000000d000000000000000,
|
|
||||||
type: 0}
|
|
||||||
m_Tooltip:
|
|
||||||
m_DepthBufferBits: 32
|
|
||||||
m_Pos:
|
|
||||||
serializedVersion: 2
|
|
||||||
x: 507
|
|
||||||
y: 94
|
|
||||||
width: 1532
|
|
||||||
height: 790
|
|
||||||
m_MaximizeOnPlay: 0
|
|
||||||
m_Gizmos: 0
|
|
||||||
m_Stats: 0
|
|
||||||
m_SelectedSizes: 000000000000000000000000000000000000000000000000000000000000000000000000
|
|
||||||
m_TargetDisplay: 0
|
|
||||||
m_ZoomArea:
|
|
||||||
m_HRangeLocked: 0
|
|
||||||
m_VRangeLocked: 0
|
|
||||||
m_HBaseRangeMin: -383
|
|
||||||
m_HBaseRangeMax: 383
|
|
||||||
m_VBaseRangeMin: -193.25
|
|
||||||
m_VBaseRangeMax: 193.25
|
|
||||||
m_HAllowExceedBaseRangeMin: 1
|
|
||||||
m_HAllowExceedBaseRangeMax: 1
|
|
||||||
m_VAllowExceedBaseRangeMin: 1
|
|
||||||
m_VAllowExceedBaseRangeMax: 1
|
|
||||||
m_ScaleWithWindow: 0
|
|
||||||
m_HSlider: 0
|
|
||||||
m_VSlider: 0
|
|
||||||
m_IgnoreScrollWheelUntilClicked: 0
|
|
||||||
m_EnableMouseInput: 1
|
|
||||||
m_EnableSliderZoom: 0
|
|
||||||
m_UniformScale: 1
|
|
||||||
m_UpDirection: 1
|
|
||||||
m_DrawArea:
|
|
||||||
serializedVersion: 2
|
|
||||||
x: 0
|
|
||||||
y: 17
|
|
||||||
width: 1532
|
|
||||||
height: 773
|
|
||||||
m_Scale: {x: 2, y: 2}
|
|
||||||
m_Translation: {x: 766, y: 386.5}
|
|
||||||
m_MarginLeft: 0
|
|
||||||
m_MarginRight: 0
|
|
||||||
m_MarginTop: 0
|
|
||||||
m_MarginBottom: 0
|
|
||||||
m_LastShownAreaInsideMargins:
|
|
||||||
serializedVersion: 2
|
|
||||||
x: -383
|
|
||||||
y: -193.25
|
|
||||||
width: 766
|
|
||||||
height: 386.5
|
|
||||||
m_MinimalGUI: 1
|
|
||||||
m_defaultScale: 2
|
|
||||||
m_TargetTexture: {fileID: 0}
|
|
||||||
m_CurrentColorSpace: 1
|
|
||||||
m_LastWindowPixelSize: {x: 3064, y: 1580}
|
|
||||||
m_ClearInEditMode: 1
|
|
||||||
m_NoCameraWarning: 1
|
|
||||||
--- !u!114 &18
|
|
||||||
MonoBehaviour:
|
|
||||||
m_ObjectHideFlags: 52
|
|
||||||
m_PrefabParentObject: {fileID: 0}
|
|
||||||
m_PrefabInternal: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 0}
|
|
||||||
m_Enabled: 1
|
|
||||||
m_EditorHideFlags: 1
|
|
||||||
m_Script: {fileID: 12003, guid: 0000000000000000e000000000000000, type: 0}
|
|
||||||
m_Name:
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
m_AutoRepaintOnSceneChange: 0
|
|
||||||
m_MinSize: {x: 100, y: 100}
|
|
||||||
m_MaxSize: {x: 4000, y: 4000}
|
|
||||||
m_TitleContent:
|
|
||||||
m_Text: Console
|
|
||||||
m_Image: {fileID: 111653112392082826, guid: 0000000000000000d000000000000000,
|
|
||||||
type: 0}
|
|
||||||
m_Tooltip:
|
|
||||||
m_DepthBufferBits: 0
|
|
||||||
m_Pos:
|
|
||||||
serializedVersion: 2
|
|
||||||
x: 8
|
|
||||||
y: 718
|
|
||||||
width: 1366
|
|
||||||
height: 308
|
|
Loading…
x
Reference in New Issue
Block a user