Compare commits
233 Commits
pgd/202505
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7de60c5343 | ||
|
|
57a5fb3b61 | ||
|
|
60ce186a2e | ||
|
|
0ef6544776 | ||
|
|
3ab3dbc10d | ||
|
|
922a631e7c | ||
|
|
88aa8b586c | ||
|
|
564cc2d2a9 | ||
|
|
de2b915f22 | ||
|
|
b1ec0344d3 | ||
|
|
140bce5068 | ||
|
|
2da5c521cf | ||
|
|
baf55bcea6 | ||
|
|
bc49b281c7 | ||
|
|
7c8010fee7 | ||
|
|
526190b118 | ||
|
|
331156a592 | ||
|
|
fbbaf20e4b | ||
|
|
0a3c81fc78 | ||
|
|
46d8da7621 | ||
|
|
d295211d6d | ||
|
|
89bee012b9 | ||
|
|
df23956680 | ||
|
|
999e29c75b | ||
|
|
94501928c2 | ||
|
|
2232142a1a | ||
|
|
fa84184e7b | ||
|
|
b1723a4903 | ||
| 893ba2b87e | |||
| ab11573968 | |||
| 6b4c35fadc | |||
|
|
c111cc55b9 | ||
|
|
691f8725a2 | ||
|
|
88baae2c13 | ||
|
|
d9a6c4102d | ||
|
|
da6497048f | ||
|
|
1e7728c445 | ||
| e899c412b1 | |||
| c2902bb8bd | |||
| b2fd4d4434 | |||
| bab207aa37 | |||
| 276e419636 | |||
| bba747dac8 | |||
|
|
391c8edc10 | ||
|
|
321a4bf9ff | ||
|
|
da62f00267 | ||
|
|
4ccfd951cd | ||
|
|
80a6e2382b | ||
|
|
58104fea4c | ||
|
|
fd0130eec3 | ||
|
|
0f47ef312e | ||
|
|
e496ccc858 | ||
| 280f20f748 | |||
| 62ee18d681 | |||
|
|
eaa4a3d48a | ||
|
|
a12f694a98 | ||
|
|
44b20275e9 | ||
|
|
13af06d80a | ||
| 2c71f12aa8 | |||
| 5a92219125 | |||
| 7d322ca93e | |||
| 25571c15f9 | |||
| 6fe025f506 | |||
| ed51fedc29 | |||
| 32eb5f4d8f | |||
|
|
dfcc71eb69 | ||
|
|
5b66fdd0f3 | ||
|
|
0a27de743f | ||
|
|
8ef1da7b24 | ||
|
|
da638689ce | ||
|
|
5aaad7feef | ||
|
|
bd6718bee7 | ||
|
|
a3f5adab9f | ||
|
|
1189be1801 | ||
|
|
244727391f | ||
| b799cf829d | |||
|
|
e95e2bde14 | ||
|
|
4f863885ab | ||
|
|
ce6cf04fcd | ||
| 4287c02bca | |||
|
|
da4e29d0af | ||
|
|
63895136ca | ||
| 5151fc3d0b | |||
| 2657b5ae12 | |||
| 8393201152 | |||
|
|
fb419b8009 | ||
|
|
8f8de3d19a | ||
|
|
351f7f8d33 | ||
| 37663571f2 | |||
| 58ba89edd6 | |||
| 42a178c3fa | |||
| 720b0755a8 | |||
| ef25aa75c2 | |||
| 58abe8cb1f | |||
| e7be4f65a7 | |||
| 41b02ffecf | |||
| 8d690f6ead | |||
|
|
6c4aa2fb76 | ||
|
|
ee2b11d19c | ||
|
|
f6c25e1180 | ||
|
|
968e46ec16 | ||
|
|
70af2d5a38 | ||
|
|
9a7ea9f689 | ||
|
|
6674608e3c | ||
| f0d115751b | |||
|
|
958e9d1fec | ||
| ba7cd3c0d0 | |||
|
|
de125cd8b8 | ||
|
|
e446fe6282 | ||
|
|
713a428960 | ||
|
|
9ddf268722 | ||
|
|
ae2f9c1857 | ||
| a07de37142 | |||
| 31fb41bbb7 | |||
| 286fc53324 | |||
|
|
eaca30883b | ||
|
|
ffc15fb3b1 | ||
|
|
6600428e1c | ||
|
|
696c39b452 | ||
|
|
20fd855e2a | ||
|
|
1979585566 | ||
|
|
dc867997b9 | ||
|
|
ce287ba9df | ||
|
|
9f2828f9c4 | ||
|
|
a06b7b47c6 | ||
| 3f3d636d1a | |||
| ddcf05a8ec | |||
| 175554b506 | |||
| 7f63a6bd35 | |||
|
|
6214a58c79 | ||
|
|
d405525cc0 | ||
|
|
b8233087c4 | ||
|
|
df79a5a884 | ||
|
|
f87a7ed987 | ||
| 623d3167eb | |||
|
|
db8ad39420 | ||
| 8a46b5dd51 | |||
|
|
5f7762d0ca | ||
|
|
144a905460 | ||
| 4e0b574627 | |||
| 9496e73df1 | |||
|
|
8b1ac9f3c0 | ||
| 268c2ad7f0 | |||
|
|
70b0171376 | ||
|
|
017498a333 | ||
|
|
b07de4cdc4 | ||
| e75f9496dd | |||
| e341e23f76 | |||
| eab3a9306c | |||
|
|
06f96c58fc | ||
|
|
34fb7d54ff | ||
|
|
7cc550dbc0 | ||
|
|
5b8d368856 | ||
|
|
e5fd8e891e | ||
| babe3cfe3f | |||
|
|
d8c0cc8f3e | ||
| f970c09ca7 | |||
| ced61a64c7 | |||
|
|
61b1891740 | ||
|
|
0d5e4a83a1 | ||
|
|
7c7184630b | ||
|
|
2950731ce7 | ||
| cdc9f75246 | |||
|
|
df567068fb | ||
| 6fbac57681 | |||
|
|
b7d7ac36dd | ||
|
|
6356af63ce | ||
|
|
660e992e5d | ||
| 1405e10616 | |||
| aa5f7010ae | |||
| 4b0c60d8b2 | |||
| a45d4fa306 | |||
|
|
1f94107664 | ||
|
|
13757fde02 | ||
|
|
04325eed1b | ||
| 9f618c0ffc | |||
|
|
56cc210c98 | ||
|
|
e4daf951e8 | ||
| 5e93961e9e | |||
| 25c999e349 | |||
|
|
824511e46f | ||
| 5a366266d3 | |||
| eb84293dd2 | |||
|
|
1acea5cf30 | ||
|
|
2cbbbf8dec | ||
| f832bdd8c6 | |||
| 99a685a30f | |||
| 64c527db69 | |||
| 60773505b1 | |||
|
|
3fc2c4ff5c | ||
|
|
3eed27c15d | ||
| 131c8d28e3 | |||
|
|
b294098ac3 | ||
|
|
f7de18725e | ||
|
|
5165c13b05 | ||
|
|
2b666e856a | ||
| 4c92eef18a | |||
| b969a17059 | |||
|
|
a52c041f47 | ||
|
|
09ad8abf47 | ||
| fc1be3b301 | |||
| 78cebf10c2 | |||
| 104b83cb39 | |||
| 0a8262fa29 | |||
| 69d796acd9 | |||
|
|
f49899afbc | ||
| 0251951472 | |||
| af51f34ac6 | |||
|
|
69831116ab | ||
| 03cb99becd | |||
|
|
aed8f88553 | ||
| b0b2b3c98e | |||
| ac651823d5 | |||
| 4b397d5a11 | |||
|
|
8dabd9731e | ||
|
|
b43ef96772 | ||
| 901e363538 | |||
| a7144b73b8 | |||
| b2a25b378c | |||
|
|
73e121e3c8 | ||
|
|
bc8fa060a8 | ||
| 05c72141f2 | |||
|
|
033ae66ca3 | ||
| d322050828 | |||
| e5a1ceb685 | |||
|
|
05bf9e1249 | ||
| 32f7408d4c | |||
| 84308a961d | |||
| ad5127774f | |||
| b0d82b76cb | |||
|
|
e83d15e69b | ||
|
|
eb486c9dc3 | ||
|
|
1de71f8790 |
@@ -20,6 +20,11 @@ MonoBehaviour:
|
||||
m_ReadOnly: 1
|
||||
m_SerializedLabels: []
|
||||
FlaggedDuringContentUpdateRestriction: 0
|
||||
- m_GUID: b7e3230909563f049a2b6af27abfd127
|
||||
m_Address: Assets/Localization/Command Shared Data.asset
|
||||
m_ReadOnly: 1
|
||||
m_SerializedLabels: []
|
||||
FlaggedDuringContentUpdateRestriction: 0
|
||||
m_ReadOnly: 1
|
||||
m_Settings: {fileID: 11400000, guid: 83e6752692450684b9f53bc4f2d5b557, type: 2}
|
||||
m_SchemaSet:
|
||||
|
||||
@@ -15,6 +15,12 @@ MonoBehaviour:
|
||||
m_GroupName: Localization-String-Tables-English (en)
|
||||
m_GUID: 951c18d3ec70b47479f4f6d6a7a8eb1a
|
||||
m_SerializeEntries:
|
||||
- m_GUID: 1955c6890fde8db43a0ef004936c7c11
|
||||
m_Address: Command_en
|
||||
m_ReadOnly: 1
|
||||
m_SerializedLabels:
|
||||
- Locale-en
|
||||
FlaggedDuringContentUpdateRestriction: 0
|
||||
- m_GUID: f52bf8a6af5d1e746847c94650c2884e
|
||||
m_Address: UI_en
|
||||
m_ReadOnly: 1
|
||||
|
||||
@@ -22,6 +22,12 @@ MonoBehaviour:
|
||||
- Locale-ko-KR
|
||||
- Preload
|
||||
FlaggedDuringContentUpdateRestriction: 0
|
||||
- m_GUID: 74777a03b717f644492a404f64de1dc4
|
||||
m_Address: Command_ko-KR
|
||||
m_ReadOnly: 1
|
||||
m_SerializedLabels:
|
||||
- Locale-ko-KR
|
||||
FlaggedDuringContentUpdateRestriction: 0
|
||||
m_ReadOnly: 1
|
||||
m_Settings: {fileID: 11400000, guid: 83e6752692450684b9f53bc4f2d5b557, type: 2}
|
||||
m_SchemaSet:
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
using TriLibCore.General;
|
||||
using TriLibCore.Mappers;
|
||||
using UnityEditor;
|
||||
using UnityEngine;
|
||||
|
||||
@@ -49,76 +48,137 @@ namespace TriLibCore.Editor
|
||||
{
|
||||
case 0:
|
||||
GUILayout.Label(new GUIContent("Scene", "Scene import settings"), "BoldLabel");
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("ScaleFactor"), new GUIContent("Scale Factor", "Model scale multiplier."));
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("UseFileScale"), new GUIContent("Use File Scale", "Turn on this flag to use the file original scale."));
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("ImportVisibility"), new GUIContent("Import Visibility", "Turn on this field to apply the visibility property to Mesh Renderers/Skinned Mesh Renderers."));
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("ImportCameras"), new GUIContent("Import Cameras", "Turn on this field to enable Cameras importing."));
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("ImportLights"), new GUIContent("Import Lights", "Turn on this field to enable Lights importing."));
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("Static"), new GUIContent("Import as Static", "Turn on this field to import the Model as a static Game Object."));
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("SortHierarchyByName"), new GUIContent("Sort Hierarchy by Name", "Turn on this field to sort the Model hierarchy by name."));
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("AddAssetUnloader"), new GUIContent("Add Asset Unloader", "Turn on this field to add the Asset Unloader Component to the loaded Game Object."));
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("ShowLoadingWarnings"), new GUIContent("Show Loading Warnings", "Turn on this field to display Model loading warnings on the Console."));
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("CloseStreamAutomatically"), new GUIContent("Close Stream Automatically", "Turn on this field to close the Model loading Stream automatically."));
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("DestroyOnError"), new GUIContent("Destroy on Error", "Turn on this field to destroy the loaded Game Object automatically when there is any loading error."));
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("PivotPosition"), new GUIContent("Pivot Position", "Use this field to realign the Model pivot based on the given value."));
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("DisableObjectsRenaming"), new GUIContent("Disable Objects Renaming", "Turn on this field to disable objects renaming."));
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("MergeSingleChild"), new GUIContent("Merge Single Child", "Turn on this field to merge single child models into a single GameObject."));
|
||||
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("ScaleFactor"),
|
||||
new GUIContent("Scale Factor", "Model scale multiplier."));
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("UseFileScale"),
|
||||
new GUIContent("Use File Scale", "Turn on this flag to use the file's original scale."));
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("ImportVisibility"),
|
||||
new GUIContent("Import Visibility", "Turn on this field to apply the visibility property to Mesh Renderers/Skinned Mesh Renderers."));
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("ImportCameras"),
|
||||
new GUIContent("Import Cameras", "Turn on this field to enable camera importing."));
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("ImportLights"),
|
||||
new GUIContent("Import Lights", "Turn on this field to enable light importing."));
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("Static"),
|
||||
new GUIContent("Import as Static", "Turn on this field to import the Model as a static Game Object."));
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("SortHierarchyByName"),
|
||||
new GUIContent("Sort Hierarchy by Name", "Turn on this field to sort the Model hierarchy by name."));
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("AddAssetUnloader"),
|
||||
new GUIContent("Add Asset Unloader", "Turn on this field to add the Asset Unloader Component to the loaded Game Object."));
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("CloseStreamAutomatically"),
|
||||
new GUIContent("Close Stream Automatically", "Turn on this field to close the Model loading Stream automatically."));
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("DestroyOnError"),
|
||||
new GUIContent("Destroy on Error", "Turn on this field to destroy the loaded Game Object automatically when there is any loading error."));
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("PivotPosition"),
|
||||
new GUIContent("Pivot Position", "Use this field to realign the Model pivot based on the given value."));
|
||||
var disableObjectsRenamingProperty = serializedObject.FindProperty("DisableObjectsRenaming");
|
||||
EditorGUILayout.PropertyField(disableObjectsRenamingProperty,
|
||||
new GUIContent("Disable Object Renaming", "Turn on this field to disable object renaming."));
|
||||
if (!disableObjectsRenamingProperty.boolValue)
|
||||
{
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("MaxObjectsToRename"),
|
||||
new GUIContent("Max Objects to Rename",
|
||||
"Use this field to set the maximum number of objects TriLib can rename. Renaming is an expensive process, so it's advised to keep this value low."));
|
||||
}
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("MergeSingleChild"),
|
||||
new GUIContent("Merge Single Child", "Turn on this field to merge single-child models into a single GameObject."));
|
||||
EditorGUILayout.Space();
|
||||
GUILayout.Label(new GUIContent("Meshes", "Global settings for generated meshes"), "BoldLabel");
|
||||
var importMeshesProperty = serializedObject.FindProperty("ImportMeshes");
|
||||
EditorGUILayout.PropertyField(importMeshesProperty, new GUIContent("Import Meshes", "Turn on this field to import Model Meshes."));
|
||||
EditorGUILayout.PropertyField(importMeshesProperty,
|
||||
new GUIContent("Import Meshes", "Turn on this field to import Model Meshes."));
|
||||
if (importMeshesProperty.boolValue)
|
||||
{
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("MarkMeshesAsDynamic"), new GUIContent("Mark Meshes as Dynamic", "Turn on this field to mark created meshes as dynamic."));
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("MarkMeshesAsDynamic"),
|
||||
new GUIContent("Mark Meshes as Dynamic", "Turn on this field to mark created meshes as dynamic."));
|
||||
var generateCollidersProperty = serializedObject.FindProperty("GenerateColliders");
|
||||
EditorGUILayout.PropertyField(generateCollidersProperty, new GUIContent("Generate Colliders", "Turn on this field to generate Colliders for imported Meshes."));
|
||||
EditorGUILayout.PropertyField(generateCollidersProperty,
|
||||
new GUIContent("Generate Colliders", "Turn on this field to generate Colliders for imported Meshes."));
|
||||
if (generateCollidersProperty.boolValue)
|
||||
{
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("ConvexColliders"), new GUIContent("Convex Colliders", "Turn on this field to generate convex Colliders when the GenerateColliders field is enabled."));
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("ConvexColliders"),
|
||||
new GUIContent("Convex Colliders", "Turn on this field to generate convex Colliders when GenerateColliders is enabled."));
|
||||
}
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("IndexFormat"), new GUIContent("Index Format", "Mesh index format (16 or 32 bits)."));
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("KeepQuads"), new GUIContent("Keep Quads", "Turn on this field to mantain Mesh quads (Useful for DX11 tesselation)."));
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("MergeVertices"), new GUIContent("Merge Vertices", "Turn on this field to merge model duplicated vertices where possible."));
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("IndexFormat"),
|
||||
new GUIContent("Index Format", "Mesh index format (16 or 32 bits)."));
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("KeepQuads"),
|
||||
new GUIContent("Keep Quads", "Turn on this field to maintain Mesh quads (useful for DX11 tessellation)."));
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("MergeVertices"),
|
||||
new GUIContent("Merge Vertices", "Turn on this field to merge model duplicated vertices where possible."));
|
||||
var importNormalsProperty = serializedObject.FindProperty("ImportNormals");
|
||||
EditorGUILayout.PropertyField(importNormalsProperty, new GUIContent("Import Normals", "Turn on this field to import Mesh normals. If not enabled, normals will be calculated instead."));
|
||||
EditorGUILayout.PropertyField(importNormalsProperty,
|
||||
new GUIContent("Import Normals", "Turn on this field to import Mesh normals. If disabled, normals will be calculated instead."));
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("BakeAxisConversion"),
|
||||
new GUIContent("Bake Axis Conversion", "Turn on this field to bake the model transform into models and animations (Experimental)."));
|
||||
|
||||
var generateNormalsProperty = serializedObject.FindProperty("GenerateNormals");
|
||||
if (generateNormalsProperty.boolValue)
|
||||
{
|
||||
EditorGUILayout.PropertyField(generateNormalsProperty, new GUIContent("Generate Normals", "Turn off this field to disable Mesh normals generation."));
|
||||
EditorGUILayout.PropertyField(generateNormalsProperty,
|
||||
new GUIContent("Generate Normals", "Turn off this field to disable Mesh normals generation."));
|
||||
var useUnityNativeNormalCalculatorProperty = serializedObject.FindProperty("UseUnityNativeNormalCalculator");
|
||||
EditorGUILayout.PropertyField(useUnityNativeNormalCalculatorProperty, new GUIContent("Use Unity Native Normal Calculator", "Turn on this field to use the builtin Unity normal calculator."));
|
||||
EditorGUILayout.PropertyField(useUnityNativeNormalCalculatorProperty,
|
||||
new GUIContent("Use Unity Native Normal Calculator", "Turn on this field to use the built-in Unity normal calculator."));
|
||||
if (!useUnityNativeNormalCalculatorProperty.boolValue)
|
||||
{
|
||||
EditorGUILayout.Slider(serializedObject.FindProperty("SmoothingAngle"), 0f, 180f, new GUIContent("Smoothing Angle", "Normals calculation smoothing angle."));
|
||||
EditorGUILayout.Slider(serializedObject.FindProperty("SmoothingAngle"), 0f, 180f,
|
||||
new GUIContent("Smoothing Angle", "Normals calculation smoothing angle."));
|
||||
}
|
||||
}
|
||||
var importBlendShapesProperty = serializedObject.FindProperty("ImportBlendShapes");
|
||||
EditorGUILayout.PropertyField(importBlendShapesProperty, new GUIContent("Import Blend Shapes", "Turn on this field to import Mesh Blend Shapes."));
|
||||
EditorGUILayout.PropertyField(importBlendShapesProperty,
|
||||
new GUIContent("Import Blend Shapes", "Turn on this field to import Mesh Blend Shapes."));
|
||||
if (importBlendShapesProperty.boolValue)
|
||||
{
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("ImportBlendShapeNormals"), new GUIContent("Import Blend Shape Normals", "Turn on this field to import Mesh Blend Shape normals."));
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("CalculateBlendShapeNormals"), new GUIContent("Calculate Blend Shape Normals", "Turn on this field to calculate Mesh Blend Shape normals when none can be imported."));
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("ImportBlendShapeNormals"),
|
||||
new GUIContent("Import Blend Shape Normals", "Turn on this field to import Mesh Blend Shape normals."));
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("CalculateBlendShapeNormals"),
|
||||
new GUIContent("Calculate Blend Shape Normals",
|
||||
"Turn on this field to calculate Mesh Blend Shape normals when none are available in the file."));
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("BlendShapeMapper"),
|
||||
new GUIContent("Blend Shape Mapper",
|
||||
"Use this field to set a BlendShapeMapper to use with the loaded model. BlendShapeMappers can replace the Unity built-in blend shape playback system."));
|
||||
}
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("ImportColors"), new GUIContent("Import Colors", "Turn on this field to import Mesh Colors."));
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("ImportColors"),
|
||||
new GUIContent("Import Colors", "Turn on this field to import Mesh colors."));
|
||||
var importTangentsProperty = serializedObject.FindProperty("ImportTangents");
|
||||
EditorGUILayout.PropertyField(importTangentsProperty, new GUIContent("Import Tangents", "Turn on this field to import Mesh tangents. If not enabled, tangents will be calculated instead."));
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("GenerateTangents"), new GUIContent("Generate Tangents", "Turn off this field to disable Mesh tangents generation."));
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("SwapUVs"), new GUIContent("Swap UVs", "Turn on this field to swap Mesh UVs. (uv1 into uv2)"));
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("LODScreenRelativeTransitionHeightBase"), new GUIContent("LOD Screen Relative Transition Height Base", "Defines the initial screen relative transition height when creating LOD Groups."));
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("ReadEnabled"), new GUIContent("Read Enabled", "Turn on this field to make mesh CPU data readable."));
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("DisableTesselation"), new GUIContent("Disable Tesselation", "Turn on this field to disable polygon tesselation."));
|
||||
EditorGUILayout.PropertyField(importTangentsProperty,
|
||||
new GUIContent("Import Tangents",
|
||||
"Turn on this field to import Mesh tangents. If disabled, tangents will be calculated instead."));
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("GenerateTangents"),
|
||||
new GUIContent("Generate Tangents", "Turn off this field to disable Mesh tangents generation."));
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("SwapUVs"),
|
||||
new GUIContent("Swap UVs", "Turn on this field to swap Mesh UVs (uv1 into uv2)."));
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("LODScreenRelativeTransitionHeightBase"),
|
||||
new GUIContent("LOD Screen Relative Transition Height Base",
|
||||
"Defines the initial screen relative transition height when creating LOD Groups."));
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("ReadEnabled"),
|
||||
new GUIContent("Read Enabled", "Turn on this field to make mesh CPU data readable."));
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("DisableTesselation"),
|
||||
new GUIContent("Disable Tessellation", "Turn on this field to disable polygon tessellation."));
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("UseSharedMeshes"),
|
||||
new GUIContent("Use Shared Meshes",
|
||||
"Turn off this field to use the mesh filter's \"mesh\" property instead of the \"sharedMesh\" property."));
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("MeshWorldTransform"),
|
||||
new GUIContent("Mesh World Transform",
|
||||
"Use this field to define a transformation applied in world space to all mesh vertices."));
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("UpdateSkinnedMeshRendererWhenOffscreen"),
|
||||
new GUIContent("Update Skinned Mesh Renderer when Offscreen",
|
||||
"Turn on this field to update SkinnedMeshRenderers when they're offscreen."));
|
||||
}
|
||||
var loadPointCloudsProperty = serializedObject.FindProperty("LoadPointClouds");
|
||||
EditorGUILayout.PropertyField(loadPointCloudsProperty, new GUIContent("Load Point Clouds", "TTurn on this field to load the model as a Point Cloud (PLY and OBJ only)"));
|
||||
EditorGUILayout.PropertyField(loadPointCloudsProperty,
|
||||
new GUIContent("Load Point Clouds",
|
||||
"Turn on this field to load the model as a point cloud (PLY and OBJ only)."));
|
||||
if (!loadPointCloudsProperty.boolValue)
|
||||
{
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("OptimizeMeshes"), new GUIContent("Optimize Meshes", "Turn on this field to optimize imported Meshes for GPU access."));
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("OptimizeMeshes"),
|
||||
new GUIContent("Optimize Meshes", "Turn on this field to optimize imported Meshes for GPU access."));
|
||||
}
|
||||
break;
|
||||
case 1:
|
||||
var animationTypeProperty = serializedObject.FindProperty("AnimationType");
|
||||
EditorGUILayout.PropertyField(animationTypeProperty, new GUIContent("Animation Type", "Model rigging type."));
|
||||
EditorGUILayout.PropertyField(animationTypeProperty,
|
||||
new GUIContent("Animation Type", "Model rigging type."));
|
||||
var animationType = (AnimationType)animationTypeProperty.intValue;
|
||||
switch (animationType)
|
||||
{
|
||||
@@ -126,98 +186,181 @@ namespace TriLibCore.Editor
|
||||
case AnimationType.Humanoid:
|
||||
|
||||
var avatarDefinitionTypeProperty = serializedObject.FindProperty("AvatarDefinition");
|
||||
EditorGUILayout.PropertyField(avatarDefinitionTypeProperty, new GUIContent("Avatar Definition", "Type of avatar creation for the Model."));
|
||||
EditorGUILayout.PropertyField(avatarDefinitionTypeProperty,
|
||||
new GUIContent("Avatar Definition", "Type of avatar creation for the Model."));
|
||||
var avatarDefinitionType = (AvatarDefinitionType)avatarDefinitionTypeProperty.intValue;
|
||||
switch (avatarDefinitionType)
|
||||
{
|
||||
case AvatarDefinitionType.CreateFromThisModel:
|
||||
if (animationType == AnimationType.Humanoid)
|
||||
{
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("HumanDescription"), new GUIContent("Human Description", "Human Description used to create the humanoid Avatar, when the humanoid rigging type is selected."));
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("SampleBindPose"), new GUIContent("Sample Bind Pose", "Turn on this field to enforce the loaded Model to the bind-pose when rigging."));
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("EnforceTPose"), new GUIContent("Enforce T-Pose", "Turn on this field to enforce the loaded Model to the t-pose when rigging."));
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("HumanoidAvatarMapper"), new GUIContent("Humanoid Avatar Mapper", "Mapper used to map the humanoid Avatar, when the humanoid rigging type is selected."));
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("HumanDescription"),
|
||||
new GUIContent("Human Description",
|
||||
"Human Description used to create the humanoid Avatar, when the humanoid rigging type is selected."));
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("SampleBindPose"),
|
||||
new GUIContent("Sample Bind Pose",
|
||||
"Turn on this field to enforce the loaded Model to the bind-pose when rigging."));
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("EnforceTPose"),
|
||||
new GUIContent("Enforce T-Pose",
|
||||
"Turn on this field to enforce the loaded Model to a T-pose when rigging."));
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("HumanoidAvatarMapper"),
|
||||
new GUIContent("Humanoid Avatar Mapper",
|
||||
"Mapper used to map the humanoid Avatar when the humanoid rigging type is selected."));
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("ApplyAvatarHipsCompensation"),
|
||||
new GUIContent("Apply Avatar Hips Compensation",
|
||||
"Turn off this field if your avatars seem to hover over the ground. This disables avatar hips height compensation."));
|
||||
}
|
||||
break;
|
||||
case AvatarDefinitionType.CopyFromOtherAvatar:
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("Avatar"), new GUIContent("Source", "Source Avatar to use when copying from other Avatar."));
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("Avatar"),
|
||||
new GUIContent("Source", "Source Avatar to use when copying from another Avatar."));
|
||||
break;
|
||||
}
|
||||
break;
|
||||
case AnimationType.Legacy:
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("AutomaticallyPlayLegacyAnimations"), new GUIContent("Play Legacy Animations Automatically", "Turn on this field to play Legacy Animation Clips automatically (The first available Clip will be played)."));
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("EnforceAnimatorWithLegacyAnimations"), new GUIContent("Enforce Animator with Legacy Animations", "Turn on this field to add an Animator when the AnimationType is set to Legacy."));
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("AutomaticallyPlayLegacyAnimations"),
|
||||
new GUIContent("Play Legacy Animations Automatically",
|
||||
"Turn on this field to play Legacy Animation Clips automatically (The first available Clip will be played)."));
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("EnforceAnimatorWithLegacyAnimations"),
|
||||
new GUIContent("Enforce Animator with Legacy Animations",
|
||||
"Turn on this field to add an Animator when the AnimationType is set to Legacy."));
|
||||
break;
|
||||
}
|
||||
if (animationType != AnimationType.None)
|
||||
{
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("RootBoneMapper"), new GUIContent("Root Bone Mapper", "Mapper used to find the Model root bone."));
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("RootBoneMapper"),
|
||||
new GUIContent("Root Bone Mapper", "Mapper used to find the Model root bone."));
|
||||
}
|
||||
break;
|
||||
case 2:
|
||||
animationTypeProperty = serializedObject.FindProperty("AnimationType");
|
||||
animationType = (AnimationType)animationTypeProperty.intValue;
|
||||
//todo: add constraints
|
||||
if (animationType != AnimationType.None)
|
||||
{
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("EnsureQuaternionContinuity"), new GUIContent("Ensure Quaternion Continuity", "Turn on this field to realign quaternion keys to ensure shortest interpolation paths."));
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("ResampleFrequency"), new GUIContent("Resample Frequency", "Defines the FBX Rotation Animation Curve resampling frequency. (1 = every frame, 2 = every 2 frames, 3 = every 3 frames and so on)"));
|
||||
//todo: add keyframe reduction
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("AnimationWrapMode"), new GUIContent("Wrap Mode", "Default wrap-mode to apply to Animations."));
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("AnimationClipMappers"), new GUIContent("Animation Clip Mappers", "Mappers used to process Animation Clips."));
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("AddAllBonesToSkinnedMeshRenderers"), new GUIContent("Add all Bones to Skinned Mesh Renderers", "Turn on this field to add all available bones to every created SkinnedMeshRenderer."));
|
||||
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("EnsureQuaternionContinuity"),
|
||||
new GUIContent("Ensure Quaternion Continuity",
|
||||
"Turn on this field to realign quaternion keys to ensure the shortest interpolation paths."));
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("ResampleFrequency"),
|
||||
new GUIContent("Resample Frequency",
|
||||
"Defines the FBX Rotation Animation Curve resampling frequency. (1 = every frame, 2 = every 2 frames, etc.)"));
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("AnimationWrapMode"),
|
||||
new GUIContent("Wrap Mode", "Default wrap-mode to apply to Animations."));
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("AnimationClipMappers"),
|
||||
new GUIContent("Animation Clip Mappers", "Mappers used to process Animation Clips."));
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("AddAllBonesToSkinnedMeshRenderers"),
|
||||
new GUIContent("Add All Bones to Skinned Mesh Renderers",
|
||||
"Turn on this field to add all available bones to every created SkinnedMeshRenderer."));
|
||||
}
|
||||
break;
|
||||
case 3:
|
||||
var importMaterialsProperty = serializedObject.FindProperty("ImportMaterials");
|
||||
EditorGUILayout.PropertyField(importMaterialsProperty, new GUIContent("Import Materials", "Turn on this field to import Materials."));
|
||||
EditorGUILayout.PropertyField(importMaterialsProperty,
|
||||
new GUIContent("Import Materials", "Turn on this field to import Materials."));
|
||||
if (importMaterialsProperty.boolValue)
|
||||
{
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("UseMaterialKeywords"), new GUIContent("Use Material Keywords", "Turn on this field to enable/disable created Material Keywords based on the source native Materials."));
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("AlphaMaterialMode"), new GUIContent("Alpha Material Mode", "Chooses the way TriLib creates alpha materials."));
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("MaterialMappers"), new GUIContent("Material Mappers", "Mappers used to create suitable Unity Materials from original Materials."));
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("DoubleSidedMaterials"), new GUIContent("Double Sided Materials", "Turn on this field to create double-sided Materials (TriLib does that by duplicating the original Meshes)."));
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("SetUnusedTexturePropertiesToNull"), new GUIContent("Set unused Texture Properties to Null", "Turn on this field to set the unused Material Texture Properties to null."));
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("CreateMaterialsForAllModels"), new GUIContent("Create Materials for all Models", "Turn on this field to make TriLib create materials for every loaded model, even models without an original material."));
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("UseMaterialKeywords"),
|
||||
new GUIContent("Use Material Keywords",
|
||||
"Turn on this field to enable/disable created Material keywords based on the source native materials."));
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("AlphaMaterialMode"),
|
||||
new GUIContent("Alpha Material Mode", "Chooses the way TriLib creates alpha materials."));
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("MaterialMappers"),
|
||||
new GUIContent("Material Mappers", "Mappers used to create suitable Unity Materials from original Materials."));
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("DoubleSidedMaterials"),
|
||||
new GUIContent("Double-Sided Materials",
|
||||
"Turn on this field to create double-sided Materials (TriLib does that by duplicating the original Meshes)."));
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("SetUnusedTexturePropertiesToNull"),
|
||||
new GUIContent("Set Unused Texture Properties to Null",
|
||||
"Turn on this field to set unused Material Texture Properties to null."));
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("UseSharedMaterials"),
|
||||
new GUIContent("Use Shared Materials",
|
||||
"Turn on this field to use the renderers' \"sharedMaterials\" property instead of \"materials\"."));
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("DoPBRConversion"),
|
||||
new GUIContent("Do PBR Conversion",
|
||||
"Turn off this field to disable Phong to PBR conversion."));
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("ApplyGammaCurveToMaterialColors"),
|
||||
new GUIContent("Apply Gamma Curve to Material Colors",
|
||||
"When this field is on, TriLib will also apply the gamma curve to the material colors."));
|
||||
|
||||
}
|
||||
break;
|
||||
case 4:
|
||||
var importTexturesProperty = serializedObject.FindProperty("ImportTextures");
|
||||
EditorGUILayout.PropertyField(importTexturesProperty, new GUIContent("Import Textures", "Turn on this field to import Textures."));
|
||||
EditorGUILayout.PropertyField(importTexturesProperty,
|
||||
new GUIContent("Import Textures", "Turn on this field to import Textures."));
|
||||
if (importTexturesProperty.boolValue)
|
||||
{
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("TextureMappers"), new GUIContent("Texture Mappers", "Mappers used to find native Texture Streams from custom sources."));
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("TextureCompressionQuality"), new GUIContent("Texture Compression Quality", "Texture compression to apply on loaded Textures."));
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("GenerateMipmaps"), new GUIContent("Generate Mipmaps", "Turn on this field to enable Textures mip-map generation."));
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("FixNormalMaps"), new GUIContent("Fix Normal Maps", "Turn on this field to change normal map channels order to ABBR instead of RGBA."));
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("EnforceAlphaChannelTextures"), new GUIContent("Enforce Alpha Channel Textures", "Turn on this field to enforce alpha channel on textures creation."));
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("TextureMappers"),
|
||||
new GUIContent("Texture Mappers", "Mappers used to find native Texture Streams from custom sources."));
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("TextureCompressionQuality"),
|
||||
new GUIContent("Texture Compression Quality",
|
||||
"Texture compression to apply on loaded Textures."));
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("GenerateMipmaps"),
|
||||
new GUIContent("Generate Mipmaps", "Turn on this field to enable Texture mipmap generation."));
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("FixNormalMaps"),
|
||||
new GUIContent("Fix Normal Maps",
|
||||
"Turn on this field to change the normal map channel order to ABBR instead of RGBA."));
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("EnforceAlphaChannelTextures"),
|
||||
new GUIContent("Enforce Alpha Channel Textures",
|
||||
"Turn on this field to enforce an alpha channel on texture creation."));
|
||||
var alphaMaterialModeProperty = serializedObject.FindProperty("AlphaMaterialMode");
|
||||
if (alphaMaterialModeProperty.enumValueIndex > 0)
|
||||
{
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("ScanForAlphaPixels"), new GUIContent("Scan for Alpha Pixels", "Turn on this field to scan Textures for alpha-blended pixels in order to generate transparent Materials."));
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("ScanForAlphaPixels"),
|
||||
new GUIContent("Scan for Alpha Pixels",
|
||||
"Turn on this field to scan textures for alpha-blended pixels to generate transparent Materials."));
|
||||
}
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("LoadTexturesAsSRGB"), new GUIContent("Load Textures as sRGB", "Turn off this field to load textures as linear, instead of sRGB."));
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("ApplyGammaCurveToMaterialColors"), new GUIContent("Apply Gamma Curve to Material Colors", "When this field is on, TriLib will also apply the gamma curve to the material colors."));
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("ApplyTexturesOffsetAndScaling"), new GUIContent("Apply Textures Offset and Scaling", "Turn on this field to apply Textures offset and scaling."));
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("DiscardUnusedTextures"), new GUIContent("Discard Unused Textures", "Turn off this field to keep unused Textures."));
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("ForcePowerOfTwoTextures"), new GUIContent("Force Power of Two Textures", "Turn on this field to enforce power of two resolution when loading textures (needed for texture compression and in some platforms)."));
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("UseUnityNativeTextureLoader"), new GUIContent("Use Unity Native Texture Loader", "Turn on this field to use Unity builtin Texture loader instead of stb_image."));
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("MaxTexturesResolution"), new GUIContent("Max Textures Resolution", "Use this field to limit textures resolution. Textures with resolutions higher than this value (when the value is not zero) will not be loaded."));
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("ConvertMaterialTexturesUsingHalfRes"), new GUIContent("Convert Material Textures using Half Res", "Turn off this field to generate the \"Metallic/Smoothness/Specular/Roughness\" textures with the full original resolution."));
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("LoadTexturesAsSRGB"),
|
||||
new GUIContent("Load Textures as sRGB",
|
||||
"Turn off this field to load textures as linear instead of sRGB."));
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("ApplyTexturesOffsetAndScaling"),
|
||||
new GUIContent("Apply Textures Offset and Scaling",
|
||||
"Turn on this field to apply texture offset and scaling."));
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("DiscardUnusedTextures"),
|
||||
new GUIContent("Discard Unused Textures",
|
||||
"Turn off this field to keep unused Textures."));
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("ForcePowerOfTwoTextures"),
|
||||
new GUIContent("Force Power of Two Textures",
|
||||
"Turn on this field to enforce power-of-two resolution when loading textures (needed for compression on some platforms)."));
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("UseUnityNativeTextureLoader"),
|
||||
new GUIContent("Use Unity Native Texture Loader",
|
||||
"Turn on this field to use the Unity built-in Texture loader instead of stb_image."));
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("MaxTexturesResolution"),
|
||||
new GUIContent("Max Textures Resolution",
|
||||
"Use this field to limit texture resolution. Textures with resolutions higher than this value (when not zero) will not be loaded."));
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("ConvertMaterialTexturesUsingHalfRes"),
|
||||
new GUIContent("Convert Material Textures Using Half Res",
|
||||
"Turn off this field to generate the \"Metallic/Smoothness/Specular/Roughness\" textures at their full original resolution."));
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("LoadDisplacementTextures"),
|
||||
new GUIContent("Load Displacement Textures",
|
||||
"Turn on this field to load displacement textures."));
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("LoadTexturesViaWebRequest"),
|
||||
new GUIContent("Load Textures via Web Request",
|
||||
"Turn on this field to load textures using the UnityWebRequest class (experimental). " +
|
||||
"UnityWebRequest is the fastest way to load PNG/JPG textures but uses more memory."));
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("ConvertTexturesAs2D"),
|
||||
new GUIContent("Convert Textures as 2D",
|
||||
"Turn off this field to keep processed/composed textures as RenderTextures."));
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("ApplyTransparencyTexture"),
|
||||
new GUIContent("Apply Transparency Texture",
|
||||
"Turn off this field to disable composing the Albedo texture using the original material's transparency texture."));
|
||||
|
||||
|
||||
}
|
||||
break;
|
||||
case 5:
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("ExternalDataMapper"), new GUIContent("External Data Mapper", "Mapper used to find data Streams on external sources."));
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("UserPropertiesMapper"), new GUIContent("User Properties Mapper", " Mapper used to process User Properties from Models."));
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("LipSyncMappers"), new GUIContent("Lip Sync Mappers", "Mappers used to configure Lip-Sync Blend Shapes."));
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("NameMapper"), new GUIContent("Name Mapper", "This class can be inherited and used to generate Game Object naming based on file-format model specific data."));
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("ExternalDataMapper"),
|
||||
new GUIContent("External Data Mapper", "Mapper used to find data Streams on external sources."));
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("UserPropertiesMapper"),
|
||||
new GUIContent("User Properties Mapper", "Mapper used to process User Properties from Models."));
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("LipSyncMappers"),
|
||||
new GUIContent("Lip Sync Mappers", "Mappers used to configure Lip-Sync Blend Shapes."));
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("NameMapper"),
|
||||
new GUIContent("Name Mapper",
|
||||
"This class can be inherited and used to generate GameObject naming based on file-format model-specific data."));
|
||||
break;
|
||||
}
|
||||
EditorGUILayout.EndVertical();
|
||||
serializedObject.ApplyModifiedProperties();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
@@ -1,3 +1,10 @@
|
||||
fileFormatVersion: 2
|
||||
guid: e964c5e158b24dc6ad03b0a14c2ef811
|
||||
timeCreated: 1573053965
|
||||
timeCreated: 1573053965
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 157548
|
||||
packageName: TriLib 2 - Model Loading Package
|
||||
packageVersion: 2.5.5
|
||||
assetPath: Assets/Editor/TriLibCore/Scripts/AssetLoaderOptionsEditor.cs
|
||||
uploadId: 752923
|
||||
|
||||
@@ -1,15 +1,13 @@
|
||||
using System;
|
||||
using UnityEditor;
|
||||
using UnityEditor;
|
||||
using UnityEditor.Build;
|
||||
using UnityEditor.Build.Reporting;
|
||||
using UnityEngine;
|
||||
using Debug = UnityEngine.Debug;
|
||||
|
||||
namespace TriLibCore.Editor
|
||||
{
|
||||
public class BuildProcessor : IPreprocessBuildWithReport
|
||||
{
|
||||
public int callbackOrder => -1000;
|
||||
public int callbackOrder => 0;
|
||||
|
||||
public void OnPreprocessBuild(BuildReport report)
|
||||
{
|
||||
@@ -18,44 +16,17 @@ namespace TriLibCore.Editor
|
||||
#else
|
||||
PlayerSettings.WebGL.threadsSupport = false;
|
||||
#endif
|
||||
if (!Application.isBatchMode)
|
||||
{
|
||||
#if UNITY_WSA
|
||||
if (!Application.isBatchMode && !PlayerSettings.WSA.GetCapability(PlayerSettings.WSACapability.RemovableStorage) && EditorUtility.DisplayDialog(
|
||||
"TriLib", "TriLib cache system needs the [RemovableStorage] WSA Capacity enabled. Do you want to enable it?", "Yes", "No"))
|
||||
if (!PlayerSettings.WSA.GetCapability(PlayerSettings.WSACapability.RemovableStorage) && EditorUtility.DisplayDialog(
|
||||
"TriLib", "TriLib cache system needs the [RemovableStorage] WSA Capacity enabled. Do you want to enable it now?", "Yes", "No"))
|
||||
{
|
||||
PlayerSettings.WSA.SetCapability(PlayerSettings.WSACapability.RemovableStorage, true);
|
||||
}
|
||||
#endif
|
||||
var waitingMappers = false;
|
||||
string materialMapper = null;
|
||||
var arguments = Environment.GetCommandLineArgs();
|
||||
for (var i = 0; i < arguments.Length; i++)
|
||||
{
|
||||
var argument = arguments[i];
|
||||
if (waitingMappers)
|
||||
{
|
||||
materialMapper = argument;
|
||||
continue;
|
||||
}
|
||||
|
||||
switch (argument)
|
||||
{
|
||||
case "-trilib_mappers":
|
||||
{
|
||||
waitingMappers = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (materialMapper is object)
|
||||
{
|
||||
Debug.Log($"Using the given material mapper:{materialMapper}.");
|
||||
CheckMappers.SelectMapper(materialMapper);
|
||||
}
|
||||
else
|
||||
{
|
||||
CheckMappers.Initialize();
|
||||
}
|
||||
CheckMappers.EnableCompatibleMaterialMapperIfNeeded();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: d556beac2d22e38459a0060666d79950
|
||||
guid: 48732532528e378478a056f14449aa64
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
@@ -9,3 +9,10 @@ MonoImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 157548
|
||||
packageName: TriLib 2 - Model Loading Package
|
||||
packageVersion: 2.5.5
|
||||
assetPath: Assets/Editor/TriLibCore/Scripts/BuildProcessor.cs
|
||||
uploadId: 752923
|
||||
|
||||
@@ -0,0 +1,41 @@
|
||||
using System;
|
||||
using TriLibCore.General;
|
||||
using TriLibCore.Mappers;
|
||||
using UnityEditor;
|
||||
using UnityEngine;
|
||||
|
||||
|
||||
namespace TriLibCore.Editor
|
||||
{
|
||||
[CustomEditor(typeof(ByNameHumanoidAvatarMapper))]
|
||||
public class ByNameHumanoidAvatarMapperEditor : UnityEditor.Editor
|
||||
{
|
||||
private bool[] _folded = new bool[2];
|
||||
|
||||
public override void OnInspectorGUI()
|
||||
{
|
||||
_folded[0] = EditorGUILayout.BeginFoldoutHeaderGroup(_folded[0], "String Comparison");
|
||||
if (_folded[0])
|
||||
{
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("stringComparisonMode"));
|
||||
EditorGUILayout.PropertyField(serializedObject.FindProperty("CaseInsensitive"));
|
||||
}
|
||||
EditorGUILayout.EndFoldoutHeaderGroup();
|
||||
_folded[1] = EditorGUILayout.BeginFoldoutHeaderGroup(_folded[1], "Bones Mapping");
|
||||
EditorGUILayout.EndFoldoutHeaderGroup();
|
||||
if (_folded[1])
|
||||
{
|
||||
var bonesMapping = serializedObject.FindProperty("BonesMapping");
|
||||
for (var i = 0; i < bonesMapping.arraySize; i++)
|
||||
{
|
||||
var boneMapping = bonesMapping.GetArrayElementAtIndex(i);
|
||||
var humanBone = boneMapping.FindPropertyRelative("HumanBone");
|
||||
var enumDisplayNames = humanBone.enumDisplayNames;
|
||||
var boneNames = boneMapping.FindPropertyRelative("BoneNames");
|
||||
EditorGUILayout.PropertyField(boneNames, new GUIContent(enumDisplayNames[humanBone.enumValueIndex]));
|
||||
}
|
||||
}
|
||||
serializedObject.ApplyModifiedProperties();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
fileFormatVersion: 2
|
||||
guid: ae81488757bd60e4db304d3c72f0cfde
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 157548
|
||||
packageName: TriLib 2 - Model Loading Package
|
||||
packageVersion: 2.5.5
|
||||
assetPath: Assets/Editor/TriLibCore/Scripts/ByNameHumanoidAvatarMapperEditor.cs
|
||||
uploadId: 752923
|
||||
@@ -5,71 +5,72 @@ using UnityEngine;
|
||||
|
||||
namespace TriLibCore.Editor
|
||||
{
|
||||
/// <summary>
|
||||
/// Represents a series of Material Mapper utility methods.
|
||||
/// </summary>
|
||||
[InitializeOnLoad]
|
||||
public static class CheckMappers
|
||||
{
|
||||
[InitializeOnEnterPlayMode]
|
||||
[InitializeOnLoadMethod]
|
||||
public static void Initialize()
|
||||
[MenuItem("Tools/TriLib/Select Material Mappers based on Rendering Pipeline")]
|
||||
private static void AutoSelect()
|
||||
{
|
||||
var hasAnyMapper = false;
|
||||
string materialMapperName;
|
||||
for (var i = 0; i < MaterialMapper.RegisteredMappers.Count; i++)
|
||||
{
|
||||
materialMapperName = MaterialMapper.RegisteredMappers[i];
|
||||
TriLibSettings.SetBool(materialMapperName, false);
|
||||
}
|
||||
materialMapperName = AssetLoader.GetCompatibleMaterialMapperName();
|
||||
SelectMapper(materialMapperName);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Enables a compatible Material Mapper if none is found.
|
||||
/// </summary>
|
||||
public static void EnableCompatibleMaterialMapperIfNeeded()
|
||||
{
|
||||
string materialMapperName;
|
||||
for (var i = 0; i < MaterialMapper.RegisteredMappers.Count; i++)
|
||||
{
|
||||
materialMapperName = MaterialMapper.RegisteredMappers[i];
|
||||
if (TriLibSettings.GetBool(materialMapperName, false))
|
||||
{
|
||||
return;
|
||||
}
|
||||
}
|
||||
EnableCompatibleMaterialMapper();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Tries to find the best Material Mapper depending on the Rendering Pipeline.
|
||||
/// </summary>
|
||||
public static void EnableCompatibleMaterialMapper()
|
||||
{
|
||||
var usingMaterialMapper = false;
|
||||
for (var i = 0; i < MaterialMapper.RegisteredMappers.Count; i++)
|
||||
{
|
||||
var materialMapperName = MaterialMapper.RegisteredMappers[i];
|
||||
if (TriLibSettings.GetBool(materialMapperName))
|
||||
{
|
||||
hasAnyMapper = true;
|
||||
usingMaterialMapper = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if (!hasAnyMapper)
|
||||
if (!usingMaterialMapper)
|
||||
{
|
||||
string materialMapper;
|
||||
if (GraphicsSettingsUtils.IsUsingHDRPPipeline)
|
||||
{
|
||||
materialMapper = "HDRPMaterialMapper";
|
||||
}
|
||||
else if (GraphicsSettingsUtils.IsUsingUniversalPipeline)
|
||||
{
|
||||
materialMapper = "UniversalRPMaterialMapper";
|
||||
}
|
||||
else
|
||||
{
|
||||
materialMapper = "StandardMaterialMapper";
|
||||
}
|
||||
Debug.Log($"TriLib is configured to use the '{materialMapper}' Material Mapper. If you want to use different Material Mappers, you can change this setting on the Project Settings/TriLib area.");
|
||||
TriLibSettings.SetBool(materialMapper, true);
|
||||
var materialMapperName = AssetLoader.GetCompatibleMaterialMapperName();
|
||||
SelectMapper(materialMapperName);
|
||||
}
|
||||
}
|
||||
|
||||
[MenuItem("Tools/TriLib/Select Material Mappers based on Rendering Pipeline")]
|
||||
public static void AutoSelect()
|
||||
static CheckMappers()
|
||||
{
|
||||
for (var i = 0; i < MaterialMapper.RegisteredMappers.Count; i++)
|
||||
{
|
||||
var materialMapperName = MaterialMapper.RegisteredMappers[i];
|
||||
TriLibSettings.SetBool(materialMapperName, false);
|
||||
}
|
||||
|
||||
string materialMapper;
|
||||
if (GraphicsSettingsUtils.IsUsingHDRPPipeline)
|
||||
{
|
||||
materialMapper = "HDRPMaterialMapper";
|
||||
}
|
||||
else if (GraphicsSettingsUtils.IsUsingUniversalPipeline)
|
||||
{
|
||||
materialMapper = "UniversalRPMaterialMapper";
|
||||
}
|
||||
else
|
||||
{
|
||||
materialMapper = "StandardMaterialMapper";
|
||||
}
|
||||
SelectMapper(materialMapper);
|
||||
EnableCompatibleMaterialMapperIfNeeded();
|
||||
}
|
||||
|
||||
public static void SelectMapper(string materialMapper)
|
||||
{
|
||||
Debug.Log($"TriLib is configured to use the '{materialMapper}' Material Mapper. If you want to use different Material Mappers, you can change this setting on the Project Settings/TriLib area.");
|
||||
Debug.Log($"TriLib is configured to use the '{materialMapper}' Material Mapper. If you want to use different Material Mappers, you can change this setting on the 'Edit->Project Settings->TriLib' menu.");
|
||||
TriLibSettings.SetBool(materialMapper, true);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -9,3 +9,10 @@ MonoImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 157548
|
||||
packageName: TriLib 2 - Model Loading Package
|
||||
packageVersion: 2.5.5
|
||||
assetPath: Assets/Editor/TriLibCore/Scripts/CheckMappers.cs
|
||||
uploadId: 752923
|
||||
|
||||
@@ -1,3 +1,10 @@
|
||||
fileFormatVersion: 2
|
||||
guid: c201497c49b244e8a7ae0152eb5ad027
|
||||
timeCreated: 1573070165
|
||||
timeCreated: 1573070165
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 157548
|
||||
packageName: TriLib 2 - Model Loading Package
|
||||
packageVersion: 2.5.5
|
||||
assetPath: Assets/Editor/TriLibCore/Scripts/ImporterOption.cs
|
||||
uploadId: 752923
|
||||
|
||||
@@ -9,3 +9,10 @@ MonoImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 157548
|
||||
packageName: TriLib 2 - Model Loading Package
|
||||
packageVersion: 2.5.5
|
||||
assetPath: Assets/Editor/TriLibCore/Scripts/LipSyncMappingEditor.cs
|
||||
uploadId: 752923
|
||||
|
||||
@@ -9,3 +9,10 @@ MonoImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 157548
|
||||
packageName: TriLib 2 - Model Loading Package
|
||||
packageVersion: 2.5.5
|
||||
assetPath: Assets/Editor/TriLibCore/Scripts/MapperContextActions.cs
|
||||
uploadId: 752923
|
||||
|
||||
@@ -9,3 +9,10 @@ MonoImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 157548
|
||||
packageName: TriLib 2 - Model Loading Package
|
||||
packageVersion: 2.5.5
|
||||
assetPath: Assets/Editor/TriLibCore/Scripts/PreBuiltResources.cs
|
||||
uploadId: 752923
|
||||
|
||||
@@ -0,0 +1,52 @@
|
||||
using UnityEditor;
|
||||
using UnityEngine;
|
||||
|
||||
namespace TriLibCore.Editor
|
||||
{
|
||||
/// <summary>
|
||||
/// Represents a class with Shader Variant Collection utility methods.
|
||||
/// </summary>
|
||||
public static class ShaderVariantCollectionUtils
|
||||
{
|
||||
/// <summary>
|
||||
/// Adds the given Shader Variant Collection to the Graphic Settings preloaded shaders.
|
||||
/// </summary>
|
||||
/// <param name="shaderVariantCollection">The Shader Variant Collection to add.</param>
|
||||
public static void AddShaderVariantCollectionToGraphicSettings(ShaderVariantCollection shaderVariantCollection)
|
||||
{
|
||||
var graphicSettingAssets = AssetDatabase.LoadAllAssetsAtPath("ProjectSettings/GraphicsSettings.asset");
|
||||
if (graphicSettingAssets != null && graphicSettingAssets.Length > 0)
|
||||
{
|
||||
var graphicsSettings = new SerializedObject(graphicSettingAssets[0]);
|
||||
var preloadedShaders = graphicsSettings.FindProperty("m_PreloadedShaders");
|
||||
preloadedShaders.InsertArrayElementAtIndex(preloadedShaders.arraySize);
|
||||
preloadedShaders.GetArrayElementAtIndex(preloadedShaders.arraySize - 1).objectReferenceValue = shaderVariantCollection;
|
||||
graphicsSettings.ApplyModifiedProperties();
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Returns whether the given Shader Variant Collection exists on the Graphic Settings preloaded shaders.
|
||||
/// </summary>
|
||||
/// <param name="shaderVariantCollection">The Shader Variant Collection to check for.</param>
|
||||
/// <returns>Whether the Shader Variant Collection exists on the Graphic Settings preloaded shaders.</returns>
|
||||
public static bool IsShaderVariantCollectionPreloaded(ShaderVariantCollection shaderVariantCollection)
|
||||
{
|
||||
var graphicSettingAssets = AssetDatabase.LoadAllAssetsAtPath("ProjectSettings/GraphicsSettings.asset");
|
||||
if (graphicSettingAssets != null && graphicSettingAssets.Length > 0)
|
||||
{
|
||||
var graphicsSettings = new SerializedObject(graphicSettingAssets[0]);
|
||||
var preloadedShaders = graphicsSettings.FindProperty("m_PreloadedShaders");
|
||||
for (var i = 0; i < preloadedShaders.arraySize; i++)
|
||||
{
|
||||
if (preloadedShaders.GetArrayElementAtIndex(i).objectReferenceValue == shaderVariantCollection)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 9d608c222bc0e864cbc3769c06a760e0
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 157548
|
||||
packageName: TriLib 2 - Model Loading Package
|
||||
packageVersion: 2.5.5
|
||||
assetPath: Assets/Editor/TriLibCore/Scripts/ShaderVariantCollectionUtils.cs
|
||||
uploadId: 752923
|
||||
@@ -1,3 +1,10 @@
|
||||
fileFormatVersion: 2
|
||||
guid: f2d92827e4bc43d68ac3a39cbdee0da3
|
||||
timeCreated: 1589229113
|
||||
timeCreated: 1589229113
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 157548
|
||||
packageName: TriLib 2 - Model Loading Package
|
||||
packageVersion: 2.5.5
|
||||
assetPath: Assets/Editor/TriLibCore/Scripts/SimpleAnimationPlayerEditor.cs
|
||||
uploadId: 752923
|
||||
|
||||
@@ -2,7 +2,11 @@
|
||||
using System;
|
||||
using UnityEditor;
|
||||
using Object = UnityEngine.Object;
|
||||
#if UNITY_2020_2_OR_NEWER
|
||||
using UnityEditor.AssetImporters;
|
||||
#else
|
||||
using UnityEditor.Experimental.AssetImporters;
|
||||
#endif
|
||||
namespace TriLibCore.Editor
|
||||
{
|
||||
#if !TRILIB_DISABLE_EDITOR_3MF_IMPORT
|
||||
|
||||
@@ -9,3 +9,10 @@ MonoImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 157548
|
||||
packageName: TriLib 2 - Model Loading Package
|
||||
packageVersion: 2.5.5
|
||||
assetPath: Assets/Editor/TriLibCore/Scripts/TriLib3MFScriptedImporter.cs
|
||||
uploadId: 752923
|
||||
|
||||
@@ -7,9 +7,13 @@ namespace TriLibCore.Editor
|
||||
{
|
||||
public static bool IsSymbolDefined(string targetDefineSymbol)
|
||||
{
|
||||
var targetGroup = NamedBuildTarget.FromBuildTargetGroup(EditorUserBuildSettings.selectedBuildTargetGroup);
|
||||
//var defineSymbols = PlayerSettings.GetScriptingDefineSymbolsForGroup(EditorUserBuildSettings.selectedBuildTargetGroup);
|
||||
var defineSymbols = PlayerSettings.GetScriptingDefineSymbols(targetGroup);
|
||||
#if UNITY_2020_3_OR_NEWER
|
||||
var buildTargetGroup = EditorUserBuildSettings.selectedBuildTargetGroup;
|
||||
var namedBuildTarget = NamedBuildTarget.FromBuildTargetGroup(buildTargetGroup);
|
||||
var defineSymbols = PlayerSettings.GetScriptingDefineSymbols(namedBuildTarget);
|
||||
#else
|
||||
var defineSymbols = PlayerSettings.GetScriptingDefineSymbolsForGroup(EditorUserBuildSettings.selectedBuildTargetGroup);
|
||||
#endif
|
||||
var defineSymbolsArray = defineSymbols.Split(';');
|
||||
for (var i = 0; i < defineSymbolsArray.Length; i++)
|
||||
{
|
||||
@@ -20,15 +24,18 @@ namespace TriLibCore.Editor
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
public static void UpdateSymbol(string targetDefineSymbol, bool value)
|
||||
{
|
||||
var targetGroup = NamedBuildTarget.FromBuildTargetGroup(EditorUserBuildSettings.selectedBuildTargetGroup);
|
||||
var defineSymbols = PlayerSettings.GetScriptingDefineSymbols(targetGroup);
|
||||
//var defineSymbols = PlayerSettings.GetScriptingDefineSymbolsForGroup(EditorUserBuildSettings.selectedBuildTargetGroup);
|
||||
#if UNITY_2020_3_OR_NEWER
|
||||
var buildTargetGroup = EditorUserBuildSettings.selectedBuildTargetGroup;
|
||||
var namedBuildTarget = NamedBuildTarget.FromBuildTargetGroup(buildTargetGroup);
|
||||
var defineSymbols = PlayerSettings.GetScriptingDefineSymbols(namedBuildTarget);
|
||||
#else
|
||||
var defineSymbols = PlayerSettings.GetScriptingDefineSymbolsForGroup(EditorUserBuildSettings.selectedBuildTargetGroup);
|
||||
#endif
|
||||
var defineSymbolsArray = defineSymbols.Split(';');
|
||||
var newDefineSymbols = string.Empty;
|
||||
var isDefined = false;
|
||||
@@ -42,10 +49,8 @@ namespace TriLibCore.Editor
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
isDefined = true;
|
||||
}
|
||||
|
||||
newDefineSymbols += string.Format("{0};", trimmedDefineSymbol);
|
||||
}
|
||||
|
||||
@@ -53,8 +58,11 @@ namespace TriLibCore.Editor
|
||||
{
|
||||
newDefineSymbols += string.Format("{0};", targetDefineSymbol);
|
||||
}
|
||||
PlayerSettings.SetScriptingDefineSymbols(targetGroup, newDefineSymbols);
|
||||
//PlayerSettings.SetScriptingDefineSymbolsForGroup(EditorUserBuildSettings.selectedBuildTargetGroup, newDefineSymbols);
|
||||
#if UNITY_2020_3_OR_NEWER
|
||||
PlayerSettings.SetScriptingDefineSymbols(namedBuildTarget, newDefineSymbols);
|
||||
#else
|
||||
PlayerSettings.SetScriptingDefineSymbolsForGroup(EditorUserBuildSettings.selectedBuildTargetGroup, newDefineSymbols);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -9,3 +9,10 @@ MonoImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 157548
|
||||
packageName: TriLib 2 - Model Loading Package
|
||||
packageVersion: 2.5.5
|
||||
assetPath: Assets/Editor/TriLibCore/Scripts/TriLibDefineSymbolsHelper.cs
|
||||
uploadId: 752923
|
||||
|
||||
@@ -9,3 +9,10 @@ MonoImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 157548
|
||||
packageName: TriLib 2 - Model Loading Package
|
||||
packageVersion: 2.5.5
|
||||
assetPath: Assets/Editor/TriLibCore/Scripts/TriLibDeprecationWarnings.cs
|
||||
uploadId: 752923
|
||||
|
||||
@@ -2,7 +2,11 @@
|
||||
using System;
|
||||
using UnityEditor;
|
||||
using Object = UnityEngine.Object;
|
||||
#if UNITY_2020_2_OR_NEWER
|
||||
using UnityEditor.AssetImporters;
|
||||
#else
|
||||
using UnityEditor.Experimental.AssetImporters;
|
||||
#endif
|
||||
namespace TriLibCore.Editor
|
||||
{
|
||||
#if !TRILIB_DISABLE_EDITOR_GLTF_IMPORT
|
||||
|
||||
@@ -9,3 +9,10 @@ MonoImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 157548
|
||||
packageName: TriLib 2 - Model Loading Package
|
||||
packageVersion: 2.5.5
|
||||
assetPath: Assets/Editor/TriLibCore/Scripts/TriLibGLTFScriptedImporter.cs
|
||||
uploadId: 752923
|
||||
|
||||
@@ -2,7 +2,11 @@
|
||||
using System;
|
||||
using UnityEditor;
|
||||
using Object = UnityEngine.Object;
|
||||
#if UNITY_2020_2_OR_NEWER
|
||||
using UnityEditor.AssetImporters;
|
||||
#else
|
||||
using UnityEditor.Experimental.AssetImporters;
|
||||
#endif
|
||||
namespace TriLibCore.Editor
|
||||
{
|
||||
#if !TRILIB_DISABLE_EDITOR_PLY_IMPORT
|
||||
|
||||
@@ -9,3 +9,10 @@ MonoImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 157548
|
||||
packageName: TriLib 2 - Model Loading Package
|
||||
packageVersion: 2.5.5
|
||||
assetPath: Assets/Editor/TriLibCore/Scripts/TriLibPLYScriptedImporter.cs
|
||||
uploadId: 752923
|
||||
|
||||
@@ -2,7 +2,11 @@
|
||||
using System;
|
||||
using UnityEditor;
|
||||
using Object = UnityEngine.Object;
|
||||
#if UNITY_2020_2_OR_NEWER
|
||||
using UnityEditor.AssetImporters;
|
||||
#else
|
||||
using UnityEditor.Experimental.AssetImporters;
|
||||
#endif
|
||||
namespace TriLibCore.Editor
|
||||
{
|
||||
#if !TRILIB_DISABLE_EDITOR_STL_IMPORT
|
||||
|
||||
@@ -9,3 +9,10 @@ MonoImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 157548
|
||||
packageName: TriLib 2 - Model Loading Package
|
||||
packageVersion: 2.5.5
|
||||
assetPath: Assets/Editor/TriLibCore/Scripts/TriLibSTLScriptedImporter.cs
|
||||
uploadId: 752923
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
#pragma warning disable CS0105
|
||||
#pragma warning disable CS0618
|
||||
using UnityEngine;
|
||||
using TriLibCore.Interfaces;
|
||||
using UnityEditor;
|
||||
@@ -19,6 +20,8 @@ namespace TriLibCore.Editor
|
||||
}
|
||||
//Editor coroutines are not allowed
|
||||
assetLoaderOptions.UseCoroutines = false;
|
||||
//Asset Unloader is not suitable for editor loading
|
||||
assetLoaderOptions.AddAssetUnloader = false;
|
||||
return assetLoaderOptions;
|
||||
}
|
||||
set => userData = EditorJsonUtility.ToJson(value);
|
||||
|
||||
@@ -9,3 +9,10 @@ MonoImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 157548
|
||||
packageName: TriLib 2 - Model Loading Package
|
||||
packageVersion: 2.5.5
|
||||
assetPath: Assets/Editor/TriLibCore/Scripts/TriLibScriptedImporter.cs
|
||||
uploadId: 752923
|
||||
|
||||
@@ -39,7 +39,7 @@ namespace TriLibCore.Editor
|
||||
GUILayout.Label("You can disable runtime file-formats importing here");
|
||||
EditorGUILayout.Space();
|
||||
ShowConditionalToggle("Disable runtime FBX importing", "TRILIB_DISABLE_FBX_IMPORT");
|
||||
ShowConditionalToggle("Disable runtime gLTF2 importing", "TRILIB_DISABLE_GLTF_IMPORT");
|
||||
ShowConditionalToggle("Disable runtime glTF2 importing", "TRILIB_DISABLE_GLTF_IMPORT");
|
||||
ShowConditionalToggle("Disable runtime OBJ importing", "TRILIB_DISABLE_OBJ_IMPORT");
|
||||
ShowConditionalToggle("Disable runtime STL importing", "TRILIB_DISABLE_STL_IMPORT");
|
||||
ShowConditionalToggle("Disable runtime PLY importing", "TRILIB_DISABLE_PLY_IMPORT");
|
||||
@@ -51,7 +51,7 @@ namespace TriLibCore.Editor
|
||||
EditorPrefs.SetInt("TriLibTimeout", EditorGUILayout.IntField("Loading timeout", EditorPrefs.GetInt("TriLibTimeout", 180)));
|
||||
GUILayout.Label("You can disable in editor file-formats importing to avoid conflicts with other editor importers");
|
||||
EditorGUILayout.Space();
|
||||
ShowConditionalToggle("Disable in editor gLTF2 importing", "TRILIB_DISABLE_EDITOR_GLTF_IMPORT");
|
||||
ShowConditionalToggle("Disable in editor glTF2 importing", "TRILIB_DISABLE_EDITOR_GLTF_IMPORT");
|
||||
ShowConditionalToggle("Disable in editor PLY importing", "TRILIB_DISABLE_EDITOR_PLY_IMPORT");
|
||||
ShowConditionalToggle("Disable in editor 3MF importing", "TRILIB_DISABLE_EDITOR_3MF_IMPORT");
|
||||
ShowConditionalToggle("Disable in editor STL importing", "TRILIB_DISABLE_EDITOR_STL_IMPORT");
|
||||
@@ -75,10 +75,8 @@ namespace TriLibCore.Editor
|
||||
GUILayout.Label("Misc Options", EditorStyles.boldLabel);
|
||||
GUILayout.Label("Advanced and experimental options");
|
||||
EditorGUILayout.Space();
|
||||
//todo: fbx sdk will be included in a future update
|
||||
//ShowConditionalToggle("Use FBX SDK (Experimental)", "TRILIB_USE_FBXSDK");
|
||||
ShowConditionalToggle("Enable UWP threaded loading (Experimental)", "TRILIB_ENABLE_UWP_THREADS");
|
||||
ShowConditionalToggle("Enable gLTF2 Draco decompression (Experimental)", "TRILIB_DRACO");
|
||||
ShowConditionalToggle("Enable glTF2 Draco decompression (Experimental)", "TRILIB_DRACO");
|
||||
ShowConditionalToggle("Force synchronous loading", "TRILIB_FORCE_SYNC");
|
||||
ShowConditionalToggle("Change thread names (Debug purposes only)", "TRILIB_USE_THREAD_NAMES");
|
||||
ShowConditionalToggle("Disable asset loader options validations", "TRILIB_DISABLE_VALIDATIONS");
|
||||
@@ -98,13 +96,16 @@ namespace TriLibCore.Editor
|
||||
{
|
||||
Application.OpenURL("https://ricardoreis.net/trilibwiki/index.php");
|
||||
}
|
||||
if (GUILayout.Button("Discord Server"))
|
||||
{
|
||||
Application.OpenURL("https://discord.gg/FV6tqCxY2U");
|
||||
}
|
||||
if (GUILayout.Button("Support"))
|
||||
{
|
||||
Application.OpenURL("https://ricardoreis.net/contact/");
|
||||
}
|
||||
GUILayout.EndHorizontal();
|
||||
GUILayout.EndVertical();
|
||||
CheckMappers.Initialize();
|
||||
base.OnGUI(searchContext);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,3 +1,10 @@
|
||||
fileFormatVersion: 2
|
||||
guid: a5b653e1047e419fb6dc0d9b9d4d2c46
|
||||
timeCreated: 1573055735
|
||||
timeCreated: 1573055735
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 157548
|
||||
packageName: TriLib 2 - Model Loading Package
|
||||
packageVersion: 2.5.5
|
||||
assetPath: Assets/Editor/TriLibCore/Scripts/TriLibSettingsProvider.cs
|
||||
uploadId: 752923
|
||||
|
||||
@@ -9,3 +9,10 @@ MonoImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 157548
|
||||
packageName: TriLib 2 - Model Loading Package
|
||||
packageVersion: 2.5.5
|
||||
assetPath: Assets/Editor/TriLibCore/Scripts/TriLibSplashScreen.cs
|
||||
uploadId: 752923
|
||||
|
||||
@@ -9,3 +9,10 @@ MonoImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 157548
|
||||
packageName: TriLib 2 - Model Loading Package
|
||||
packageVersion: 2.5.5
|
||||
assetPath: Assets/Editor/TriLibCore/Scripts/TriLibVersionInfo.cs
|
||||
uploadId: 752923
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
using System.IO;
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Text.RegularExpressions;
|
||||
using UnityEditor;
|
||||
using UnityEngine;
|
||||
using UnityEngine.Windows;
|
||||
|
||||
namespace TriLibCore.Editor
|
||||
{
|
||||
@@ -8,8 +11,6 @@ namespace TriLibCore.Editor
|
||||
{
|
||||
private class Styles
|
||||
{
|
||||
public const float WindowWidth = 0.75f;
|
||||
public const float WindowHeight = 0.5f;
|
||||
public static readonly GUIStyle HeaderStyle = new GUIStyle("label") { fontSize = 19, fontStyle = FontStyle.Bold, margin = new RectOffset(10, 10, 5, 5) };
|
||||
public static readonly GUIStyle SubHeaderStyle = new GUIStyle("label") { margin = new RectOffset(10, 10, 5, 5), fontStyle = FontStyle.Bold };
|
||||
public static readonly GUIStyle TextStyle = new GUIStyle("label") { margin = new RectOffset(20, 20, 5, 5) };
|
||||
@@ -19,8 +20,12 @@ namespace TriLibCore.Editor
|
||||
|
||||
private string _text;
|
||||
private bool _loaded;
|
||||
private Vector2 _changeLogScrollPosition;
|
||||
private Vector2 _notesScrollPosition;
|
||||
private Vector2 _scrollPosition;
|
||||
|
||||
private static readonly string ChangelogPattern = @"(?<=Changelog:)(.*?)(?=(Version Notes:|$))";
|
||||
private static readonly string VersionNotesPattern = @"(?<=Version Notes:)(.*)";
|
||||
private static readonly string Pattern = @"(https?://[^\s]+)";
|
||||
private static readonly Regex URIRegex = new Regex(@"^https?://");
|
||||
|
||||
private static TriLibVersionNotes Instance
|
||||
{
|
||||
@@ -28,7 +33,6 @@ namespace TriLibCore.Editor
|
||||
{
|
||||
var window = GetWindow<TriLibVersionNotes>();
|
||||
window.titleContent = new GUIContent("TriLib Version Notes");
|
||||
window.minSize = new Vector2(Styles.WindowWidth * Screen.width, Styles.WindowHeight * Screen.height);
|
||||
return window;
|
||||
}
|
||||
}
|
||||
@@ -72,61 +76,46 @@ namespace TriLibCore.Editor
|
||||
}
|
||||
_loaded = true;
|
||||
}
|
||||
EditorGUILayout.BeginVertical();
|
||||
using (var stringReader = new StringReader(_text))
|
||||
_scrollPosition = EditorGUILayout.BeginScrollView(_scrollPosition);
|
||||
var changelogMatch = Regex.Match(_text, ChangelogPattern, RegexOptions.Singleline);
|
||||
var changelogSection = changelogMatch.Success ? changelogMatch.Value.Trim() : "No changelog found";
|
||||
var versionNotesMatch = Regex.Match(_text, VersionNotesPattern, RegexOptions.Singleline);
|
||||
var versionNotesSection = versionNotesMatch.Success ? versionNotesMatch.Value.Trim() : "No version notes found";
|
||||
GUILayout.Label("Version Notes", Styles.SubHeaderStyle);
|
||||
var groups = Regex.Split(versionNotesSection, Pattern);
|
||||
foreach (var group in groups)
|
||||
{
|
||||
var changeLogOpen = false;
|
||||
var version = stringReader.ReadLine();
|
||||
GUILayout.Label($"TriLib {version}", Styles.HeaderStyle);
|
||||
for (; ; )
|
||||
if (!string.IsNullOrEmpty(group))
|
||||
{
|
||||
var line = stringReader.ReadLine();
|
||||
if (line == null)
|
||||
if (URIRegex.IsMatch(group))
|
||||
{
|
||||
break;
|
||||
}
|
||||
if (line.ToLowerInvariant() == "changelog:")
|
||||
{
|
||||
EditorGUILayout.Space();
|
||||
GUILayout.Label("Changelog", Styles.SubHeaderStyle);
|
||||
_changeLogScrollPosition = GUILayout.BeginScrollView(_changeLogScrollPosition, GUILayout.Height(260f));
|
||||
changeLogOpen = true;
|
||||
}
|
||||
else if (line.ToLowerInvariant() == "version notes:")
|
||||
{
|
||||
if (changeLogOpen)
|
||||
GUILayout.BeginHorizontal();
|
||||
GUILayout.Space(20);
|
||||
if (EditorGUILayout.LinkButton(group))
|
||||
{
|
||||
GUILayout.EndScrollView();
|
||||
changeLogOpen = false;
|
||||
Application.OpenURL(group);
|
||||
}
|
||||
EditorGUILayout.Space();
|
||||
GUILayout.Label("Version Notes", Styles.SubHeaderStyle);
|
||||
var versionInfo = stringReader.ReadToEnd();
|
||||
_notesScrollPosition = EditorGUILayout.BeginScrollView(_notesScrollPosition);
|
||||
EditorGUILayout.TextArea(versionInfo, Styles.TextAreaStyle);
|
||||
EditorGUILayout.EndScrollView();
|
||||
break;
|
||||
GUILayout.EndHorizontal();
|
||||
}
|
||||
else
|
||||
{
|
||||
GUILayout.Label(line, Styles.TextStyle);
|
||||
EditorGUILayout.TextArea(group, Styles.TextAreaStyle);
|
||||
}
|
||||
}
|
||||
if (changeLogOpen)
|
||||
{
|
||||
GUILayout.EndScrollView();
|
||||
}
|
||||
EditorGUILayout.EndVertical();
|
||||
EditorGUILayout.Space();
|
||||
GUILayout.Label("You can show this window on the Project Settings/TriLib area", Styles.SubHeaderStyle);
|
||||
EditorGUILayout.BeginHorizontal();
|
||||
GUILayout.FlexibleSpace();
|
||||
if (GUILayout.Button("Close", Styles.ButtonStyle))
|
||||
{
|
||||
Close();
|
||||
}
|
||||
EditorGUILayout.EndHorizontal();
|
||||
}
|
||||
EditorGUILayout.Space();
|
||||
GUILayout.Label("Changelog", Styles.SubHeaderStyle);
|
||||
EditorGUILayout.TextArea(changelogSection, Styles.TextAreaStyle);
|
||||
EditorGUILayout.EndScrollView();
|
||||
EditorGUILayout.Space();
|
||||
GUILayout.Label("You can show this window on the Project Settings/TriLib area", Styles.SubHeaderStyle);
|
||||
EditorGUILayout.BeginHorizontal();
|
||||
GUILayout.FlexibleSpace();
|
||||
if (GUILayout.Button("Close", Styles.ButtonStyle))
|
||||
{
|
||||
Close();
|
||||
}
|
||||
EditorGUILayout.EndHorizontal();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -9,3 +9,10 @@ MonoImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 157548
|
||||
packageName: TriLib 2 - Model Loading Package
|
||||
packageVersion: 2.5.5
|
||||
assetPath: Assets/Editor/TriLibCore/Scripts/TriLibVersionNotes.cs
|
||||
uploadId: 752923
|
||||
|
||||
45
Assets/Editor/WI/ResourcesFileSizeExporter.cs
Normal file
@@ -0,0 +1,45 @@
|
||||
using UnityEditor;
|
||||
using UnityEngine;
|
||||
using System.IO;
|
||||
using System.Collections.Generic;
|
||||
using Newtonsoft.Json;
|
||||
using Studio.Manage;
|
||||
|
||||
public class ResourcesFileSizeExporter
|
||||
{
|
||||
[MenuItem("Tools/Export Resources File Sizes to JSON")]
|
||||
public static void ExportFileSizes()
|
||||
{
|
||||
string resourcesPath = Application.dataPath + "/Resources";
|
||||
var sampleAssetPaths = Application.dataPath + "/Resources/Sample";
|
||||
var fileSizeListWrapper = new FileSizeListWrapper();
|
||||
if (!Directory.Exists(sampleAssetPaths))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
Dictionary<string, long> fileSizes = new Dictionary<string, long>();
|
||||
|
||||
string[] files = Directory.GetFiles(sampleAssetPaths, "*.prefab", SearchOption.AllDirectories);
|
||||
foreach (string filePath in files)
|
||||
{
|
||||
var fileEntry = new FileSizeEntry();
|
||||
|
||||
long fileByteSize = new FileInfo(filePath).Length;
|
||||
string fileName = Path.GetFileNameWithoutExtension(filePath);
|
||||
|
||||
fileEntry.name = fileName;
|
||||
fileEntry.size = fileByteSize;
|
||||
|
||||
fileSizeListWrapper.files.Add(fileEntry);
|
||||
}
|
||||
|
||||
string json = JsonConvert.SerializeObject(fileSizeListWrapper);
|
||||
|
||||
string outputPath = Path.Combine(resourcesPath, "FileSizes.json");
|
||||
File.WriteAllText(outputPath, json);
|
||||
|
||||
Debug.Log($"파일 이름/크기 정보가 저장되었습니다: {outputPath}");
|
||||
AssetDatabase.Refresh();
|
||||
}
|
||||
}
|
||||
2
Assets/Editor/WI/ResourcesFileSizeExporter.cs.meta
Normal file
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 5f5ead7d05f396848bdd5d3a16b3587f
|
||||
BIN
Assets/Image/AssetManager/Header.png
Normal file
|
After Width: | Height: | Size: 2.6 KiB |
143
Assets/Image/AssetManager/Header.png.meta
Normal file
@@ -0,0 +1,143 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 8e37d29fe98f60e4da71e03c86d7f5e7
|
||||
TextureImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 13
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 0
|
||||
sRGBTexture: 1
|
||||
linearTexture: 0
|
||||
fadeOut: 0
|
||||
borderMipMap: 0
|
||||
mipMapsPreserveCoverage: 0
|
||||
alphaTestReferenceValue: 0.5
|
||||
mipMapFadeDistanceStart: 1
|
||||
mipMapFadeDistanceEnd: 3
|
||||
bumpmap:
|
||||
convertToNormalMap: 0
|
||||
externalNormalMap: 0
|
||||
heightScale: 0.25
|
||||
normalMapFilter: 0
|
||||
flipGreenChannel: 0
|
||||
isReadable: 0
|
||||
streamingMipmaps: 0
|
||||
streamingMipmapsPriority: 0
|
||||
vTOnly: 0
|
||||
ignoreMipmapLimit: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
seamlessCubemap: 0
|
||||
textureFormat: 1
|
||||
maxTextureSize: 2048
|
||||
textureSettings:
|
||||
serializedVersion: 2
|
||||
filterMode: 1
|
||||
aniso: 1
|
||||
mipBias: 0
|
||||
wrapU: 1
|
||||
wrapV: 1
|
||||
wrapW: 0
|
||||
nPOTScale: 0
|
||||
lightmap: 0
|
||||
compressionQuality: 50
|
||||
spriteMode: 1
|
||||
spriteExtrude: 1
|
||||
spriteMeshType: 1
|
||||
alignment: 0
|
||||
spritePivot: {x: 0.5, y: 0.5}
|
||||
spritePixelsToUnits: 100
|
||||
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||
spriteGenerateFallbackPhysicsShape: 1
|
||||
alphaUsage: 1
|
||||
alphaIsTransparency: 1
|
||||
spriteTessellationDetail: -1
|
||||
textureType: 8
|
||||
textureShape: 1
|
||||
singleChannelComponent: 0
|
||||
flipbookRows: 1
|
||||
flipbookColumns: 1
|
||||
maxTextureSizeSet: 0
|
||||
compressionQualitySet: 0
|
||||
textureFormatSet: 0
|
||||
ignorePngGamma: 0
|
||||
applyGammaDecoding: 0
|
||||
swizzle: 50462976
|
||||
cookieLightType: 0
|
||||
platformSettings:
|
||||
- serializedVersion: 4
|
||||
buildTarget: DefaultTexturePlatform
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 4
|
||||
buildTarget: Standalone
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 4
|
||||
buildTarget: Android
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 4
|
||||
buildTarget: WebGL
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
spriteSheet:
|
||||
serializedVersion: 2
|
||||
sprites: []
|
||||
outline: []
|
||||
customData:
|
||||
physicsShape: []
|
||||
bones: []
|
||||
spriteID: 5e97eb03825dee720800000000000000
|
||||
internalID: 0
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
secondaryTextures: []
|
||||
spriteCustomMetadata:
|
||||
entries: []
|
||||
nameFileIdTable: {}
|
||||
mipmapLimitGroupName:
|
||||
pSDRemoveMatte: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
BIN
Assets/Image/AssetManager/IMG_Expand.png
Normal file
|
After Width: | Height: | Size: 879 B |
117
Assets/Image/AssetManager/IMG_Expand.png.meta
Normal file
@@ -0,0 +1,117 @@
|
||||
fileFormatVersion: 2
|
||||
guid: d7e293787c7fd5241a49ea9d28ddee55
|
||||
TextureImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 13
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 0
|
||||
sRGBTexture: 1
|
||||
linearTexture: 0
|
||||
fadeOut: 0
|
||||
borderMipMap: 0
|
||||
mipMapsPreserveCoverage: 0
|
||||
alphaTestReferenceValue: 0.5
|
||||
mipMapFadeDistanceStart: 1
|
||||
mipMapFadeDistanceEnd: 3
|
||||
bumpmap:
|
||||
convertToNormalMap: 0
|
||||
externalNormalMap: 0
|
||||
heightScale: 0.25
|
||||
normalMapFilter: 0
|
||||
flipGreenChannel: 0
|
||||
isReadable: 0
|
||||
streamingMipmaps: 0
|
||||
streamingMipmapsPriority: 0
|
||||
vTOnly: 0
|
||||
ignoreMipmapLimit: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
seamlessCubemap: 0
|
||||
textureFormat: 1
|
||||
maxTextureSize: 2048
|
||||
textureSettings:
|
||||
serializedVersion: 2
|
||||
filterMode: 1
|
||||
aniso: 1
|
||||
mipBias: 0
|
||||
wrapU: 1
|
||||
wrapV: 1
|
||||
wrapW: 0
|
||||
nPOTScale: 0
|
||||
lightmap: 0
|
||||
compressionQuality: 50
|
||||
spriteMode: 1
|
||||
spriteExtrude: 1
|
||||
spriteMeshType: 1
|
||||
alignment: 0
|
||||
spritePivot: {x: 0.5, y: 0.5}
|
||||
spritePixelsToUnits: 100
|
||||
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||
spriteGenerateFallbackPhysicsShape: 1
|
||||
alphaUsage: 1
|
||||
alphaIsTransparency: 1
|
||||
spriteTessellationDetail: -1
|
||||
textureType: 8
|
||||
textureShape: 1
|
||||
singleChannelComponent: 0
|
||||
flipbookRows: 1
|
||||
flipbookColumns: 1
|
||||
maxTextureSizeSet: 0
|
||||
compressionQualitySet: 0
|
||||
textureFormatSet: 0
|
||||
ignorePngGamma: 0
|
||||
applyGammaDecoding: 0
|
||||
swizzle: 50462976
|
||||
cookieLightType: 0
|
||||
platformSettings:
|
||||
- serializedVersion: 4
|
||||
buildTarget: DefaultTexturePlatform
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 4
|
||||
buildTarget: Standalone
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
spriteSheet:
|
||||
serializedVersion: 2
|
||||
sprites: []
|
||||
outline: []
|
||||
customData:
|
||||
physicsShape: []
|
||||
bones: []
|
||||
spriteID: 5e97eb03825dee720800000000000000
|
||||
internalID: 0
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
secondaryTextures: []
|
||||
spriteCustomMetadata:
|
||||
entries: []
|
||||
nameFileIdTable: {}
|
||||
mipmapLimitGroupName:
|
||||
pSDRemoveMatte: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
BIN
Assets/Image/AssetManager/IMG_Fold.png
Normal file
|
After Width: | Height: | Size: 922 B |
117
Assets/Image/AssetManager/IMG_Fold.png.meta
Normal file
@@ -0,0 +1,117 @@
|
||||
fileFormatVersion: 2
|
||||
guid: fe7dcc3af6509a74cbb1eec04d1e61ba
|
||||
TextureImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 13
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 0
|
||||
sRGBTexture: 1
|
||||
linearTexture: 0
|
||||
fadeOut: 0
|
||||
borderMipMap: 0
|
||||
mipMapsPreserveCoverage: 0
|
||||
alphaTestReferenceValue: 0.5
|
||||
mipMapFadeDistanceStart: 1
|
||||
mipMapFadeDistanceEnd: 3
|
||||
bumpmap:
|
||||
convertToNormalMap: 0
|
||||
externalNormalMap: 0
|
||||
heightScale: 0.25
|
||||
normalMapFilter: 0
|
||||
flipGreenChannel: 0
|
||||
isReadable: 0
|
||||
streamingMipmaps: 0
|
||||
streamingMipmapsPriority: 0
|
||||
vTOnly: 0
|
||||
ignoreMipmapLimit: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
seamlessCubemap: 0
|
||||
textureFormat: 1
|
||||
maxTextureSize: 2048
|
||||
textureSettings:
|
||||
serializedVersion: 2
|
||||
filterMode: 1
|
||||
aniso: 1
|
||||
mipBias: 0
|
||||
wrapU: 1
|
||||
wrapV: 1
|
||||
wrapW: 0
|
||||
nPOTScale: 0
|
||||
lightmap: 0
|
||||
compressionQuality: 50
|
||||
spriteMode: 1
|
||||
spriteExtrude: 1
|
||||
spriteMeshType: 1
|
||||
alignment: 0
|
||||
spritePivot: {x: 0.5, y: 0.5}
|
||||
spritePixelsToUnits: 100
|
||||
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||
spriteGenerateFallbackPhysicsShape: 1
|
||||
alphaUsage: 1
|
||||
alphaIsTransparency: 1
|
||||
spriteTessellationDetail: -1
|
||||
textureType: 8
|
||||
textureShape: 1
|
||||
singleChannelComponent: 0
|
||||
flipbookRows: 1
|
||||
flipbookColumns: 1
|
||||
maxTextureSizeSet: 0
|
||||
compressionQualitySet: 0
|
||||
textureFormatSet: 0
|
||||
ignorePngGamma: 0
|
||||
applyGammaDecoding: 0
|
||||
swizzle: 50462976
|
||||
cookieLightType: 0
|
||||
platformSettings:
|
||||
- serializedVersion: 4
|
||||
buildTarget: DefaultTexturePlatform
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 4
|
||||
buildTarget: Standalone
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
spriteSheet:
|
||||
serializedVersion: 2
|
||||
sprites: []
|
||||
outline: []
|
||||
customData:
|
||||
physicsShape: []
|
||||
bones: []
|
||||
spriteID: 5e97eb03825dee720800000000000000
|
||||
internalID: 0
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
secondaryTextures: []
|
||||
spriteCustomMetadata:
|
||||
entries: []
|
||||
nameFileIdTable: {}
|
||||
mipmapLimitGroupName:
|
||||
pSDRemoveMatte: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
|
Before Width: | Height: | Size: 312 KiB After Width: | Height: | Size: 27 KiB |
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 3797cfc33764831419bbd1d5616fbfe3
|
||||
guid: b3cbdc9e38ae3da4e8b6701e7e934ddb
|
||||
TextureImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
@@ -39,7 +39,7 @@ TextureImporter:
|
||||
mipBias: 0
|
||||
wrapU: 1
|
||||
wrapV: 1
|
||||
wrapW: 0
|
||||
wrapW: 1
|
||||
nPOTScale: 0
|
||||
lightmap: 0
|
||||
compressionQuality: 50
|
||||
@@ -49,7 +49,7 @@ TextureImporter:
|
||||
alignment: 0
|
||||
spritePivot: {x: 0.5, y: 0.5}
|
||||
spritePixelsToUnits: 100
|
||||
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||
spriteBorder: {x: 35, y: 35, z: 35, w: 35}
|
||||
spriteGenerateFallbackPhysicsShape: 1
|
||||
alphaUsage: 1
|
||||
alphaIsTransparency: 1
|
||||
@@ -101,7 +101,7 @@ TextureImporter:
|
||||
physicsShape: []
|
||||
bones: []
|
||||
spriteID: 5e97eb03825dee720800000000000000
|
||||
internalID: 0
|
||||
internalID: 1537655665
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
|
||||
BIN
Assets/Image/DesignGuide/DG_AssetHierarchy.png
Normal file
|
After Width: | Height: | Size: 351 KiB |
117
Assets/Image/DesignGuide/DG_AssetHierarchy.png.meta
Normal file
@@ -0,0 +1,117 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 9f78990e0d2ada041b0c01f173a7d4f0
|
||||
TextureImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 13
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 0
|
||||
sRGBTexture: 1
|
||||
linearTexture: 0
|
||||
fadeOut: 0
|
||||
borderMipMap: 0
|
||||
mipMapsPreserveCoverage: 0
|
||||
alphaTestReferenceValue: 0.5
|
||||
mipMapFadeDistanceStart: 1
|
||||
mipMapFadeDistanceEnd: 3
|
||||
bumpmap:
|
||||
convertToNormalMap: 0
|
||||
externalNormalMap: 0
|
||||
heightScale: 0.25
|
||||
normalMapFilter: 0
|
||||
flipGreenChannel: 0
|
||||
isReadable: 0
|
||||
streamingMipmaps: 0
|
||||
streamingMipmapsPriority: 0
|
||||
vTOnly: 0
|
||||
ignoreMipmapLimit: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
seamlessCubemap: 0
|
||||
textureFormat: 1
|
||||
maxTextureSize: 2048
|
||||
textureSettings:
|
||||
serializedVersion: 2
|
||||
filterMode: 1
|
||||
aniso: 1
|
||||
mipBias: 0
|
||||
wrapU: 1
|
||||
wrapV: 1
|
||||
wrapW: 0
|
||||
nPOTScale: 0
|
||||
lightmap: 0
|
||||
compressionQuality: 50
|
||||
spriteMode: 1
|
||||
spriteExtrude: 1
|
||||
spriteMeshType: 1
|
||||
alignment: 0
|
||||
spritePivot: {x: 0.5, y: 0.5}
|
||||
spritePixelsToUnits: 100
|
||||
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||
spriteGenerateFallbackPhysicsShape: 1
|
||||
alphaUsage: 1
|
||||
alphaIsTransparency: 1
|
||||
spriteTessellationDetail: -1
|
||||
textureType: 8
|
||||
textureShape: 1
|
||||
singleChannelComponent: 0
|
||||
flipbookRows: 1
|
||||
flipbookColumns: 1
|
||||
maxTextureSizeSet: 0
|
||||
compressionQualitySet: 0
|
||||
textureFormatSet: 0
|
||||
ignorePngGamma: 0
|
||||
applyGammaDecoding: 0
|
||||
swizzle: 50462976
|
||||
cookieLightType: 0
|
||||
platformSettings:
|
||||
- serializedVersion: 4
|
||||
buildTarget: DefaultTexturePlatform
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 4
|
||||
buildTarget: Standalone
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
spriteSheet:
|
||||
serializedVersion: 2
|
||||
sprites: []
|
||||
outline: []
|
||||
customData:
|
||||
physicsShape: []
|
||||
bones: []
|
||||
spriteID: 5e97eb03825dee720800000000000000
|
||||
internalID: 0
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
secondaryTextures: []
|
||||
spriteCustomMetadata:
|
||||
entries: []
|
||||
nameFileIdTable: {}
|
||||
mipmapLimitGroupName:
|
||||
pSDRemoveMatte: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
BIN
Assets/Image/DesignGuide/DG_ExitChecker.png
Normal file
|
After Width: | Height: | Size: 265 KiB |
117
Assets/Image/DesignGuide/DG_ExitChecker.png.meta
Normal file
@@ -0,0 +1,117 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 8ad8d41189c5bf9428c9103095dadcaa
|
||||
TextureImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 13
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 0
|
||||
sRGBTexture: 1
|
||||
linearTexture: 0
|
||||
fadeOut: 0
|
||||
borderMipMap: 0
|
||||
mipMapsPreserveCoverage: 0
|
||||
alphaTestReferenceValue: 0.5
|
||||
mipMapFadeDistanceStart: 1
|
||||
mipMapFadeDistanceEnd: 3
|
||||
bumpmap:
|
||||
convertToNormalMap: 0
|
||||
externalNormalMap: 0
|
||||
heightScale: 0.25
|
||||
normalMapFilter: 0
|
||||
flipGreenChannel: 0
|
||||
isReadable: 0
|
||||
streamingMipmaps: 0
|
||||
streamingMipmapsPriority: 0
|
||||
vTOnly: 0
|
||||
ignoreMipmapLimit: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
seamlessCubemap: 0
|
||||
textureFormat: 1
|
||||
maxTextureSize: 2048
|
||||
textureSettings:
|
||||
serializedVersion: 2
|
||||
filterMode: 1
|
||||
aniso: 1
|
||||
mipBias: 0
|
||||
wrapU: 1
|
||||
wrapV: 1
|
||||
wrapW: 0
|
||||
nPOTScale: 0
|
||||
lightmap: 0
|
||||
compressionQuality: 50
|
||||
spriteMode: 1
|
||||
spriteExtrude: 1
|
||||
spriteMeshType: 1
|
||||
alignment: 0
|
||||
spritePivot: {x: 0.5, y: 0.5}
|
||||
spritePixelsToUnits: 100
|
||||
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||
spriteGenerateFallbackPhysicsShape: 1
|
||||
alphaUsage: 1
|
||||
alphaIsTransparency: 1
|
||||
spriteTessellationDetail: -1
|
||||
textureType: 8
|
||||
textureShape: 1
|
||||
singleChannelComponent: 0
|
||||
flipbookRows: 1
|
||||
flipbookColumns: 1
|
||||
maxTextureSizeSet: 0
|
||||
compressionQualitySet: 0
|
||||
textureFormatSet: 0
|
||||
ignorePngGamma: 0
|
||||
applyGammaDecoding: 0
|
||||
swizzle: 50462976
|
||||
cookieLightType: 0
|
||||
platformSettings:
|
||||
- serializedVersion: 4
|
||||
buildTarget: DefaultTexturePlatform
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 4
|
||||
buildTarget: Standalone
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
spriteSheet:
|
||||
serializedVersion: 2
|
||||
sprites: []
|
||||
outline: []
|
||||
customData:
|
||||
physicsShape: []
|
||||
bones: []
|
||||
spriteID: 5e97eb03825dee720800000000000000
|
||||
internalID: 0
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
secondaryTextures: []
|
||||
spriteCustomMetadata:
|
||||
entries: []
|
||||
nameFileIdTable: {}
|
||||
mipmapLimitGroupName:
|
||||
pSDRemoveMatte: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -49,7 +49,7 @@ TextureImporter:
|
||||
alignment: 0
|
||||
spritePivot: {x: 0.5, y: 0.5}
|
||||
spritePixelsToUnits: 100
|
||||
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||
spriteBorder: {x: 16, y: 16, z: 16, w: 16}
|
||||
spriteGenerateFallbackPhysicsShape: 1
|
||||
alphaUsage: 1
|
||||
alphaIsTransparency: 1
|
||||
@@ -127,7 +127,7 @@ TextureImporter:
|
||||
physicsShape: []
|
||||
bones: []
|
||||
spriteID: 5e97eb03825dee720800000000000000
|
||||
internalID: 0
|
||||
internalID: 1537655665
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
|
||||
74
Assets/Localization/Command Shared Data.asset
Normal file
@@ -0,0 +1,74 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!114 &11400000
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 5b11a58205ec3474ca216360e9fa74a8, type: 3}
|
||||
m_Name: Command Shared Data
|
||||
m_EditorClassIdentifier:
|
||||
m_TableCollectionName: Command
|
||||
m_TableCollectionNameGuidString: b7e3230909563f049a2b6af27abfd127
|
||||
m_Entries:
|
||||
- m_Id: 60647641088
|
||||
m_Key: Move Gizmo
|
||||
m_Metadata:
|
||||
m_Items: []
|
||||
- m_Id: 267707846656
|
||||
m_Key: Rotate Gizmo
|
||||
m_Metadata:
|
||||
m_Items: []
|
||||
- m_Id: 362574614528
|
||||
m_Key: Scale Gizmo
|
||||
m_Metadata:
|
||||
m_Items: []
|
||||
- m_Id: 2904508764098560
|
||||
m_Key: Reset Gizmo
|
||||
m_Metadata:
|
||||
m_Items: []
|
||||
- m_Id: 2917846080393216
|
||||
m_Key: Copy Object
|
||||
m_Metadata:
|
||||
m_Items: []
|
||||
- m_Id: 2917920218910720
|
||||
m_Key: New Project
|
||||
m_Metadata:
|
||||
m_Items: []
|
||||
- m_Id: 2918019179319296
|
||||
m_Key: Open Project
|
||||
m_Metadata:
|
||||
m_Items: []
|
||||
- m_Id: 2918166198063104
|
||||
m_Key: 'Copy Object
|
||||
|
||||
'
|
||||
m_Metadata:
|
||||
m_Items: []
|
||||
- m_Id: 2925542997331968
|
||||
m_Key: Remove Object
|
||||
m_Metadata:
|
||||
m_Items: []
|
||||
- m_Id: 2925648920285184
|
||||
m_Key: Save Project
|
||||
m_Metadata:
|
||||
m_Items: []
|
||||
- m_Id: 2928491886645248
|
||||
m_Key: Exit Program
|
||||
m_Metadata:
|
||||
m_Items: []
|
||||
m_Metadata:
|
||||
m_Items: []
|
||||
m_KeyGenerator:
|
||||
rid: 8091366906044088603
|
||||
references:
|
||||
version: 2
|
||||
RefIds:
|
||||
- rid: 8091366906044088603
|
||||
type: {class: DistributedUIDGenerator, ns: UnityEngine.Localization.Tables, asm: Unity.Localization}
|
||||
data:
|
||||
m_CustomEpoch: 1750139113319
|
||||
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 3167acc57ed2a444aafec0cabecf8ebc
|
||||
guid: b7e3230909563f049a2b6af27abfd127
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 11400000
|
||||
23
Assets/Localization/Command.asset
Normal file
@@ -0,0 +1,23 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!114 &11400000
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 5be51871efa6c3e4eae1703925c8f5ac, type: 3}
|
||||
m_Name: Command
|
||||
m_EditorClassIdentifier:
|
||||
m_SharedTableData: {fileID: 11400000, guid: b7e3230909563f049a2b6af27abfd127, type: 2}
|
||||
m_Tables:
|
||||
- {fileID: 11400000, guid: 1955c6890fde8db43a0ef004936c7c11, type: 2}
|
||||
- {fileID: 11400000, guid: 74777a03b717f644492a404f64de1dc4, type: 2}
|
||||
m_Extensions: []
|
||||
m_Group: String Table
|
||||
references:
|
||||
version: 2
|
||||
RefIds: []
|
||||
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 444d697a0ed9e81408c9427fe62309b6
|
||||
guid: f1a101415eb4f2f4f8b1c92d797e7ab6
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 11400000
|
||||
67
Assets/Localization/Command_en.asset
Normal file
@@ -0,0 +1,67 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!114 &11400000
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: e9620f8c34305754d8cc9a7e49e852d9, type: 3}
|
||||
m_Name: Command_en
|
||||
m_EditorClassIdentifier:
|
||||
m_LocaleId:
|
||||
m_Code: en
|
||||
m_SharedData: {fileID: 11400000, guid: b7e3230909563f049a2b6af27abfd127, type: 2}
|
||||
m_Metadata:
|
||||
m_Items: []
|
||||
m_TableData:
|
||||
- m_Id: 60647641088
|
||||
m_Localized: Move Gizmo
|
||||
m_Metadata:
|
||||
m_Items: []
|
||||
- m_Id: 267707846656
|
||||
m_Localized: Rotate Gizmo
|
||||
m_Metadata:
|
||||
m_Items: []
|
||||
- m_Id: 362574614528
|
||||
m_Localized: Scale Gizmo
|
||||
m_Metadata:
|
||||
m_Items: []
|
||||
- m_Id: 2904508764098560
|
||||
m_Localized: Reset Gizmo
|
||||
m_Metadata:
|
||||
m_Items: []
|
||||
- m_Id: 2917846080393216
|
||||
m_Localized: Copy Object
|
||||
m_Metadata:
|
||||
m_Items: []
|
||||
- m_Id: 2917920218910720
|
||||
m_Localized: New Project
|
||||
m_Metadata:
|
||||
m_Items: []
|
||||
- m_Id: 2918019179319296
|
||||
m_Localized: Open Project
|
||||
m_Metadata:
|
||||
m_Items: []
|
||||
- m_Id: 2918166198063104
|
||||
m_Localized: Copy Object
|
||||
m_Metadata:
|
||||
m_Items: []
|
||||
- m_Id: 2925542997331968
|
||||
m_Localized: Remove Object
|
||||
m_Metadata:
|
||||
m_Items: []
|
||||
- m_Id: 2925648920285184
|
||||
m_Localized: Save Project
|
||||
m_Metadata:
|
||||
m_Items: []
|
||||
- m_Id: 2928491886645248
|
||||
m_Localized: Exit Program
|
||||
m_Metadata:
|
||||
m_Items: []
|
||||
references:
|
||||
version: 2
|
||||
RefIds: []
|
||||
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 2338d4a6010513b43983d77217bdb4e6
|
||||
guid: 1955c6890fde8db43a0ef004936c7c11
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 11400000
|
||||
67
Assets/Localization/Command_ko-KR.asset
Normal file
@@ -0,0 +1,67 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!114 &11400000
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: e9620f8c34305754d8cc9a7e49e852d9, type: 3}
|
||||
m_Name: Command_ko-KR
|
||||
m_EditorClassIdentifier:
|
||||
m_LocaleId:
|
||||
m_Code: ko-KR
|
||||
m_SharedData: {fileID: 11400000, guid: b7e3230909563f049a2b6af27abfd127, type: 2}
|
||||
m_Metadata:
|
||||
m_Items: []
|
||||
m_TableData:
|
||||
- m_Id: 60647641088
|
||||
m_Localized: "\uC774\uB3D9 \uAE30\uC9C0\uBAA8"
|
||||
m_Metadata:
|
||||
m_Items: []
|
||||
- m_Id: 267707846656
|
||||
m_Localized: "\uD68C\uC804 \uAE30\uC9C0\uBAA8"
|
||||
m_Metadata:
|
||||
m_Items: []
|
||||
- m_Id: 362574614528
|
||||
m_Localized: "\uC2A4\uCF00\uC77C \uAE30\uC9C0\uBAA8"
|
||||
m_Metadata:
|
||||
m_Items: []
|
||||
- m_Id: 2904508764098560
|
||||
m_Localized: "\uB9AC\uC14B \uAE30\uC9C0\uBAA8"
|
||||
m_Metadata:
|
||||
m_Items: []
|
||||
- m_Id: 2917846080393216
|
||||
m_Localized: "\uAC1D\uCCB4 \uBCF5\uC0AC"
|
||||
m_Metadata:
|
||||
m_Items: []
|
||||
- m_Id: 2917920218910720
|
||||
m_Localized: "\uC0C8 \uD504\uB85C\uC81D\uD2B8"
|
||||
m_Metadata:
|
||||
m_Items: []
|
||||
- m_Id: 2918019179319296
|
||||
m_Localized: "\uD504\uB85C\uC81D\uD2B8 \uC5F4\uAE30"
|
||||
m_Metadata:
|
||||
m_Items: []
|
||||
- m_Id: 2918166198063104
|
||||
m_Localized: "\uAC1D\uCCB4 \uBCF5\uC0AC"
|
||||
m_Metadata:
|
||||
m_Items: []
|
||||
- m_Id: 2925542997331968
|
||||
m_Localized: "\uAC1D\uCCB4 \uC0AD\uC81C"
|
||||
m_Metadata:
|
||||
m_Items: []
|
||||
- m_Id: 2925648920285184
|
||||
m_Localized: "\uD504\uB85C\uC81D\uD2B8 \uC800\uC7A5"
|
||||
m_Metadata:
|
||||
m_Items: []
|
||||
- m_Id: 2928491886645248
|
||||
m_Localized: "\uD504\uB85C\uADF8\uB7A8 \uC885\uB8CC"
|
||||
m_Metadata:
|
||||
m_Items: []
|
||||
references:
|
||||
version: 2
|
||||
RefIds: []
|
||||
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: d6f2dc1d9dc0c54489a86b9ae44540eb
|
||||
guid: 74777a03b717f644492a404f64de1dc4
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 11400000
|
||||
@@ -26,7 +26,7 @@ MonoBehaviour:
|
||||
m_Items: []
|
||||
m_ProjectLocaleIdentifier:
|
||||
m_Code: ko-KR
|
||||
m_PreloadBehavior: 1
|
||||
m_PreloadBehavior: 3
|
||||
m_InitializeSynchronously: 0
|
||||
references:
|
||||
version: 2
|
||||
|
||||
@@ -14,7 +14,7 @@ Material:
|
||||
m_ValidKeywords: []
|
||||
m_InvalidKeywords: []
|
||||
m_LightmapFlags: 4
|
||||
m_EnableInstancingVariants: 0
|
||||
m_EnableInstancingVariants: 1
|
||||
m_DoubleSidedGI: 0
|
||||
m_CustomRenderQueue: -1
|
||||
stringTagMap:
|
||||
@@ -117,8 +117,8 @@ Material:
|
||||
- _WorkflowMode: 1
|
||||
- _ZWrite: 1
|
||||
m_Colors:
|
||||
- _BaseColor: {r: 0, g: 0.06773424, b: 1, a: 1}
|
||||
- _Color: {r: 0, g: 0.06773424, b: 1, a: 1}
|
||||
- _BaseColor: {r: 0, g: 0.03459116, b: 0.5188679, a: 1}
|
||||
- _Color: {r: 0, g: 0.03459116, b: 0.5188679, a: 1}
|
||||
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
|
||||
- _SpecColor: {r: 0.2, g: 0.2, b: 0.2, a: 1}
|
||||
m_BuildTextureStacks: []
|
||||
|
||||
136
Assets/Materials/MAT_EXPORT_GOOGLE_SAT_WM.mat
Normal file
@@ -0,0 +1,136 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!21 &2100000
|
||||
Material:
|
||||
serializedVersion: 8
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_Name: MAT_EXPORT_GOOGLE_SAT_WM
|
||||
m_Shader: {fileID: 4800000, guid: 933532a4fcc9baf4fa0491de14d08ed7, type: 3}
|
||||
m_Parent: {fileID: 0}
|
||||
m_ModifiedSerializedProperties: 0
|
||||
m_ValidKeywords: []
|
||||
m_InvalidKeywords: []
|
||||
m_LightmapFlags: 4
|
||||
m_EnableInstancingVariants: 0
|
||||
m_DoubleSidedGI: 0
|
||||
m_CustomRenderQueue: -1
|
||||
stringTagMap:
|
||||
RenderType: Opaque
|
||||
disabledShaderPasses:
|
||||
- MOTIONVECTORS
|
||||
m_LockedProperties:
|
||||
m_SavedProperties:
|
||||
serializedVersion: 3
|
||||
m_TexEnvs:
|
||||
- _BaseMap:
|
||||
m_Texture: {fileID: 2800000, guid: f6caa9d652bf5624cb49307e95347ee5, type: 3}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _BumpMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _DetailAlbedoMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _DetailMask:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _DetailNormalMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _EmissionMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _MainTex:
|
||||
m_Texture: {fileID: 2800000, guid: f6caa9d652bf5624cb49307e95347ee5, type: 3}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _MetallicGlossMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _OcclusionMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _ParallaxMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _SpecGlossMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- unity_Lightmaps:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- unity_LightmapsInd:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- unity_ShadowMasks:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
m_Ints: []
|
||||
m_Floats:
|
||||
- _AddPrecomputedVelocity: 0
|
||||
- _AlphaClip: 0
|
||||
- _AlphaToMask: 0
|
||||
- _Blend: 0
|
||||
- _BlendModePreserveSpecular: 1
|
||||
- _BumpScale: 1
|
||||
- _ClearCoatMask: 0
|
||||
- _ClearCoatSmoothness: 0
|
||||
- _Cull: 2
|
||||
- _Cutoff: 0.5
|
||||
- _DetailAlbedoMapScale: 1
|
||||
- _DetailNormalMapScale: 1
|
||||
- _DstBlend: 0
|
||||
- _DstBlendAlpha: 0
|
||||
- _EnvironmentReflections: 1
|
||||
- _GlossMapScale: 0
|
||||
- _Glossiness: 0
|
||||
- _GlossyReflections: 0
|
||||
- _Metallic: 0
|
||||
- _OcclusionStrength: 1
|
||||
- _Parallax: 0.005
|
||||
- _QueueOffset: 0
|
||||
- _ReceiveShadows: 1
|
||||
- _Smoothness: 0.5
|
||||
- _SmoothnessTextureChannel: 0
|
||||
- _SpecularHighlights: 1
|
||||
- _SrcBlend: 1
|
||||
- _SrcBlendAlpha: 1
|
||||
- _Surface: 0
|
||||
- _WorkflowMode: 1
|
||||
- _ZWrite: 1
|
||||
m_Colors:
|
||||
- _BaseColor: {r: 1, g: 1, b: 1, a: 1}
|
||||
- _Color: {r: 1, g: 1, b: 1, a: 1}
|
||||
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
|
||||
- _SpecColor: {r: 0.2, g: 0.2, b: 0.2, a: 1}
|
||||
m_BuildTextureStacks: []
|
||||
m_AllowLocking: 1
|
||||
--- !u!114 &3596228910134539502
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 11
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
version: 9
|
||||
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 8249343de92967e49b38f758d8abf3a2
|
||||
guid: d36d19cbd60d4f74193208b4e6ac15b6
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 2100000
|
||||
136
Assets/Materials/MAT_Ground.mat
Normal file
@@ -0,0 +1,136 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!21 &2100000
|
||||
Material:
|
||||
serializedVersion: 8
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_Name: MAT_Ground
|
||||
m_Shader: {fileID: 4800000, guid: 933532a4fcc9baf4fa0491de14d08ed7, type: 3}
|
||||
m_Parent: {fileID: 0}
|
||||
m_ModifiedSerializedProperties: 0
|
||||
m_ValidKeywords: []
|
||||
m_InvalidKeywords: []
|
||||
m_LightmapFlags: 4
|
||||
m_EnableInstancingVariants: 0
|
||||
m_DoubleSidedGI: 0
|
||||
m_CustomRenderQueue: -1
|
||||
stringTagMap:
|
||||
RenderType: Opaque
|
||||
disabledShaderPasses:
|
||||
- MOTIONVECTORS
|
||||
m_LockedProperties:
|
||||
m_SavedProperties:
|
||||
serializedVersion: 3
|
||||
m_TexEnvs:
|
||||
- _BaseMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _BumpMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _DetailAlbedoMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _DetailMask:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _DetailNormalMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _EmissionMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _MainTex:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _MetallicGlossMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _OcclusionMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _ParallaxMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _SpecGlossMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- unity_Lightmaps:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- unity_LightmapsInd:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- unity_ShadowMasks:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
m_Ints: []
|
||||
m_Floats:
|
||||
- _AddPrecomputedVelocity: 0
|
||||
- _AlphaClip: 0
|
||||
- _AlphaToMask: 0
|
||||
- _Blend: 0
|
||||
- _BlendModePreserveSpecular: 1
|
||||
- _BumpScale: 1
|
||||
- _ClearCoatMask: 0
|
||||
- _ClearCoatSmoothness: 0
|
||||
- _Cull: 2
|
||||
- _Cutoff: 0.5
|
||||
- _DetailAlbedoMapScale: 1
|
||||
- _DetailNormalMapScale: 1
|
||||
- _DstBlend: 0
|
||||
- _DstBlendAlpha: 0
|
||||
- _EnvironmentReflections: 1
|
||||
- _GlossMapScale: 0
|
||||
- _Glossiness: 0
|
||||
- _GlossyReflections: 0
|
||||
- _Metallic: 0
|
||||
- _OcclusionStrength: 1
|
||||
- _Parallax: 0.005
|
||||
- _QueueOffset: 0
|
||||
- _ReceiveShadows: 1
|
||||
- _Smoothness: 0.5
|
||||
- _SmoothnessTextureChannel: 0
|
||||
- _SpecularHighlights: 1
|
||||
- _SrcBlend: 1
|
||||
- _SrcBlendAlpha: 1
|
||||
- _Surface: 0
|
||||
- _WorkflowMode: 1
|
||||
- _ZWrite: 1
|
||||
m_Colors:
|
||||
- _BaseColor: {r: 0.6226415, g: 0.5425418, b: 0.40236738, a: 1}
|
||||
- _Color: {r: 0.6226415, g: 0.5425418, b: 0.40236738, a: 1}
|
||||
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
|
||||
- _SpecColor: {r: 0.2, g: 0.2, b: 0.2, a: 1}
|
||||
m_BuildTextureStacks: []
|
||||
m_AllowLocking: 1
|
||||
--- !u!114 &3596228910134539502
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 11
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
version: 9
|
||||
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 9c2509866b4bc374f9eb50d34f8a51da
|
||||
guid: 912710e80040a694090d67dbd5302514
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 2100000
|
||||
@@ -25,12 +25,15 @@ Material:
|
||||
m_Parent: {fileID: 0}
|
||||
m_ModifiedSerializedProperties: 0
|
||||
m_ValidKeywords:
|
||||
- _ENVIRONMENTREFLECTIONS_OFF
|
||||
- _RECEIVE_SHADOWS_OFF
|
||||
- _SPECULARHIGHLIGHTS_OFF
|
||||
- _SPECULAR_SETUP
|
||||
m_InvalidKeywords: []
|
||||
m_LightmapFlags: 4
|
||||
m_EnableInstancingVariants: 0
|
||||
m_DoubleSidedGI: 0
|
||||
m_CustomRenderQueue: 2000
|
||||
m_CustomRenderQueue: -1
|
||||
stringTagMap:
|
||||
RenderType: Opaque
|
||||
disabledShaderPasses:
|
||||
@@ -102,6 +105,7 @@ Material:
|
||||
- _AlphaToMask: 0
|
||||
- _Blend: 0
|
||||
- _BlendModePreserveSpecular: 1
|
||||
- _BlendOp: 0
|
||||
- _BumpScale: 1
|
||||
- _ClearCoatMask: 0
|
||||
- _ClearCoatSmoothness: 0
|
||||
@@ -111,7 +115,7 @@ Material:
|
||||
- _DetailNormalMapScale: 1
|
||||
- _DstBlend: 0
|
||||
- _DstBlendAlpha: 0
|
||||
- _EnvironmentReflections: 1
|
||||
- _EnvironmentReflections: 0
|
||||
- _GlossMapScale: 0
|
||||
- _Glossiness: 0
|
||||
- _GlossyReflections: 0
|
||||
@@ -120,18 +124,19 @@ Material:
|
||||
- _Parallax: 0.005
|
||||
- _QueueOffset: 0
|
||||
- _ReceiveShadows: 0
|
||||
- _Smoothness: 0
|
||||
- _SampleGI: 0
|
||||
- _Smoothness: 1
|
||||
- _SmoothnessTextureChannel: 0
|
||||
- _SpecularHighlights: 1
|
||||
- _SpecularHighlights: 0
|
||||
- _SrcBlend: 1
|
||||
- _SrcBlendAlpha: 1
|
||||
- _Surface: 0
|
||||
- _WorkflowMode: 1
|
||||
- _WorkflowMode: 0
|
||||
- _ZWrite: 1
|
||||
m_Colors:
|
||||
- _BaseColor: {r: 1, g: 1, b: 1, a: 1}
|
||||
- _Color: {r: 1, g: 1, b: 1, a: 1}
|
||||
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
|
||||
- _BaseColor: {r: 0.254717, g: 0.254717, b: 0.254717, a: 1}
|
||||
- _Color: {r: 0.254717, g: 0.254717, b: 0.254717, a: 1}
|
||||
- _EmissionColor: {r: 0.24708433, g: 0.24708433, b: 0.24708433, a: 1}
|
||||
- _SpecColor: {r: 0.2, g: 0.2, b: 0.2, a: 1}
|
||||
m_BuildTextureStacks: []
|
||||
m_AllowLocking: 1
|
||||
|
||||
|
After Width: | Height: | Size: 3.4 MiB |
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: a797c8e65626c054d8e73b43e5a7cc7a
|
||||
guid: 69b8eaa62d3929a4990736f5ddf218a4
|
||||
TextureImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
|
After Width: | Height: | Size: 4.2 MiB |
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 03f9e86a737b5cf4c90e5472c6a13443
|
||||
guid: b88c5ef5da8fb0f449f469e3e48c2ace
|
||||
TextureImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
BIN
Assets/Models/Sample/AGV.fbm/AGV_250529_AGV_Normal.png
Normal file
|
After Width: | Height: | Size: 2.8 MiB |
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 0c4a1917862b7bb43beb0bdba4ca4c19
|
||||
guid: be2b4328e28bcf54fa5fa0b78efe1cf2
|
||||
TextureImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
BIN
Assets/Models/Sample/AGV.fbm/AGV_250529_AO.png
Normal file
|
After Width: | Height: | Size: 1.5 MiB |
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 653f76f5520ddbb49bfa8b732c05467b
|
||||
guid: f501443b48ff9ba4391bda52bac10a85
|
||||
TextureImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
|
Before Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 3.1 MiB |
|
Before Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 1.3 MiB |
|
Before Width: | Height: | Size: 2.8 MiB |
|
Before Width: | Height: | Size: 3.1 MiB |
@@ -1,117 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 7477d866d2d1bfa4faf7833f1a5186ca
|
||||
TextureImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 13
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 1
|
||||
sRGBTexture: 1
|
||||
linearTexture: 0
|
||||
fadeOut: 0
|
||||
borderMipMap: 0
|
||||
mipMapsPreserveCoverage: 0
|
||||
alphaTestReferenceValue: 0.5
|
||||
mipMapFadeDistanceStart: 1
|
||||
mipMapFadeDistanceEnd: 3
|
||||
bumpmap:
|
||||
convertToNormalMap: 0
|
||||
externalNormalMap: 0
|
||||
heightScale: 0.25
|
||||
normalMapFilter: 0
|
||||
flipGreenChannel: 0
|
||||
isReadable: 0
|
||||
streamingMipmaps: 0
|
||||
streamingMipmapsPriority: 0
|
||||
vTOnly: 0
|
||||
ignoreMipmapLimit: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
seamlessCubemap: 0
|
||||
textureFormat: 1
|
||||
maxTextureSize: 2048
|
||||
textureSettings:
|
||||
serializedVersion: 2
|
||||
filterMode: 1
|
||||
aniso: 1
|
||||
mipBias: 0
|
||||
wrapU: 0
|
||||
wrapV: 0
|
||||
wrapW: 0
|
||||
nPOTScale: 1
|
||||
lightmap: 0
|
||||
compressionQuality: 50
|
||||
spriteMode: 0
|
||||
spriteExtrude: 1
|
||||
spriteMeshType: 1
|
||||
alignment: 0
|
||||
spritePivot: {x: 0.5, y: 0.5}
|
||||
spritePixelsToUnits: 100
|
||||
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||
spriteGenerateFallbackPhysicsShape: 1
|
||||
alphaUsage: 1
|
||||
alphaIsTransparency: 0
|
||||
spriteTessellationDetail: -1
|
||||
textureType: 0
|
||||
textureShape: 1
|
||||
singleChannelComponent: 0
|
||||
flipbookRows: 1
|
||||
flipbookColumns: 1
|
||||
maxTextureSizeSet: 0
|
||||
compressionQualitySet: 0
|
||||
textureFormatSet: 0
|
||||
ignorePngGamma: 0
|
||||
applyGammaDecoding: 0
|
||||
swizzle: 50462976
|
||||
cookieLightType: 0
|
||||
platformSettings:
|
||||
- serializedVersion: 4
|
||||
buildTarget: DefaultTexturePlatform
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 4
|
||||
buildTarget: Standalone
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
spriteSheet:
|
||||
serializedVersion: 2
|
||||
sprites: []
|
||||
outline: []
|
||||
customData:
|
||||
physicsShape: []
|
||||
bones: []
|
||||
spriteID:
|
||||
internalID: 0
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
secondaryTextures: []
|
||||
spriteCustomMetadata:
|
||||
entries: []
|
||||
nameFileIdTable: {}
|
||||
mipmapLimitGroupName:
|
||||
pSDRemoveMatte: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
63
Assets/Models/Sample/AGV.fbm/New Lighting Settings.lighting
Normal file
@@ -0,0 +1,63 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!850595691 &4890085278179872738
|
||||
LightingSettings:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_Name: New Lighting Settings
|
||||
serializedVersion: 9
|
||||
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_LightmapSizeFixed: 0
|
||||
m_UseMipmapLimits: 1
|
||||
m_BakeResolution: 40
|
||||
m_Padding: 2
|
||||
m_LightmapCompression: 3
|
||||
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: 15204, guid: 0000000000000000f000000000000000, type: 0}
|
||||
m_ExportTrainingData: 0
|
||||
m_EnableWorkerProcessBaking: 1
|
||||
m_TrainingDataDestination: TrainingData
|
||||
m_RealtimeResolution: 2
|
||||
m_ForceWhiteAlbedo: 0
|
||||
m_ForceUpdates: 0
|
||||
m_PVRCulling: 1
|
||||
m_PVRSampling: 1
|
||||
m_PVRDirectSampleCount: 32
|
||||
m_PVRSampleCount: 512
|
||||
m_PVREnvironmentSampleCount: 256
|
||||
m_PVREnvironmentReferencePointCount: 2048
|
||||
m_LightProbeSampleCountMultiplier: 4
|
||||
m_PVRBounces: 2
|
||||
m_PVRMinBounces: 2
|
||||
m_PVREnvironmentImportanceSampling: 1
|
||||
m_PVRFilteringMode: 1
|
||||
m_PVRDenoiserTypeDirect: 1
|
||||
m_PVRDenoiserTypeIndirect: 1
|
||||
m_PVRDenoiserTypeAO: 1
|
||||
m_PVRFilterTypeDirect: 0
|
||||
m_PVRFilterTypeIndirect: 0
|
||||
m_PVRFilterTypeAO: 0
|
||||
m_PVRFilteringGaussRadiusDirect: 1
|
||||
m_PVRFilteringGaussRadiusIndirect: 1
|
||||
m_PVRFilteringGaussRadiusAO: 1
|
||||
m_PVRFilteringAtrousPositionSigmaDirect: 0.5
|
||||
m_PVRFilteringAtrousPositionSigmaIndirect: 2
|
||||
m_PVRFilteringAtrousPositionSigmaAO: 1
|
||||
m_RespectSceneVisibilityWhenBakingGI: 0
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 9555c3dba44904e4fb7648bcb6532713
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 4890085278179872738
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
136
Assets/Models/Sample/AGV.fbm/New Material.mat
Normal file
@@ -0,0 +1,136 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!114 &-7386537912245661907
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 11
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
version: 9
|
||||
--- !u!21 &2100000
|
||||
Material:
|
||||
serializedVersion: 8
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_Name: New Material
|
||||
m_Shader: {fileID: 4800000, guid: 933532a4fcc9baf4fa0491de14d08ed7, type: 3}
|
||||
m_Parent: {fileID: 0}
|
||||
m_ModifiedSerializedProperties: 0
|
||||
m_ValidKeywords: []
|
||||
m_InvalidKeywords: []
|
||||
m_LightmapFlags: 4
|
||||
m_EnableInstancingVariants: 1
|
||||
m_DoubleSidedGI: 0
|
||||
m_CustomRenderQueue: -1
|
||||
stringTagMap:
|
||||
RenderType: Opaque
|
||||
disabledShaderPasses:
|
||||
- MOTIONVECTORS
|
||||
m_LockedProperties:
|
||||
m_SavedProperties:
|
||||
serializedVersion: 3
|
||||
m_TexEnvs:
|
||||
- _BaseMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _BumpMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _DetailAlbedoMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _DetailMask:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _DetailNormalMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _EmissionMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _MainTex:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _MetallicGlossMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _OcclusionMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _ParallaxMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _SpecGlossMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- unity_Lightmaps:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- unity_LightmapsInd:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- unity_ShadowMasks:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
m_Ints: []
|
||||
m_Floats:
|
||||
- _AddPrecomputedVelocity: 0
|
||||
- _AlphaClip: 0
|
||||
- _AlphaToMask: 0
|
||||
- _Blend: 0
|
||||
- _BlendModePreserveSpecular: 1
|
||||
- _BumpScale: 1
|
||||
- _ClearCoatMask: 0
|
||||
- _ClearCoatSmoothness: 0
|
||||
- _Cull: 2
|
||||
- _Cutoff: 0.5
|
||||
- _DetailAlbedoMapScale: 1
|
||||
- _DetailNormalMapScale: 1
|
||||
- _DstBlend: 0
|
||||
- _DstBlendAlpha: 0
|
||||
- _EnvironmentReflections: 1
|
||||
- _GlossMapScale: 0
|
||||
- _Glossiness: 0
|
||||
- _GlossyReflections: 0
|
||||
- _Metallic: 0
|
||||
- _OcclusionStrength: 1
|
||||
- _Parallax: 0.005
|
||||
- _QueueOffset: 0
|
||||
- _ReceiveShadows: 1
|
||||
- _Smoothness: 0.5
|
||||
- _SmoothnessTextureChannel: 0
|
||||
- _SpecularHighlights: 1
|
||||
- _SrcBlend: 1
|
||||
- _SrcBlendAlpha: 1
|
||||
- _Surface: 0
|
||||
- _WorkflowMode: 1
|
||||
- _ZWrite: 1
|
||||
m_Colors:
|
||||
- _BaseColor: {r: 1, g: 1, b: 1, a: 1}
|
||||
- _Color: {r: 1, g: 1, b: 1, a: 1}
|
||||
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
|
||||
- _SpecColor: {r: 0.2, g: 0.2, b: 0.2, a: 1}
|
||||
m_BuildTextureStacks: []
|
||||
m_AllowLocking: 1
|
||||
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: ba1a8f032b8659245ba1820b5d8cb1cc
|
||||
guid: 36a7ad5e84db35248bcf30561c05faec
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 2100000
|
||||
BIN
Assets/Models/Sample/AGV_250529.fbx
Normal file
107
Assets/Models/Sample/AGV_250529.fbx.meta
Normal file
@@ -0,0 +1,107 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 7d99a54ccc500d349b3c4734fa57b9d3
|
||||
ModelImporter:
|
||||
serializedVersion: 22200
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
materials:
|
||||
materialImportMode: 2
|
||||
materialName: 0
|
||||
materialSearch: 1
|
||||
materialLocation: 1
|
||||
animations:
|
||||
legacyGenerateAnimations: 4
|
||||
bakeSimulation: 0
|
||||
resampleCurves: 1
|
||||
optimizeGameObjects: 0
|
||||
removeConstantScaleCurves: 0
|
||||
motionNodeName:
|
||||
animationImportErrors:
|
||||
animationImportWarnings:
|
||||
animationRetargetingWarnings:
|
||||
animationDoRetargetingWarnings: 0
|
||||
importAnimatedCustomProperties: 0
|
||||
importConstraints: 0
|
||||
animationCompression: 1
|
||||
animationRotationError: 0.5
|
||||
animationPositionError: 0.5
|
||||
animationScaleError: 0.5
|
||||
animationWrapMode: 0
|
||||
extraExposedTransformPaths: []
|
||||
extraUserProperties: []
|
||||
clipAnimations: []
|
||||
isReadable: 1
|
||||
meshes:
|
||||
lODScreenPercentages: []
|
||||
globalScale: 1
|
||||
meshCompression: 0
|
||||
addColliders: 0
|
||||
useSRGBMaterialColor: 1
|
||||
sortHierarchyByName: 1
|
||||
importPhysicalCameras: 1
|
||||
importVisibility: 1
|
||||
importBlendShapes: 1
|
||||
importCameras: 1
|
||||
importLights: 1
|
||||
nodeNameCollisionStrategy: 1
|
||||
fileIdsGeneration: 2
|
||||
swapUVChannels: 0
|
||||
generateSecondaryUV: 0
|
||||
useFileUnits: 1
|
||||
keepQuads: 0
|
||||
weldVertices: 1
|
||||
bakeAxisConversion: 0
|
||||
preserveHierarchy: 0
|
||||
skinWeightsMode: 0
|
||||
maxBonesPerVertex: 4
|
||||
minBoneWeight: 0.001
|
||||
optimizeBones: 1
|
||||
meshOptimizationFlags: -1
|
||||
indexFormat: 0
|
||||
secondaryUVAngleDistortion: 8
|
||||
secondaryUVAreaDistortion: 15.000001
|
||||
secondaryUVHardAngle: 88
|
||||
secondaryUVMarginMethod: 1
|
||||
secondaryUVMinLightmapResolution: 40
|
||||
secondaryUVMinObjectScale: 1
|
||||
secondaryUVPackMargin: 4
|
||||
useFileScale: 1
|
||||
strictVertexDataChecks: 0
|
||||
tangentSpace:
|
||||
normalSmoothAngle: 60
|
||||
normalImportMode: 0
|
||||
tangentImportMode: 3
|
||||
normalCalculationMode: 4
|
||||
legacyComputeAllNormalsFromSmoothingGroupsWhenMeshHasBlendShapes: 0
|
||||
blendShapeNormalImportMode: 1
|
||||
normalSmoothingSource: 0
|
||||
referencedClips: []
|
||||
importAnimation: 1
|
||||
humanDescription:
|
||||
serializedVersion: 3
|
||||
human: []
|
||||
skeleton: []
|
||||
armTwist: 0.5
|
||||
foreArmTwist: 0.5
|
||||
upperLegTwist: 0.5
|
||||
legTwist: 0.5
|
||||
armStretch: 0.05
|
||||
legStretch: 0.05
|
||||
feetSpacing: 0
|
||||
globalScale: 1
|
||||
rootMotionBoneName:
|
||||
hasTranslationDoF: 0
|
||||
hasExtraRoot: 0
|
||||
skeletonHasParents: 1
|
||||
lastHumanDescriptionAvatarSource: {instanceID: 0}
|
||||
autoGenerateAvatarMappingIfUnspecified: 1
|
||||
animationType: 2
|
||||
humanoidOversampling: 1
|
||||
avatarSetup: 0
|
||||
addHumanoidExtraRootOnlyWhenUsingAvatar: 1
|
||||
importBlendShapeDeformPercent: 1
|
||||
remapMaterialsIfMaterialImportModeIsNone: 0
|
||||
additionalBone: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 6d73b17e685532b4a96866755ddcd78a
|
||||
guid: ec5eeeab46c46944eb0af7902e767467
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
BIN
Assets/Models/Sample/Crane/Crane_1.fbx
Normal file
107
Assets/Models/Sample/Crane/Crane_1.fbx.meta
Normal file
@@ -0,0 +1,107 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 18cc6c6847a4bb444811bdeba0fa75ea
|
||||
ModelImporter:
|
||||
serializedVersion: 22200
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
materials:
|
||||
materialImportMode: 2
|
||||
materialName: 0
|
||||
materialSearch: 1
|
||||
materialLocation: 1
|
||||
animations:
|
||||
legacyGenerateAnimations: 4
|
||||
bakeSimulation: 0
|
||||
resampleCurves: 1
|
||||
optimizeGameObjects: 0
|
||||
removeConstantScaleCurves: 0
|
||||
motionNodeName:
|
||||
animationImportErrors:
|
||||
animationImportWarnings:
|
||||
animationRetargetingWarnings:
|
||||
animationDoRetargetingWarnings: 0
|
||||
importAnimatedCustomProperties: 0
|
||||
importConstraints: 0
|
||||
animationCompression: 1
|
||||
animationRotationError: 0.5
|
||||
animationPositionError: 0.5
|
||||
animationScaleError: 0.5
|
||||
animationWrapMode: 0
|
||||
extraExposedTransformPaths: []
|
||||
extraUserProperties: []
|
||||
clipAnimations: []
|
||||
isReadable: 1
|
||||
meshes:
|
||||
lODScreenPercentages: []
|
||||
globalScale: 10
|
||||
meshCompression: 0
|
||||
addColliders: 0
|
||||
useSRGBMaterialColor: 1
|
||||
sortHierarchyByName: 1
|
||||
importPhysicalCameras: 1
|
||||
importVisibility: 1
|
||||
importBlendShapes: 1
|
||||
importCameras: 1
|
||||
importLights: 1
|
||||
nodeNameCollisionStrategy: 1
|
||||
fileIdsGeneration: 2
|
||||
swapUVChannels: 0
|
||||
generateSecondaryUV: 0
|
||||
useFileUnits: 1
|
||||
keepQuads: 0
|
||||
weldVertices: 1
|
||||
bakeAxisConversion: 0
|
||||
preserveHierarchy: 0
|
||||
skinWeightsMode: 0
|
||||
maxBonesPerVertex: 4
|
||||
minBoneWeight: 0.001
|
||||
optimizeBones: 1
|
||||
meshOptimizationFlags: -1
|
||||
indexFormat: 0
|
||||
secondaryUVAngleDistortion: 8
|
||||
secondaryUVAreaDistortion: 15.000001
|
||||
secondaryUVHardAngle: 88
|
||||
secondaryUVMarginMethod: 1
|
||||
secondaryUVMinLightmapResolution: 40
|
||||
secondaryUVMinObjectScale: 1
|
||||
secondaryUVPackMargin: 4
|
||||
useFileScale: 1
|
||||
strictVertexDataChecks: 0
|
||||
tangentSpace:
|
||||
normalSmoothAngle: 60
|
||||
normalImportMode: 0
|
||||
tangentImportMode: 3
|
||||
normalCalculationMode: 4
|
||||
legacyComputeAllNormalsFromSmoothingGroupsWhenMeshHasBlendShapes: 0
|
||||
blendShapeNormalImportMode: 1
|
||||
normalSmoothingSource: 0
|
||||
referencedClips: []
|
||||
importAnimation: 1
|
||||
humanDescription:
|
||||
serializedVersion: 3
|
||||
human: []
|
||||
skeleton: []
|
||||
armTwist: 0.5
|
||||
foreArmTwist: 0.5
|
||||
upperLegTwist: 0.5
|
||||
legTwist: 0.5
|
||||
armStretch: 0.05
|
||||
legStretch: 0.05
|
||||
feetSpacing: 0
|
||||
globalScale: 10
|
||||
rootMotionBoneName:
|
||||
hasTranslationDoF: 0
|
||||
hasExtraRoot: 0
|
||||
skeletonHasParents: 1
|
||||
lastHumanDescriptionAvatarSource: {instanceID: 0}
|
||||
autoGenerateAvatarMappingIfUnspecified: 1
|
||||
animationType: 2
|
||||
humanoidOversampling: 1
|
||||
avatarSetup: 0
|
||||
addHumanoidExtraRootOnlyWhenUsingAvatar: 1
|
||||
importBlendShapeDeformPercent: 1
|
||||
remapMaterialsIfMaterialImportModeIsNone: 0
|
||||
additionalBone: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
BIN
Assets/Models/Sample/Crane/Crane_2.fbx
Normal file
107
Assets/Models/Sample/Crane/Crane_2.fbx.meta
Normal file
@@ -0,0 +1,107 @@
|
||||
fileFormatVersion: 2
|
||||
guid: ede2883a4ae73ea4e9c6ca6f1af595a5
|
||||
ModelImporter:
|
||||
serializedVersion: 22200
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
materials:
|
||||
materialImportMode: 2
|
||||
materialName: 0
|
||||
materialSearch: 1
|
||||
materialLocation: 1
|
||||
animations:
|
||||
legacyGenerateAnimations: 4
|
||||
bakeSimulation: 0
|
||||
resampleCurves: 1
|
||||
optimizeGameObjects: 0
|
||||
removeConstantScaleCurves: 0
|
||||
motionNodeName:
|
||||
animationImportErrors:
|
||||
animationImportWarnings:
|
||||
animationRetargetingWarnings:
|
||||
animationDoRetargetingWarnings: 0
|
||||
importAnimatedCustomProperties: 0
|
||||
importConstraints: 0
|
||||
animationCompression: 1
|
||||
animationRotationError: 0.5
|
||||
animationPositionError: 0.5
|
||||
animationScaleError: 0.5
|
||||
animationWrapMode: 0
|
||||
extraExposedTransformPaths: []
|
||||
extraUserProperties: []
|
||||
clipAnimations: []
|
||||
isReadable: 1
|
||||
meshes:
|
||||
lODScreenPercentages: []
|
||||
globalScale: 10
|
||||
meshCompression: 0
|
||||
addColliders: 0
|
||||
useSRGBMaterialColor: 1
|
||||
sortHierarchyByName: 1
|
||||
importPhysicalCameras: 1
|
||||
importVisibility: 1
|
||||
importBlendShapes: 1
|
||||
importCameras: 1
|
||||
importLights: 1
|
||||
nodeNameCollisionStrategy: 1
|
||||
fileIdsGeneration: 2
|
||||
swapUVChannels: 0
|
||||
generateSecondaryUV: 0
|
||||
useFileUnits: 1
|
||||
keepQuads: 0
|
||||
weldVertices: 1
|
||||
bakeAxisConversion: 0
|
||||
preserveHierarchy: 0
|
||||
skinWeightsMode: 0
|
||||
maxBonesPerVertex: 4
|
||||
minBoneWeight: 0.001
|
||||
optimizeBones: 1
|
||||
meshOptimizationFlags: -1
|
||||
indexFormat: 0
|
||||
secondaryUVAngleDistortion: 8
|
||||
secondaryUVAreaDistortion: 15.000001
|
||||
secondaryUVHardAngle: 88
|
||||
secondaryUVMarginMethod: 1
|
||||
secondaryUVMinLightmapResolution: 40
|
||||
secondaryUVMinObjectScale: 1
|
||||
secondaryUVPackMargin: 4
|
||||
useFileScale: 1
|
||||
strictVertexDataChecks: 0
|
||||
tangentSpace:
|
||||
normalSmoothAngle: 60
|
||||
normalImportMode: 0
|
||||
tangentImportMode: 3
|
||||
normalCalculationMode: 4
|
||||
legacyComputeAllNormalsFromSmoothingGroupsWhenMeshHasBlendShapes: 0
|
||||
blendShapeNormalImportMode: 1
|
||||
normalSmoothingSource: 0
|
||||
referencedClips: []
|
||||
importAnimation: 1
|
||||
humanDescription:
|
||||
serializedVersion: 3
|
||||
human: []
|
||||
skeleton: []
|
||||
armTwist: 0.5
|
||||
foreArmTwist: 0.5
|
||||
upperLegTwist: 0.5
|
||||
legTwist: 0.5
|
||||
armStretch: 0.05
|
||||
legStretch: 0.05
|
||||
feetSpacing: 0
|
||||
globalScale: 0.099999994
|
||||
rootMotionBoneName:
|
||||
hasTranslationDoF: 0
|
||||
hasExtraRoot: 0
|
||||
skeletonHasParents: 1
|
||||
lastHumanDescriptionAvatarSource: {instanceID: 0}
|
||||
autoGenerateAvatarMappingIfUnspecified: 1
|
||||
animationType: 2
|
||||
humanoidOversampling: 1
|
||||
avatarSetup: 0
|
||||
addHumanoidExtraRootOnlyWhenUsingAvatar: 1
|
||||
importBlendShapeDeformPercent: 1
|
||||
remapMaterialsIfMaterialImportModeIsNone: 0
|
||||
additionalBone: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
BIN
Assets/Models/Sample/Crane/Crane_3.fbx
Normal file
107
Assets/Models/Sample/Crane/Crane_3.fbx.meta
Normal file
@@ -0,0 +1,107 @@
|
||||
fileFormatVersion: 2
|
||||
guid: aa130bf3f80fd1545a39a95a9fdbb0ed
|
||||
ModelImporter:
|
||||
serializedVersion: 22200
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
materials:
|
||||
materialImportMode: 2
|
||||
materialName: 0
|
||||
materialSearch: 1
|
||||
materialLocation: 1
|
||||
animations:
|
||||
legacyGenerateAnimations: 4
|
||||
bakeSimulation: 0
|
||||
resampleCurves: 1
|
||||
optimizeGameObjects: 0
|
||||
removeConstantScaleCurves: 0
|
||||
motionNodeName:
|
||||
animationImportErrors:
|
||||
animationImportWarnings:
|
||||
animationRetargetingWarnings:
|
||||
animationDoRetargetingWarnings: 0
|
||||
importAnimatedCustomProperties: 0
|
||||
importConstraints: 0
|
||||
animationCompression: 1
|
||||
animationRotationError: 0.5
|
||||
animationPositionError: 0.5
|
||||
animationScaleError: 0.5
|
||||
animationWrapMode: 0
|
||||
extraExposedTransformPaths: []
|
||||
extraUserProperties: []
|
||||
clipAnimations: []
|
||||
isReadable: 1
|
||||
meshes:
|
||||
lODScreenPercentages: []
|
||||
globalScale: 10
|
||||
meshCompression: 0
|
||||
addColliders: 0
|
||||
useSRGBMaterialColor: 1
|
||||
sortHierarchyByName: 1
|
||||
importPhysicalCameras: 1
|
||||
importVisibility: 1
|
||||
importBlendShapes: 1
|
||||
importCameras: 1
|
||||
importLights: 1
|
||||
nodeNameCollisionStrategy: 1
|
||||
fileIdsGeneration: 2
|
||||
swapUVChannels: 0
|
||||
generateSecondaryUV: 0
|
||||
useFileUnits: 1
|
||||
keepQuads: 0
|
||||
weldVertices: 1
|
||||
bakeAxisConversion: 0
|
||||
preserveHierarchy: 0
|
||||
skinWeightsMode: 0
|
||||
maxBonesPerVertex: 4
|
||||
minBoneWeight: 0.001
|
||||
optimizeBones: 1
|
||||
meshOptimizationFlags: -1
|
||||
indexFormat: 0
|
||||
secondaryUVAngleDistortion: 8
|
||||
secondaryUVAreaDistortion: 15.000001
|
||||
secondaryUVHardAngle: 88
|
||||
secondaryUVMarginMethod: 1
|
||||
secondaryUVMinLightmapResolution: 40
|
||||
secondaryUVMinObjectScale: 1
|
||||
secondaryUVPackMargin: 4
|
||||
useFileScale: 1
|
||||
strictVertexDataChecks: 0
|
||||
tangentSpace:
|
||||
normalSmoothAngle: 60
|
||||
normalImportMode: 0
|
||||
tangentImportMode: 3
|
||||
normalCalculationMode: 4
|
||||
legacyComputeAllNormalsFromSmoothingGroupsWhenMeshHasBlendShapes: 0
|
||||
blendShapeNormalImportMode: 1
|
||||
normalSmoothingSource: 0
|
||||
referencedClips: []
|
||||
importAnimation: 1
|
||||
humanDescription:
|
||||
serializedVersion: 3
|
||||
human: []
|
||||
skeleton: []
|
||||
armTwist: 0.5
|
||||
foreArmTwist: 0.5
|
||||
upperLegTwist: 0.5
|
||||
legTwist: 0.5
|
||||
armStretch: 0.05
|
||||
legStretch: 0.05
|
||||
feetSpacing: 0
|
||||
globalScale: 0.099999994
|
||||
rootMotionBoneName:
|
||||
hasTranslationDoF: 0
|
||||
hasExtraRoot: 0
|
||||
skeletonHasParents: 1
|
||||
lastHumanDescriptionAvatarSource: {instanceID: 0}
|
||||
autoGenerateAvatarMappingIfUnspecified: 1
|
||||
animationType: 2
|
||||
humanoidOversampling: 1
|
||||
avatarSetup: 0
|
||||
addHumanoidExtraRootOnlyWhenUsingAvatar: 1
|
||||
importBlendShapeDeformPercent: 1
|
||||
remapMaterialsIfMaterialImportModeIsNone: 0
|
||||
additionalBone: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
BIN
Assets/Models/Sample/Crane/Crane_4.fbx
Normal file
107
Assets/Models/Sample/Crane/Crane_4.fbx.meta
Normal file
@@ -0,0 +1,107 @@
|
||||
fileFormatVersion: 2
|
||||
guid: f39df2bea06da034dbe65fd141649ada
|
||||
ModelImporter:
|
||||
serializedVersion: 22200
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
materials:
|
||||
materialImportMode: 2
|
||||
materialName: 0
|
||||
materialSearch: 1
|
||||
materialLocation: 1
|
||||
animations:
|
||||
legacyGenerateAnimations: 4
|
||||
bakeSimulation: 0
|
||||
resampleCurves: 1
|
||||
optimizeGameObjects: 0
|
||||
removeConstantScaleCurves: 0
|
||||
motionNodeName:
|
||||
animationImportErrors:
|
||||
animationImportWarnings:
|
||||
animationRetargetingWarnings:
|
||||
animationDoRetargetingWarnings: 0
|
||||
importAnimatedCustomProperties: 0
|
||||
importConstraints: 0
|
||||
animationCompression: 1
|
||||
animationRotationError: 0.5
|
||||
animationPositionError: 0.5
|
||||
animationScaleError: 0.5
|
||||
animationWrapMode: 0
|
||||
extraExposedTransformPaths: []
|
||||
extraUserProperties: []
|
||||
clipAnimations: []
|
||||
isReadable: 1
|
||||
meshes:
|
||||
lODScreenPercentages: []
|
||||
globalScale: 10
|
||||
meshCompression: 0
|
||||
addColliders: 0
|
||||
useSRGBMaterialColor: 1
|
||||
sortHierarchyByName: 1
|
||||
importPhysicalCameras: 1
|
||||
importVisibility: 1
|
||||
importBlendShapes: 1
|
||||
importCameras: 1
|
||||
importLights: 1
|
||||
nodeNameCollisionStrategy: 1
|
||||
fileIdsGeneration: 2
|
||||
swapUVChannels: 0
|
||||
generateSecondaryUV: 0
|
||||
useFileUnits: 1
|
||||
keepQuads: 0
|
||||
weldVertices: 1
|
||||
bakeAxisConversion: 0
|
||||
preserveHierarchy: 0
|
||||
skinWeightsMode: 0
|
||||
maxBonesPerVertex: 4
|
||||
minBoneWeight: 0.001
|
||||
optimizeBones: 1
|
||||
meshOptimizationFlags: -1
|
||||
indexFormat: 0
|
||||
secondaryUVAngleDistortion: 8
|
||||
secondaryUVAreaDistortion: 15.000001
|
||||
secondaryUVHardAngle: 88
|
||||
secondaryUVMarginMethod: 1
|
||||
secondaryUVMinLightmapResolution: 40
|
||||
secondaryUVMinObjectScale: 1
|
||||
secondaryUVPackMargin: 4
|
||||
useFileScale: 1
|
||||
strictVertexDataChecks: 0
|
||||
tangentSpace:
|
||||
normalSmoothAngle: 60
|
||||
normalImportMode: 0
|
||||
tangentImportMode: 3
|
||||
normalCalculationMode: 4
|
||||
legacyComputeAllNormalsFromSmoothingGroupsWhenMeshHasBlendShapes: 0
|
||||
blendShapeNormalImportMode: 1
|
||||
normalSmoothingSource: 0
|
||||
referencedClips: []
|
||||
importAnimation: 1
|
||||
humanDescription:
|
||||
serializedVersion: 3
|
||||
human: []
|
||||
skeleton: []
|
||||
armTwist: 0.5
|
||||
foreArmTwist: 0.5
|
||||
upperLegTwist: 0.5
|
||||
legTwist: 0.5
|
||||
armStretch: 0.05
|
||||
legStretch: 0.05
|
||||
feetSpacing: 0
|
||||
globalScale: 10
|
||||
rootMotionBoneName:
|
||||
hasTranslationDoF: 0
|
||||
hasExtraRoot: 0
|
||||
skeletonHasParents: 1
|
||||
lastHumanDescriptionAvatarSource: {instanceID: 0}
|
||||
autoGenerateAvatarMappingIfUnspecified: 1
|
||||
animationType: 2
|
||||
humanoidOversampling: 1
|
||||
avatarSetup: 0
|
||||
addHumanoidExtraRootOnlyWhenUsingAvatar: 1
|
||||
importBlendShapeDeformPercent: 1
|
||||
remapMaterialsIfMaterialImportModeIsNone: 0
|
||||
additionalBone: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 16e3e2e1dede09641b9533b9844f25f7
|
||||
guid: 59533e9476def4240b14d43f96c6c8ad
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
BIN
Assets/Models/Sample/Crane/Crane_4/mat_0010.jpg
Normal file
|
After Width: | Height: | Size: 432 KiB |