first commit
This commit is contained in:
+64
@@ -0,0 +1,64 @@
|
|||||||
|
# Unity generated folders
|
||||||
|
/Library/
|
||||||
|
/Temp/
|
||||||
|
/Obj/
|
||||||
|
/Build/
|
||||||
|
/Builds/
|
||||||
|
/Logs/
|
||||||
|
/UserSettings/
|
||||||
|
/MemoryCaptures/
|
||||||
|
/Recordings/
|
||||||
|
|
||||||
|
# Unity generated files
|
||||||
|
*.csproj
|
||||||
|
*.unityproj
|
||||||
|
*.sln
|
||||||
|
*.suo
|
||||||
|
*.tmp
|
||||||
|
*.user
|
||||||
|
*.userprefs
|
||||||
|
*.pidb
|
||||||
|
*.booproj
|
||||||
|
*.svd
|
||||||
|
*.pdb
|
||||||
|
*.mdb
|
||||||
|
*.opendb
|
||||||
|
*.VC.db
|
||||||
|
|
||||||
|
# Unity crash and profiler files
|
||||||
|
sysinfo.txt
|
||||||
|
*.stackdump
|
||||||
|
*.mem
|
||||||
|
|
||||||
|
# Unity asset/cache metadata that should stay local
|
||||||
|
/Assets/AssetStoreTools*
|
||||||
|
|
||||||
|
# IDE/editor local state
|
||||||
|
.idea/
|
||||||
|
.vs/
|
||||||
|
.vscode/
|
||||||
|
*.swp
|
||||||
|
*.swo
|
||||||
|
*~
|
||||||
|
|
||||||
|
# OS files
|
||||||
|
.DS_Store
|
||||||
|
.DS_Store?
|
||||||
|
._*
|
||||||
|
Thumbs.db
|
||||||
|
Desktop.ini
|
||||||
|
|
||||||
|
# Local Python tooling used for report generation
|
||||||
|
.venv-docx/
|
||||||
|
__pycache__/
|
||||||
|
*.py[cod]
|
||||||
|
|
||||||
|
# Local Codex/agent state
|
||||||
|
.agents/
|
||||||
|
.codex/
|
||||||
|
|
||||||
|
# Generated lab reports and office documents
|
||||||
|
*.docx
|
||||||
|
*.doc
|
||||||
|
*.odt
|
||||||
|
*.pdf
|
||||||
Binary file not shown.
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: afe3c11973862c90b9a613b7b6144442
|
||||||
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -0,0 +1,820 @@
|
|||||||
|
using System.Collections.Generic;
|
||||||
|
using System.IO;
|
||||||
|
using UnityEditor;
|
||||||
|
using UnityEditor.SceneManagement;
|
||||||
|
using UnityEngine;
|
||||||
|
using UnityEngine.EventSystems;
|
||||||
|
using UnityEngine.SceneManagement;
|
||||||
|
using UnityEngine.UI;
|
||||||
|
|
||||||
|
public static class Lab3SceneBuilder
|
||||||
|
{
|
||||||
|
private const string ScriptsPath = "Assets/_Scripts";
|
||||||
|
private const string DataPath = "Assets/_Data";
|
||||||
|
private const string ItemsPath = "Assets/_Data/Items";
|
||||||
|
private const string RecipesPath = "Assets/_Data/Recipes";
|
||||||
|
private const string PrefabsPath = "Assets/_Prefabs";
|
||||||
|
private const string ScenesPath = "Assets/_Scenes";
|
||||||
|
private const string MaterialsPath = "Assets/_Materials";
|
||||||
|
private const string FontsPath = "Assets/_Fonts";
|
||||||
|
private const string EditorPath = "Assets/Editor";
|
||||||
|
private const string ScenePath = "Assets/_Scenes/Lab03_CraftingSystem.unity";
|
||||||
|
private const string RegularFontPath = "Assets/_Fonts/Ubuntu-Regular.ttf";
|
||||||
|
private const string BoldFontPath = "Assets/_Fonts/Ubuntu-Bold.ttf";
|
||||||
|
|
||||||
|
[MenuItem("Tools/Technical Game Design/Lab3/Create Crafting System Scene")]
|
||||||
|
public static void CreateCraftingSystemScene()
|
||||||
|
{
|
||||||
|
CreateFolders();
|
||||||
|
Font uiFont = InstallUbuntuFont();
|
||||||
|
Dictionary<string, Material> materials = CreateMaterials();
|
||||||
|
Dictionary<string, ItemData> items = CreateItems();
|
||||||
|
List<RecipeData> recipes = CreateRecipes(items);
|
||||||
|
|
||||||
|
GameObject recipeButtonPrefab = CreateRecipeButtonPrefab(uiFont);
|
||||||
|
GameObject slotPrefab = CreateInventorySlotPrefab(uiFont);
|
||||||
|
GameObject hotbarSlotPrefab = CreateHotbarSlotPrefab(uiFont);
|
||||||
|
|
||||||
|
Scene scene = EditorSceneManager.NewScene(NewSceneSetup.EmptyScene, NewSceneMode.Single);
|
||||||
|
scene.name = "Lab03_CraftingSystem";
|
||||||
|
|
||||||
|
CreateWorld(materials, items, uiFont);
|
||||||
|
CreateCameraAndLight();
|
||||||
|
CreateSystems(items, recipes, materials, uiFont, recipeButtonPrefab, slotPrefab, hotbarSlotPrefab);
|
||||||
|
|
||||||
|
EditorSceneManager.SaveScene(scene, ScenePath);
|
||||||
|
AssetDatabase.SaveAssets();
|
||||||
|
AssetDatabase.Refresh();
|
||||||
|
|
||||||
|
Debug.Log("Lab03 Crafting System scene created: " + ScenePath);
|
||||||
|
}
|
||||||
|
|
||||||
|
private static void CreateFolders()
|
||||||
|
{
|
||||||
|
string[] folders =
|
||||||
|
{
|
||||||
|
ScriptsPath,
|
||||||
|
DataPath,
|
||||||
|
ItemsPath,
|
||||||
|
RecipesPath,
|
||||||
|
PrefabsPath,
|
||||||
|
ScenesPath,
|
||||||
|
MaterialsPath,
|
||||||
|
FontsPath,
|
||||||
|
EditorPath
|
||||||
|
};
|
||||||
|
|
||||||
|
for (int i = 0; i < folders.Length; i++)
|
||||||
|
{
|
||||||
|
if (!AssetDatabase.IsValidFolder(folders[i]))
|
||||||
|
{
|
||||||
|
Directory.CreateDirectory(folders[i]);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
AssetDatabase.Refresh();
|
||||||
|
}
|
||||||
|
|
||||||
|
private static Font InstallUbuntuFont()
|
||||||
|
{
|
||||||
|
string regularSource = FindFontFile(new[]
|
||||||
|
{
|
||||||
|
"/usr/share/fonts/truetype/ubuntu/Ubuntu-R.ttf",
|
||||||
|
"/usr/share/fonts/truetype/ubuntu/Ubuntu-Regular.ttf",
|
||||||
|
"/usr/share/fonts/TTF/Ubuntu-R.ttf",
|
||||||
|
"/usr/share/fonts/TTF/Ubuntu-Regular.ttf"
|
||||||
|
}, "Ubuntu-R*.ttf", "Ubuntu-Regular*.ttf");
|
||||||
|
|
||||||
|
string boldSource = FindFontFile(new[]
|
||||||
|
{
|
||||||
|
"/usr/share/fonts/truetype/ubuntu/Ubuntu-B.ttf",
|
||||||
|
"/usr/share/fonts/truetype/ubuntu/Ubuntu-Bold.ttf",
|
||||||
|
"/usr/share/fonts/TTF/Ubuntu-B.ttf",
|
||||||
|
"/usr/share/fonts/TTF/Ubuntu-Bold.ttf"
|
||||||
|
}, "Ubuntu-B*.ttf", "Ubuntu-Bold*.ttf");
|
||||||
|
|
||||||
|
if (!string.IsNullOrEmpty(regularSource))
|
||||||
|
{
|
||||||
|
File.Copy(regularSource, RegularFontPath, true);
|
||||||
|
AssetDatabase.ImportAsset(RegularFontPath);
|
||||||
|
Debug.Log("Ubuntu regular font copied to " + RegularFontPath);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
Debug.LogWarning("Ubuntu regular font was not found in system font folders. UI will use built-in Arial fallback.");
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!string.IsNullOrEmpty(boldSource))
|
||||||
|
{
|
||||||
|
File.Copy(boldSource, BoldFontPath, true);
|
||||||
|
AssetDatabase.ImportAsset(BoldFontPath);
|
||||||
|
Debug.Log("Ubuntu bold font copied to " + BoldFontPath);
|
||||||
|
}
|
||||||
|
|
||||||
|
AssetDatabase.Refresh();
|
||||||
|
|
||||||
|
Font font = AssetDatabase.LoadAssetAtPath<Font>(RegularFontPath);
|
||||||
|
return font != null ? font : Resources.GetBuiltinResource<Font>("LegacyRuntime.ttf");
|
||||||
|
}
|
||||||
|
|
||||||
|
private static string FindFontFile(string[] preferredPaths, params string[] patterns)
|
||||||
|
{
|
||||||
|
for (int i = 0; i < preferredPaths.Length; i++)
|
||||||
|
{
|
||||||
|
if (File.Exists(preferredPaths[i]))
|
||||||
|
{
|
||||||
|
return preferredPaths[i];
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
string[] roots =
|
||||||
|
{
|
||||||
|
"/usr/share/fonts/truetype/ubuntu",
|
||||||
|
"/usr/share/fonts/TTF",
|
||||||
|
"/usr/share/fonts"
|
||||||
|
};
|
||||||
|
|
||||||
|
for (int i = 0; i < roots.Length; i++)
|
||||||
|
{
|
||||||
|
if (!Directory.Exists(roots[i]))
|
||||||
|
{
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
|
for (int p = 0; p < patterns.Length; p++)
|
||||||
|
{
|
||||||
|
string[] files = Directory.GetFiles(roots[i], patterns[p], SearchOption.AllDirectories);
|
||||||
|
if (files.Length > 0)
|
||||||
|
{
|
||||||
|
return files[0];
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
private static Dictionary<string, Material> CreateMaterials()
|
||||||
|
{
|
||||||
|
Dictionary<string, Color> materialColors = new Dictionary<string, Color>
|
||||||
|
{
|
||||||
|
{ "Mat_Floor", new Color(0.36f, 0.42f, 0.36f) },
|
||||||
|
{ "Mat_Workbench", new Color(0.42f, 0.25f, 0.12f) },
|
||||||
|
{ "Mat_Workbench_Dark", new Color(0.22f, 0.13f, 0.07f) },
|
||||||
|
{ "Mat_Wood", new Color(0.55f, 0.34f, 0.16f) },
|
||||||
|
{ "Mat_Stone", new Color(0.47f, 0.48f, 0.47f) },
|
||||||
|
{ "Mat_Iron", new Color(0.55f, 0.58f, 0.62f) },
|
||||||
|
{ "Mat_Fiber", new Color(0.48f, 0.66f, 0.34f) },
|
||||||
|
{ "Mat_Coal", new Color(0.05f, 0.05f, 0.05f) },
|
||||||
|
{ "Mat_Herb", new Color(0.18f, 0.62f, 0.25f) },
|
||||||
|
{ "Mat_Crystal", new Color(0.35f, 0.78f, 0.95f) },
|
||||||
|
{ "Mat_Player", new Color(0.20f, 0.44f, 0.82f) },
|
||||||
|
{ "Mat_Torch_Light", new Color(1.00f, 0.55f, 0.12f) }
|
||||||
|
};
|
||||||
|
|
||||||
|
Dictionary<string, Material> result = new Dictionary<string, Material>();
|
||||||
|
foreach (KeyValuePair<string, Color> pair in materialColors)
|
||||||
|
{
|
||||||
|
string path = MaterialsPath + "/" + pair.Key + ".mat";
|
||||||
|
Material material = AssetDatabase.LoadAssetAtPath<Material>(path);
|
||||||
|
if (material == null)
|
||||||
|
{
|
||||||
|
material = new Material(Shader.Find("Standard"));
|
||||||
|
AssetDatabase.CreateAsset(material, path);
|
||||||
|
}
|
||||||
|
|
||||||
|
material.color = pair.Value;
|
||||||
|
EditorUtility.SetDirty(material);
|
||||||
|
result[pair.Key] = material;
|
||||||
|
}
|
||||||
|
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
|
||||||
|
private static Dictionary<string, ItemData> CreateItems()
|
||||||
|
{
|
||||||
|
ItemDefinition[] definitions =
|
||||||
|
{
|
||||||
|
new ItemDefinition("Wood", "wood", "Древесина", "Базовый строительный ресурс для рукоятей и простых инструментов.", 64, true, new Color(0.58f, 0.36f, 0.16f)),
|
||||||
|
new ItemDefinition("Stone", "stone", "Камень", "Твердый ресурс для лезвий и ударных частей инструментов.", 64, true, new Color(0.55f, 0.55f, 0.55f)),
|
||||||
|
new ItemDefinition("Stick", "stick", "Палка", "Готовая рукоять для простых рецептов.", 64, true, new Color(0.64f, 0.42f, 0.20f)),
|
||||||
|
new ItemDefinition("IronOre", "iron_ore", "Железная руда", "Металлическое сырье для прочных инструментов.", 64, true, new Color(0.56f, 0.58f, 0.64f)),
|
||||||
|
new ItemDefinition("Fiber", "fiber", "Волокно", "Гибкий материал для перевязки и связки деталей.", 64, true, new Color(0.72f, 0.78f, 0.48f)),
|
||||||
|
new ItemDefinition("Leather", "leather", "Кожа", "Прочный материал для креплений и украшений.", 32, true, new Color(0.45f, 0.25f, 0.12f)),
|
||||||
|
new ItemDefinition("Coal", "coal", "Уголь", "Горючий ресурс для факелов.", 64, true, new Color(0.08f, 0.08f, 0.08f)),
|
||||||
|
new ItemDefinition("Herb", "herb", "Трава", "Лечебное растение для простых расходников.", 64, true, new Color(0.20f, 0.66f, 0.24f)),
|
||||||
|
new ItemDefinition("Crystal", "crystal", "Кристалл", "Редкий магический ресурс.", 16, true, new Color(0.30f, 0.80f, 1.00f)),
|
||||||
|
new ItemDefinition("Axe", "axe", "Топор", "Инструмент для рубки древесины.", 1, false, new Color(0.76f, 0.72f, 0.62f)),
|
||||||
|
new ItemDefinition("Pickaxe", "pickaxe", "Кирка", "Инструмент для добычи камня и руды.", 1, false, new Color(0.65f, 0.68f, 0.72f)),
|
||||||
|
new ItemDefinition("Torch", "torch", "Факел", "Источник света, создается по две штуки за крафт.", 16, false, new Color(1.00f, 0.62f, 0.18f)),
|
||||||
|
new ItemDefinition("Bandage", "bandage", "Бинт", "Расходный предмет для восстановления здоровья.", 16, false, new Color(0.92f, 0.90f, 0.82f)),
|
||||||
|
new ItemDefinition("MagicAmulet", "magic_amulet", "Магический амулет", "Редкий предмет, усиливающий героя.", 1, false, new Color(0.55f, 0.35f, 0.95f))
|
||||||
|
};
|
||||||
|
|
||||||
|
Dictionary<string, ItemData> items = new Dictionary<string, ItemData>();
|
||||||
|
for (int i = 0; i < definitions.Length; i++)
|
||||||
|
{
|
||||||
|
ItemDefinition definition = definitions[i];
|
||||||
|
string path = ItemsPath + "/" + definition.assetName + ".asset";
|
||||||
|
ItemData item = AssetDatabase.LoadAssetAtPath<ItemData>(path);
|
||||||
|
if (item == null)
|
||||||
|
{
|
||||||
|
item = ScriptableObject.CreateInstance<ItemData>();
|
||||||
|
AssetDatabase.CreateAsset(item, path);
|
||||||
|
}
|
||||||
|
|
||||||
|
item.itemId = definition.itemId;
|
||||||
|
item.itemName = definition.itemName;
|
||||||
|
item.description = definition.description;
|
||||||
|
item.maxStack = definition.maxStack;
|
||||||
|
item.isResource = definition.isResource;
|
||||||
|
item.itemColor = definition.itemColor;
|
||||||
|
item.icon = null;
|
||||||
|
EditorUtility.SetDirty(item);
|
||||||
|
items[definition.assetName] = item;
|
||||||
|
}
|
||||||
|
|
||||||
|
AssetDatabase.SaveAssets();
|
||||||
|
return items;
|
||||||
|
}
|
||||||
|
|
||||||
|
private static List<RecipeData> CreateRecipes(Dictionary<string, ItemData> items)
|
||||||
|
{
|
||||||
|
RecipeDefinition[] definitions =
|
||||||
|
{
|
||||||
|
new RecipeDefinition("Recipe_Axe", "recipe_axe", "Топор", "Простой топор из древесины, палки и камня.", "Axe", 1, new[] { Pair("Wood", 2), Pair("Stick", 1), Pair("Stone", 1) }),
|
||||||
|
new RecipeDefinition("Recipe_Pickaxe", "recipe_pickaxe", "Кирка", "Прочная кирка для добычи твердых ресурсов.", "Pickaxe", 1, new[] { Pair("Wood", 2), Pair("Stick", 2), Pair("IronOre", 2) }),
|
||||||
|
new RecipeDefinition("Recipe_Torch", "recipe_torch", "Факел", "Два факела из палки, угля и волокна.", "Torch", 2, new[] { Pair("Stick", 1), Pair("Coal", 1), Pair("Fiber", 1) }),
|
||||||
|
new RecipeDefinition("Recipe_Bandage", "recipe_bandage", "Бинт", "Простая лечебная повязка из волокна и травы.", "Bandage", 1, new[] { Pair("Fiber", 2), Pair("Herb", 1) }),
|
||||||
|
new RecipeDefinition("Recipe_MagicAmulet", "recipe_magic_amulet", "Магический амулет", "Редкий амулет из кристаллов, кожи и железной руды.", "MagicAmulet", 1, new[] { Pair("Crystal", 2), Pair("Leather", 1), Pair("IronOre", 1) })
|
||||||
|
};
|
||||||
|
|
||||||
|
List<RecipeData> recipes = new List<RecipeData>();
|
||||||
|
for (int i = 0; i < definitions.Length; i++)
|
||||||
|
{
|
||||||
|
RecipeDefinition definition = definitions[i];
|
||||||
|
string path = RecipesPath + "/" + definition.assetName + ".asset";
|
||||||
|
RecipeData recipe = AssetDatabase.LoadAssetAtPath<RecipeData>(path);
|
||||||
|
if (recipe == null)
|
||||||
|
{
|
||||||
|
recipe = ScriptableObject.CreateInstance<RecipeData>();
|
||||||
|
AssetDatabase.CreateAsset(recipe, path);
|
||||||
|
}
|
||||||
|
|
||||||
|
recipe.recipeId = definition.recipeId;
|
||||||
|
recipe.recipeName = definition.recipeName;
|
||||||
|
recipe.description = definition.description;
|
||||||
|
recipe.result = items[definition.resultKey];
|
||||||
|
recipe.resultAmount = definition.resultAmount;
|
||||||
|
recipe.unlockedByDefault = true;
|
||||||
|
recipe.ingredients = new Ingredient[definition.ingredients.Length];
|
||||||
|
|
||||||
|
for (int ingredientIndex = 0; ingredientIndex < definition.ingredients.Length; ingredientIndex++)
|
||||||
|
{
|
||||||
|
RecipeIngredientDefinition ingredientDefinition = definition.ingredients[ingredientIndex];
|
||||||
|
recipe.ingredients[ingredientIndex] = new Ingredient
|
||||||
|
{
|
||||||
|
item = items[ingredientDefinition.itemKey],
|
||||||
|
amount = ingredientDefinition.amount
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
EditorUtility.SetDirty(recipe);
|
||||||
|
recipes.Add(recipe);
|
||||||
|
}
|
||||||
|
|
||||||
|
AssetDatabase.SaveAssets();
|
||||||
|
return recipes;
|
||||||
|
}
|
||||||
|
|
||||||
|
private static RecipeIngredientDefinition Pair(string itemKey, int amount)
|
||||||
|
{
|
||||||
|
return new RecipeIngredientDefinition(itemKey, amount);
|
||||||
|
}
|
||||||
|
|
||||||
|
private static void CreateWorld(Dictionary<string, Material> materials, Dictionary<string, ItemData> items, Font worldFont)
|
||||||
|
{
|
||||||
|
GameObject floor = GameObject.CreatePrimitive(PrimitiveType.Plane);
|
||||||
|
floor.name = "Floor";
|
||||||
|
floor.transform.localScale = new Vector3(2.8f, 1f, 2.2f);
|
||||||
|
SetMaterial(floor, materials["Mat_Floor"]);
|
||||||
|
|
||||||
|
GameObject tableTop = GameObject.CreatePrimitive(PrimitiveType.Cube);
|
||||||
|
tableTop.name = "Crafting Workbench";
|
||||||
|
tableTop.transform.position = new Vector3(0f, 0.65f, 3.2f);
|
||||||
|
tableTop.transform.localScale = new Vector3(3.6f, 0.28f, 1.5f);
|
||||||
|
SetMaterial(tableTop, materials["Mat_Workbench"]);
|
||||||
|
|
||||||
|
CreateCube("Workbench Leg FL", new Vector3(-1.45f, 0.25f, 3.72f), new Vector3(0.22f, 0.55f, 0.22f), materials["Mat_Workbench_Dark"]);
|
||||||
|
CreateCube("Workbench Leg FR", new Vector3(1.45f, 0.25f, 3.72f), new Vector3(0.22f, 0.55f, 0.22f), materials["Mat_Workbench_Dark"]);
|
||||||
|
CreateCube("Workbench Leg BL", new Vector3(-1.45f, 0.25f, 2.68f), new Vector3(0.22f, 0.55f, 0.22f), materials["Mat_Workbench_Dark"]);
|
||||||
|
CreateCube("Workbench Leg BR", new Vector3(1.45f, 0.25f, 2.68f), new Vector3(0.22f, 0.55f, 0.22f), materials["Mat_Workbench_Dark"]);
|
||||||
|
|
||||||
|
CreateWorldLabel("Workbench Label", "Верстак: крафт через панель справа", new Vector3(0f, 1.25f, 3.2f), worldFont);
|
||||||
|
|
||||||
|
CreatePickup("Wood Pickup A", items["Wood"], 2, PrimitiveType.Cube, new Vector3(-5.5f, 0.35f, -2.8f), new Vector3(0.55f, 0.28f, 0.28f), materials["Mat_Wood"], worldFont);
|
||||||
|
CreatePickup("Wood Pickup B", items["Wood"], 3, PrimitiveType.Cube, new Vector3(-4.8f, 0.35f, 1.8f), new Vector3(0.55f, 0.28f, 0.28f), materials["Mat_Wood"], worldFont);
|
||||||
|
CreatePickup("Stone Pickup", items["Stone"], 3, PrimitiveType.Sphere, new Vector3(-2.9f, 0.35f, -4.2f), new Vector3(0.48f, 0.34f, 0.48f), materials["Mat_Stone"], worldFont);
|
||||||
|
CreatePickup("Stick Pickup", items["Stick"], 2, PrimitiveType.Cube, new Vector3(2.2f, 0.22f, -4.7f), new Vector3(0.75f, 0.14f, 0.14f), materials["Mat_Wood"], worldFont);
|
||||||
|
CreatePickup("Iron Ore Pickup", items["IronOre"], 2, PrimitiveType.Sphere, new Vector3(5.1f, 0.35f, -2.0f), new Vector3(0.45f, 0.34f, 0.45f), materials["Mat_Iron"], worldFont);
|
||||||
|
CreatePickup("Fiber Pickup", items["Fiber"], 3, PrimitiveType.Cube, new Vector3(-3.7f, 0.20f, 4.8f), new Vector3(0.6f, 0.12f, 0.3f), materials["Mat_Fiber"], worldFont);
|
||||||
|
CreatePickup("Leather Pickup", items["Leather"], 1, PrimitiveType.Cube, new Vector3(4.4f, 0.22f, 3.8f), new Vector3(0.55f, 0.12f, 0.42f), materials["Mat_Workbench"], worldFont);
|
||||||
|
CreatePickup("Coal Pickup", items["Coal"], 2, PrimitiveType.Sphere, new Vector3(5.6f, 0.30f, 1.1f), new Vector3(0.38f, 0.28f, 0.38f), materials["Mat_Coal"], worldFont);
|
||||||
|
CreatePickup("Herb Pickup", items["Herb"], 2, PrimitiveType.Cube, new Vector3(-0.5f, 0.20f, -5.0f), new Vector3(0.45f, 0.12f, 0.45f), materials["Mat_Herb"], worldFont);
|
||||||
|
CreatePickup("Crystal Pickup", items["Crystal"], 2, PrimitiveType.Cylinder, new Vector3(2.9f, 0.45f, 5.1f), new Vector3(0.24f, 0.55f, 0.24f), materials["Mat_Crystal"], worldFont);
|
||||||
|
}
|
||||||
|
|
||||||
|
private static void CreateCameraAndLight()
|
||||||
|
{
|
||||||
|
GameObject cameraObject = new GameObject("Main Camera");
|
||||||
|
Camera camera = cameraObject.AddComponent<Camera>();
|
||||||
|
cameraObject.tag = "MainCamera";
|
||||||
|
cameraObject.transform.position = new Vector3(0f, 8f, -7f);
|
||||||
|
cameraObject.transform.rotation = Quaternion.Euler(58f, 0f, 0f);
|
||||||
|
camera.clearFlags = CameraClearFlags.SolidColor;
|
||||||
|
camera.backgroundColor = new Color(0.12f, 0.14f, 0.16f);
|
||||||
|
camera.fieldOfView = 48f;
|
||||||
|
|
||||||
|
GameObject lightObject = new GameObject("Directional Light");
|
||||||
|
Light light = lightObject.AddComponent<Light>();
|
||||||
|
light.type = LightType.Directional;
|
||||||
|
light.intensity = 1.05f;
|
||||||
|
lightObject.transform.rotation = Quaternion.Euler(50f, -30f, 0f);
|
||||||
|
}
|
||||||
|
|
||||||
|
private static void CreateSystems(Dictionary<string, ItemData> items, List<RecipeData> recipes, Dictionary<string, Material> materials, Font uiFont, GameObject recipeButtonPrefab, GameObject slotPrefab, GameObject hotbarSlotPrefab)
|
||||||
|
{
|
||||||
|
GameObject player = CreatePlayer(materials["Mat_Player"]);
|
||||||
|
Camera mainCamera = Camera.main;
|
||||||
|
if (mainCamera != null)
|
||||||
|
{
|
||||||
|
CameraFollow follow = mainCamera.gameObject.AddComponent<CameraFollow>();
|
||||||
|
follow.target = player.transform;
|
||||||
|
}
|
||||||
|
|
||||||
|
GameObject inventoryObject = new GameObject("Player Inventory");
|
||||||
|
Inventory inventory = inventoryObject.AddComponent<Inventory>();
|
||||||
|
inventory.maxSlots = 32;
|
||||||
|
inventory.testResources = new List<InventorySlot>
|
||||||
|
{
|
||||||
|
new InventorySlot(items["Wood"], 8),
|
||||||
|
new InventorySlot(items["Stone"], 6),
|
||||||
|
new InventorySlot(items["Stick"], 6),
|
||||||
|
new InventorySlot(items["IronOre"], 4),
|
||||||
|
new InventorySlot(items["Fiber"], 6),
|
||||||
|
new InventorySlot(items["Leather"], 2),
|
||||||
|
new InventorySlot(items["Coal"], 3),
|
||||||
|
new InventorySlot(items["Herb"], 3),
|
||||||
|
new InventorySlot(items["Crystal"], 2)
|
||||||
|
};
|
||||||
|
|
||||||
|
GameObject craftingObject = new GameObject("Crafting System");
|
||||||
|
CraftingSystem craftingSystem = craftingObject.AddComponent<CraftingSystem>();
|
||||||
|
craftingSystem.playerInventory = inventory;
|
||||||
|
craftingSystem.availableRecipes = recipes;
|
||||||
|
craftingSystem.lastMessage = "Собирайте ресурсы на карте, затем создавайте предметы справа.";
|
||||||
|
|
||||||
|
GameObject canvasObject = new GameObject("Canvas");
|
||||||
|
Canvas canvas = canvasObject.AddComponent<Canvas>();
|
||||||
|
canvas.renderMode = RenderMode.ScreenSpaceOverlay;
|
||||||
|
CanvasScaler scaler = canvasObject.AddComponent<CanvasScaler>();
|
||||||
|
scaler.uiScaleMode = CanvasScaler.ScaleMode.ScaleWithScreenSize;
|
||||||
|
scaler.referenceResolution = new Vector2(1280f, 720f);
|
||||||
|
scaler.matchWidthOrHeight = 0.5f;
|
||||||
|
canvasObject.AddComponent<GraphicRaycaster>();
|
||||||
|
|
||||||
|
GameObject eventSystemObject = new GameObject("EventSystem");
|
||||||
|
eventSystemObject.AddComponent<EventSystem>();
|
||||||
|
eventSystemObject.AddComponent<StandaloneInputModule>();
|
||||||
|
|
||||||
|
RectTransform root = canvasObject.GetComponent<RectTransform>();
|
||||||
|
Text title = CreateText("Title", root, "Лабораторная работа №3 - Система крафта", uiFont, 22, FontStyle.Bold, TextAnchor.MiddleCenter, Color.white);
|
||||||
|
Anchor(title.rectTransform, new Vector2(0.5f, 1f), new Vector2(0.5f, 1f), new Vector2(0f, -22f), new Vector2(720f, 36f));
|
||||||
|
|
||||||
|
Image inventoryPanel = CreatePanel("Inventory Panel", root, new Vector2(150f, -246f), new Vector2(272f, 374f), new Vector2(0f, 1f), new Color(0.055f, 0.070f, 0.085f, 0.97f));
|
||||||
|
Image recipePanel = CreatePanel("Recipe Panel", root, new Vector2(-196f, -246f), new Vector2(364f, 374f), new Vector2(1f, 1f), new Color(0.055f, 0.070f, 0.085f, 0.97f));
|
||||||
|
Image detailsPanel = CreatePanel("Recipe Details Panel", root, new Vector2(0f, 158f), new Vector2(500f, 116f), new Vector2(0.5f, 0f), new Color(0.055f, 0.070f, 0.085f, 0.96f));
|
||||||
|
Image hotbarPanel = CreatePanel("Hotbar Panel", root, new Vector2(0f, 42f), new Vector2(878f, 68f), new Vector2(0.5f, 0f), new Color(0.045f, 0.055f, 0.070f, 0.97f));
|
||||||
|
|
||||||
|
Text inventoryTitle = CreateText("Inventory Title", inventoryPanel.rectTransform, "Инвентарь", uiFont, 20, FontStyle.Bold, TextAnchor.MiddleLeft, Color.white);
|
||||||
|
Anchor(inventoryTitle.rectTransform, new Vector2(0.5f, 0.5f), new Vector2(0.5f, 0.5f), new Vector2(0f, 160f), new Vector2(240f, 30f));
|
||||||
|
|
||||||
|
Transform slotContainer = CreateVerticalContainer("Inventory Slots", inventoryPanel.rectTransform, new Vector2(0f, 4f), new Vector2(248f, 270f), new Vector2(0.5f, 0.5f), 4f, TextAnchor.UpperCenter);
|
||||||
|
|
||||||
|
Text inventoryDebug = CreateText("Inventory Debug", inventoryPanel.rectTransform, "Ресурсов: 9", uiFont, 14, FontStyle.Normal, TextAnchor.LowerLeft, new Color(0.78f, 0.84f, 0.88f));
|
||||||
|
Anchor(inventoryDebug.rectTransform, new Vector2(0.5f, 0.5f), new Vector2(0.5f, 0.5f), new Vector2(0f, -162f), new Vector2(240f, 24f));
|
||||||
|
|
||||||
|
Text recipeTitle = CreateText("Recipe Title", recipePanel.rectTransform, "Рецепты", uiFont, 20, FontStyle.Bold, TextAnchor.MiddleLeft, Color.white);
|
||||||
|
Anchor(recipeTitle.rectTransform, new Vector2(0.5f, 0.5f), new Vector2(0.5f, 0.5f), new Vector2(0f, 160f), new Vector2(336f, 30f));
|
||||||
|
|
||||||
|
Transform recipeContainer = CreateRectContainer("Recipe Buttons", recipePanel.rectTransform, new Vector2(0f, -8f), new Vector2(336f, 286f), new Vector2(0.5f, 0.5f));
|
||||||
|
|
||||||
|
Text recipeDebug = CreateText("Recipe Debug", recipePanel.rectTransform, "Рецептов: 5", uiFont, 14, FontStyle.Normal, TextAnchor.LowerLeft, new Color(0.78f, 0.84f, 0.88f));
|
||||||
|
Anchor(recipeDebug.rectTransform, new Vector2(0.5f, 0.5f), new Vector2(0.5f, 0.5f), new Vector2(0f, -162f), new Vector2(336f, 24f));
|
||||||
|
|
||||||
|
Text selectedRecipeText = CreateText("Selected Recipe Text", detailsPanel.rectTransform, "", uiFont, 12, FontStyle.Normal, TextAnchor.UpperLeft, new Color(0.88f, 0.92f, 0.95f));
|
||||||
|
Stretch(selectedRecipeText.rectTransform, 12f, 8f, 12f, 34f);
|
||||||
|
|
||||||
|
Text messageText = CreateText("Craft Message", detailsPanel.rectTransform, "Собирайте ресурсы на карте, затем создавайте предметы справа.", uiFont, 13, FontStyle.Bold, TextAnchor.MiddleLeft, new Color(0.74f, 0.95f, 0.70f));
|
||||||
|
Anchor(messageText.rectTransform, new Vector2(0f, 0f), new Vector2(1f, 0f), new Vector2(12f, 18f), new Vector2(-24f, 28f));
|
||||||
|
|
||||||
|
Text interactionText = CreateText("Interaction Text", root, "Подойдите к ресурсу и нажмите E", uiFont, 16, FontStyle.Bold, TextAnchor.MiddleCenter, new Color(1f, 0.92f, 0.62f));
|
||||||
|
Anchor(interactionText.rectTransform, new Vector2(0.5f, 1f), new Vector2(0.5f, 1f), new Vector2(0f, -56f), new Vector2(540f, 28f));
|
||||||
|
|
||||||
|
Text hintText = CreateText("Hint Text", root, "WASD - движение | E - подобрать | 1-9/0 - слот | F - использовать | R - тестовые ресурсы | C - UI", uiFont, 13, FontStyle.Normal, TextAnchor.MiddleCenter, new Color(0.84f, 0.89f, 0.92f));
|
||||||
|
Anchor(hintText.rectTransform, new Vector2(0.5f, 1f), new Vector2(0.5f, 1f), new Vector2(0f, -84f), new Vector2(850f, 24f));
|
||||||
|
|
||||||
|
Transform hotbarContainer = CreateHorizontalContainer("Hotbar Slots", hotbarPanel.rectTransform, new Vector2(0f, 0f), new Vector2(854f, 54f), new Vector2(0.5f, 0.5f), 6f, TextAnchor.MiddleCenter);
|
||||||
|
|
||||||
|
InventoryUI inventoryUI = inventoryPanel.gameObject.AddComponent<InventoryUI>();
|
||||||
|
inventoryUI.inventory = inventory;
|
||||||
|
inventoryUI.slotContainer = slotContainer;
|
||||||
|
inventoryUI.slotPrefab = slotPrefab;
|
||||||
|
|
||||||
|
CraftingUI craftingUI = recipePanel.gameObject.AddComponent<CraftingUI>();
|
||||||
|
craftingUI.craftingSystem = craftingSystem;
|
||||||
|
craftingUI.inventory = inventory;
|
||||||
|
craftingUI.recipeContainer = recipeContainer;
|
||||||
|
craftingUI.recipeButtonPrefab = recipeButtonPrefab;
|
||||||
|
craftingUI.messageText = messageText;
|
||||||
|
craftingUI.selectedRecipeText = selectedRecipeText;
|
||||||
|
craftingUI.uiFont = uiFont;
|
||||||
|
|
||||||
|
PlayerMovement movement = player.GetComponent<PlayerMovement>();
|
||||||
|
PlayerInteractor interactor = player.AddComponent<PlayerInteractor>();
|
||||||
|
interactor.inventory = inventory;
|
||||||
|
interactor.craftingSystem = craftingSystem;
|
||||||
|
interactor.interactionText = interactionText;
|
||||||
|
|
||||||
|
ItemUseSystem itemUseSystem = player.AddComponent<ItemUseSystem>();
|
||||||
|
itemUseSystem.inventory = inventory;
|
||||||
|
itemUseSystem.craftingSystem = craftingSystem;
|
||||||
|
itemUseSystem.playerMovement = movement;
|
||||||
|
itemUseSystem.playerTransform = player.transform;
|
||||||
|
itemUseSystem.torchLightMaterial = materials["Mat_Torch_Light"];
|
||||||
|
itemUseSystem.statusText = messageText;
|
||||||
|
itemUseSystem.selectableSlotCount = 10;
|
||||||
|
|
||||||
|
HotbarUI hotbarUI = hotbarPanel.gameObject.AddComponent<HotbarUI>();
|
||||||
|
hotbarUI.inventory = inventory;
|
||||||
|
hotbarUI.itemUseSystem = itemUseSystem;
|
||||||
|
hotbarUI.slotContainer = hotbarContainer;
|
||||||
|
hotbarUI.slotPrefab = hotbarSlotPrefab;
|
||||||
|
hotbarUI.slotCount = 10;
|
||||||
|
|
||||||
|
GameObject controllerObject = new GameObject("Crafting Demo Controller");
|
||||||
|
CraftingDemoController controller = controllerObject.AddComponent<CraftingDemoController>();
|
||||||
|
controller.inventory = inventory;
|
||||||
|
controller.craftingSystem = craftingSystem;
|
||||||
|
controller.craftingPanel = canvasObject;
|
||||||
|
controller.hintText = hintText;
|
||||||
|
controller.addStartingResources = false;
|
||||||
|
|
||||||
|
ApplyFontToAllText(canvasObject, uiFont);
|
||||||
|
}
|
||||||
|
|
||||||
|
private static GameObject CreateRecipeButtonPrefab(Font font)
|
||||||
|
{
|
||||||
|
GameObject root = new GameObject("RecipeButtonPrefab", typeof(RectTransform), typeof(Image), typeof(Button));
|
||||||
|
RectTransform rect = root.GetComponent<RectTransform>();
|
||||||
|
rect.sizeDelta = new Vector2(336f, 52f);
|
||||||
|
Image image = root.GetComponent<Image>();
|
||||||
|
image.color = new Color(0.13f, 0.18f, 0.20f, 0.98f);
|
||||||
|
Button button = root.GetComponent<Button>();
|
||||||
|
ColorBlock colors = button.colors;
|
||||||
|
colors.normalColor = Color.white;
|
||||||
|
colors.highlightedColor = new Color(0.90f, 0.96f, 1.00f, 1f);
|
||||||
|
colors.pressedColor = new Color(0.76f, 0.86f, 0.92f, 1f);
|
||||||
|
colors.disabledColor = new Color(0.70f, 0.70f, 0.70f, 1f);
|
||||||
|
button.colors = colors;
|
||||||
|
|
||||||
|
Image stateStripe = CreateImage("StateStripe", rect, new Color(0.24f, 0.68f, 0.36f, 1f));
|
||||||
|
Anchor(stateStripe.rectTransform, new Vector2(0f, 0.5f), new Vector2(0f, 0.5f), new Vector2(3f, 0f), new Vector2(6f, 44f));
|
||||||
|
|
||||||
|
Text title = CreateText("Title", rect, "Recipe", font, 13, FontStyle.Bold, TextAnchor.UpperLeft, Color.white);
|
||||||
|
Anchor(title.rectTransform, new Vector2(0f, 1f), new Vector2(0f, 1f), new Vector2(110f, -10f), new Vector2(190f, 20f));
|
||||||
|
|
||||||
|
Text result = CreateText("Result", rect, "Result", font, 12, FontStyle.Bold, TextAnchor.UpperRight, new Color(0.78f, 0.92f, 1f));
|
||||||
|
Anchor(result.rectTransform, new Vector2(1f, 1f), new Vector2(1f, 1f), new Vector2(-58f, -10f), new Vector2(100f, 20f));
|
||||||
|
|
||||||
|
Text ingredients = CreateText("Ingredients", rect, "Ingredients", font, 10, FontStyle.Normal, TextAnchor.LowerLeft, new Color(0.82f, 0.86f, 0.88f));
|
||||||
|
Anchor(ingredients.rectTransform, new Vector2(0f, 0f), new Vector2(0f, 0f), new Vector2(130f, 12f), new Vector2(230f, 20f));
|
||||||
|
|
||||||
|
Text status = CreateText("Status", rect, "Status", font, 10, FontStyle.Bold, TextAnchor.LowerRight, new Color(0.76f, 0.95f, 0.72f));
|
||||||
|
Anchor(status.rectTransform, new Vector2(1f, 0f), new Vector2(1f, 0f), new Vector2(-46f, 12f), new Vector2(76f, 18f));
|
||||||
|
|
||||||
|
string path = PrefabsPath + "/RecipeButtonPrefab.prefab";
|
||||||
|
ApplyFontToAllText(root, font);
|
||||||
|
GameObject prefab = PrefabUtility.SaveAsPrefabAsset(root, path);
|
||||||
|
Object.DestroyImmediate(root);
|
||||||
|
return prefab;
|
||||||
|
}
|
||||||
|
|
||||||
|
private static GameObject CreateInventorySlotPrefab(Font font)
|
||||||
|
{
|
||||||
|
GameObject root = new GameObject("InventorySlotPrefab", typeof(RectTransform), typeof(Image));
|
||||||
|
RectTransform rect = root.GetComponent<RectTransform>();
|
||||||
|
rect.sizeDelta = new Vector2(248f, 26f);
|
||||||
|
Image image = root.GetComponent<Image>();
|
||||||
|
image.color = new Color(0.12f, 0.15f, 0.18f, 0.95f);
|
||||||
|
|
||||||
|
Image marker = CreateImage("ColorMarker", rect, Color.white);
|
||||||
|
Anchor(marker.rectTransform, new Vector2(0f, 0.5f), new Vector2(0f, 0.5f), new Vector2(12f, 0f), new Vector2(12f, 16f));
|
||||||
|
|
||||||
|
Text label = CreateText("Label", rect, "Item x0", font, 12, FontStyle.Normal, TextAnchor.MiddleLeft, Color.white);
|
||||||
|
Anchor(label.rectTransform, new Vector2(0f, 0f), new Vector2(1f, 1f), new Vector2(30f, 0f), new Vector2(-36f, 0f));
|
||||||
|
|
||||||
|
string path = PrefabsPath + "/InventorySlotPrefab.prefab";
|
||||||
|
ApplyFontToAllText(root, font);
|
||||||
|
GameObject prefab = PrefabUtility.SaveAsPrefabAsset(root, path);
|
||||||
|
Object.DestroyImmediate(root);
|
||||||
|
return prefab;
|
||||||
|
}
|
||||||
|
|
||||||
|
private static GameObject CreateHotbarSlotPrefab(Font font)
|
||||||
|
{
|
||||||
|
GameObject root = new GameObject("HotbarSlotPrefab", typeof(RectTransform), typeof(Image), typeof(Button));
|
||||||
|
RectTransform rect = root.GetComponent<RectTransform>();
|
||||||
|
rect.sizeDelta = new Vector2(78f, 50f);
|
||||||
|
root.GetComponent<Image>().color = new Color(0.10f, 0.12f, 0.15f, 0.92f);
|
||||||
|
|
||||||
|
Image marker = CreateImage("ColorMarker", rect, new Color(0.18f, 0.20f, 0.22f, 1f));
|
||||||
|
Anchor(marker.rectTransform, new Vector2(0.5f, 1f), new Vector2(0.5f, 1f), new Vector2(0f, -10f), new Vector2(58f, 6f));
|
||||||
|
|
||||||
|
Text number = CreateText("Number", rect, "1", font, 12, FontStyle.Bold, TextAnchor.UpperLeft, new Color(0.95f, 0.90f, 0.72f));
|
||||||
|
Stretch(number.rectTransform, 6f, 4f, 6f, 4f);
|
||||||
|
|
||||||
|
Text label = CreateText("Label", rect, "Пусто", font, 10, FontStyle.Normal, TextAnchor.MiddleCenter, Color.white);
|
||||||
|
Anchor(label.rectTransform, new Vector2(0f, 0f), new Vector2(1f, 1f), new Vector2(0f, -6f), new Vector2(-8f, -16f));
|
||||||
|
|
||||||
|
string path = PrefabsPath + "/HotbarSlotPrefab.prefab";
|
||||||
|
ApplyFontToAllText(root, font);
|
||||||
|
GameObject prefab = PrefabUtility.SaveAsPrefabAsset(root, path);
|
||||||
|
Object.DestroyImmediate(root);
|
||||||
|
return prefab;
|
||||||
|
}
|
||||||
|
|
||||||
|
private static Image CreatePanel(string name, RectTransform parent, Vector2 anchoredPosition, Vector2 size, Vector2 anchor, Color color)
|
||||||
|
{
|
||||||
|
Image panel = CreateImage(name, parent, color);
|
||||||
|
Anchor(panel.rectTransform, anchor, anchor, anchoredPosition, size);
|
||||||
|
return panel;
|
||||||
|
}
|
||||||
|
|
||||||
|
private static Transform CreateVerticalContainer(string name, RectTransform parent, Vector2 anchoredPosition, Vector2 size, Vector2 anchor, float spacing, TextAnchor alignment)
|
||||||
|
{
|
||||||
|
GameObject container = new GameObject(name, typeof(RectTransform), typeof(VerticalLayoutGroup));
|
||||||
|
RectTransform rect = container.GetComponent<RectTransform>();
|
||||||
|
rect.SetParent(parent, false);
|
||||||
|
Anchor(rect, anchor, anchor, anchoredPosition, size);
|
||||||
|
|
||||||
|
VerticalLayoutGroup layout = container.GetComponent<VerticalLayoutGroup>();
|
||||||
|
layout.spacing = spacing;
|
||||||
|
layout.childAlignment = alignment;
|
||||||
|
layout.childControlWidth = true;
|
||||||
|
layout.childControlHeight = false;
|
||||||
|
layout.childForceExpandWidth = true;
|
||||||
|
layout.childForceExpandHeight = false;
|
||||||
|
|
||||||
|
return container.transform;
|
||||||
|
}
|
||||||
|
|
||||||
|
private static Transform CreateRectContainer(string name, RectTransform parent, Vector2 anchoredPosition, Vector2 size, Vector2 anchor)
|
||||||
|
{
|
||||||
|
GameObject container = new GameObject(name, typeof(RectTransform));
|
||||||
|
RectTransform rect = container.GetComponent<RectTransform>();
|
||||||
|
rect.SetParent(parent, false);
|
||||||
|
Anchor(rect, anchor, anchor, anchoredPosition, size);
|
||||||
|
return container.transform;
|
||||||
|
}
|
||||||
|
|
||||||
|
private static Transform CreateHorizontalContainer(string name, RectTransform parent, Vector2 anchoredPosition, Vector2 size, Vector2 anchor, float spacing, TextAnchor alignment)
|
||||||
|
{
|
||||||
|
GameObject container = new GameObject(name, typeof(RectTransform), typeof(HorizontalLayoutGroup));
|
||||||
|
RectTransform rect = container.GetComponent<RectTransform>();
|
||||||
|
rect.SetParent(parent, false);
|
||||||
|
Anchor(rect, anchor, anchor, anchoredPosition, size);
|
||||||
|
|
||||||
|
HorizontalLayoutGroup layout = container.GetComponent<HorizontalLayoutGroup>();
|
||||||
|
layout.spacing = spacing;
|
||||||
|
layout.childAlignment = alignment;
|
||||||
|
layout.childControlWidth = false;
|
||||||
|
layout.childControlHeight = false;
|
||||||
|
layout.childForceExpandWidth = false;
|
||||||
|
layout.childForceExpandHeight = false;
|
||||||
|
|
||||||
|
return container.transform;
|
||||||
|
}
|
||||||
|
|
||||||
|
private static Text CreateText(string name, RectTransform parent, string text, Font font, int fontSize, FontStyle style, TextAnchor alignment, Color color)
|
||||||
|
{
|
||||||
|
GameObject textObject = new GameObject(name, typeof(RectTransform), typeof(Text));
|
||||||
|
RectTransform rect = textObject.GetComponent<RectTransform>();
|
||||||
|
rect.SetParent(parent, false);
|
||||||
|
Text label = textObject.GetComponent<Text>();
|
||||||
|
label.text = text;
|
||||||
|
label.font = font;
|
||||||
|
label.fontSize = fontSize;
|
||||||
|
label.fontStyle = style;
|
||||||
|
label.alignment = alignment;
|
||||||
|
label.color = color;
|
||||||
|
label.horizontalOverflow = HorizontalWrapMode.Wrap;
|
||||||
|
label.verticalOverflow = VerticalWrapMode.Truncate;
|
||||||
|
return label;
|
||||||
|
}
|
||||||
|
|
||||||
|
private static Image CreateImage(string name, RectTransform parent, Color color)
|
||||||
|
{
|
||||||
|
GameObject imageObject = new GameObject(name, typeof(RectTransform), typeof(Image));
|
||||||
|
RectTransform rect = imageObject.GetComponent<RectTransform>();
|
||||||
|
rect.SetParent(parent, false);
|
||||||
|
Image image = imageObject.GetComponent<Image>();
|
||||||
|
image.color = color;
|
||||||
|
return image;
|
||||||
|
}
|
||||||
|
|
||||||
|
private static void Anchor(RectTransform rect, Vector2 anchorMin, Vector2 anchorMax, Vector2 anchoredPosition, Vector2 sizeDelta)
|
||||||
|
{
|
||||||
|
rect.anchorMin = anchorMin;
|
||||||
|
rect.anchorMax = anchorMax;
|
||||||
|
rect.pivot = new Vector2(0.5f, 0.5f);
|
||||||
|
rect.anchoredPosition = anchoredPosition;
|
||||||
|
rect.sizeDelta = sizeDelta;
|
||||||
|
}
|
||||||
|
|
||||||
|
private static void Stretch(RectTransform rect, float left, float top, float right, float bottom)
|
||||||
|
{
|
||||||
|
rect.anchorMin = Vector2.zero;
|
||||||
|
rect.anchorMax = Vector2.one;
|
||||||
|
rect.pivot = new Vector2(0.5f, 0.5f);
|
||||||
|
rect.offsetMin = new Vector2(left, bottom);
|
||||||
|
rect.offsetMax = new Vector2(-right, -top);
|
||||||
|
}
|
||||||
|
|
||||||
|
private static void ApplyFontToAllText(GameObject root, Font font)
|
||||||
|
{
|
||||||
|
Text[] texts = root.GetComponentsInChildren<Text>(true);
|
||||||
|
for (int i = 0; i < texts.Length; i++)
|
||||||
|
{
|
||||||
|
texts[i].font = font;
|
||||||
|
EditorUtility.SetDirty(texts[i]);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private static GameObject CreateCube(string name, Vector3 position, Vector3 scale, Material material)
|
||||||
|
{
|
||||||
|
GameObject cube = GameObject.CreatePrimitive(PrimitiveType.Cube);
|
||||||
|
cube.name = name;
|
||||||
|
cube.transform.position = position;
|
||||||
|
cube.transform.localScale = scale;
|
||||||
|
SetMaterial(cube, material);
|
||||||
|
return cube;
|
||||||
|
}
|
||||||
|
|
||||||
|
private static GameObject CreatePlayer(Material material)
|
||||||
|
{
|
||||||
|
GameObject player = GameObject.CreatePrimitive(PrimitiveType.Capsule);
|
||||||
|
player.name = "Player";
|
||||||
|
player.transform.position = new Vector3(0f, 0.55f, -2.2f);
|
||||||
|
player.transform.localScale = new Vector3(0.75f, 1f, 0.75f);
|
||||||
|
SetMaterial(player, material);
|
||||||
|
|
||||||
|
CapsuleCollider capsule = player.GetComponent<CapsuleCollider>();
|
||||||
|
if (capsule != null)
|
||||||
|
{
|
||||||
|
Object.DestroyImmediate(capsule);
|
||||||
|
}
|
||||||
|
|
||||||
|
CharacterController controller = player.AddComponent<CharacterController>();
|
||||||
|
controller.height = 1.9f;
|
||||||
|
controller.radius = 0.38f;
|
||||||
|
controller.center = new Vector3(0f, 0.95f, 0f);
|
||||||
|
|
||||||
|
PlayerMovement movement = player.AddComponent<PlayerMovement>();
|
||||||
|
movement.moveSpeed = 5.2f;
|
||||||
|
return player;
|
||||||
|
}
|
||||||
|
|
||||||
|
private static void CreatePickup(string name, ItemData item, int amount, PrimitiveType primitiveType, Vector3 position, Vector3 scale, Material material, Font labelFont)
|
||||||
|
{
|
||||||
|
GameObject pickup = GameObject.CreatePrimitive(primitiveType);
|
||||||
|
pickup.name = name;
|
||||||
|
pickup.transform.position = position;
|
||||||
|
pickup.transform.localScale = scale;
|
||||||
|
SetMaterial(pickup, material);
|
||||||
|
|
||||||
|
Collider collider = pickup.GetComponent<Collider>();
|
||||||
|
if (collider != null)
|
||||||
|
{
|
||||||
|
collider.isTrigger = true;
|
||||||
|
}
|
||||||
|
|
||||||
|
ResourcePickup resourcePickup = pickup.AddComponent<ResourcePickup>();
|
||||||
|
resourcePickup.item = item;
|
||||||
|
resourcePickup.amount = amount;
|
||||||
|
resourcePickup.respawnSeconds = 10f;
|
||||||
|
|
||||||
|
CreateWorldLabel(name + " Label", item.itemName + " x" + amount, position + Vector3.up * 0.85f, labelFont, pickup.transform);
|
||||||
|
}
|
||||||
|
|
||||||
|
private static void CreateWorldLabel(string name, string text, Vector3 position, Font font, Transform parent = null)
|
||||||
|
{
|
||||||
|
GameObject labelObject = new GameObject(name);
|
||||||
|
labelObject.transform.position = position;
|
||||||
|
if (parent != null)
|
||||||
|
{
|
||||||
|
labelObject.transform.SetParent(parent, true);
|
||||||
|
}
|
||||||
|
|
||||||
|
TextMesh textMesh = labelObject.AddComponent<TextMesh>();
|
||||||
|
textMesh.text = text;
|
||||||
|
textMesh.font = font;
|
||||||
|
textMesh.fontSize = 34;
|
||||||
|
textMesh.characterSize = 0.055f;
|
||||||
|
textMesh.anchor = TextAnchor.MiddleCenter;
|
||||||
|
textMesh.alignment = TextAlignment.Center;
|
||||||
|
textMesh.color = Color.white;
|
||||||
|
|
||||||
|
MeshRenderer renderer = labelObject.GetComponent<MeshRenderer>();
|
||||||
|
if (renderer != null && font != null)
|
||||||
|
{
|
||||||
|
renderer.sharedMaterial = font.material;
|
||||||
|
}
|
||||||
|
|
||||||
|
labelObject.transform.rotation = Quaternion.Euler(60f, 0f, 0f);
|
||||||
|
}
|
||||||
|
|
||||||
|
private static void CreateResourceDecoration(string name, PrimitiveType primitiveType, Vector3 position, Vector3 scale, Material material)
|
||||||
|
{
|
||||||
|
GameObject resource = GameObject.CreatePrimitive(primitiveType);
|
||||||
|
resource.name = name;
|
||||||
|
resource.transform.position = position;
|
||||||
|
resource.transform.localScale = scale;
|
||||||
|
SetMaterial(resource, material);
|
||||||
|
}
|
||||||
|
|
||||||
|
private static void SetMaterial(GameObject gameObject, Material material)
|
||||||
|
{
|
||||||
|
Renderer renderer = gameObject.GetComponent<Renderer>();
|
||||||
|
if (renderer != null)
|
||||||
|
{
|
||||||
|
renderer.sharedMaterial = material;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private struct ItemDefinition
|
||||||
|
{
|
||||||
|
public readonly string assetName;
|
||||||
|
public readonly string itemId;
|
||||||
|
public readonly string itemName;
|
||||||
|
public readonly string description;
|
||||||
|
public readonly int maxStack;
|
||||||
|
public readonly bool isResource;
|
||||||
|
public readonly Color itemColor;
|
||||||
|
|
||||||
|
public ItemDefinition(string assetName, string itemId, string itemName, string description, int maxStack, bool isResource, Color itemColor)
|
||||||
|
{
|
||||||
|
this.assetName = assetName;
|
||||||
|
this.itemId = itemId;
|
||||||
|
this.itemName = itemName;
|
||||||
|
this.description = description;
|
||||||
|
this.maxStack = maxStack;
|
||||||
|
this.isResource = isResource;
|
||||||
|
this.itemColor = itemColor;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private struct RecipeIngredientDefinition
|
||||||
|
{
|
||||||
|
public readonly string itemKey;
|
||||||
|
public readonly int amount;
|
||||||
|
|
||||||
|
public RecipeIngredientDefinition(string itemKey, int amount)
|
||||||
|
{
|
||||||
|
this.itemKey = itemKey;
|
||||||
|
this.amount = amount;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private struct RecipeDefinition
|
||||||
|
{
|
||||||
|
public readonly string assetName;
|
||||||
|
public readonly string recipeId;
|
||||||
|
public readonly string recipeName;
|
||||||
|
public readonly string description;
|
||||||
|
public readonly string resultKey;
|
||||||
|
public readonly int resultAmount;
|
||||||
|
public readonly RecipeIngredientDefinition[] ingredients;
|
||||||
|
|
||||||
|
public RecipeDefinition(string assetName, string recipeId, string recipeName, string description, string resultKey, int resultAmount, RecipeIngredientDefinition[] ingredients)
|
||||||
|
{
|
||||||
|
this.assetName = assetName;
|
||||||
|
this.recipeId = recipeId;
|
||||||
|
this.recipeName = recipeName;
|
||||||
|
this.description = description;
|
||||||
|
this.resultKey = resultKey;
|
||||||
|
this.resultAmount = resultAmount;
|
||||||
|
this.ingredients = ingredients;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 7f04fd45b89164e4aa7c3deb2c68a98b
|
||||||
|
MonoImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 59ce10dada5487af683d0fd3e342130e
|
||||||
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -0,0 +1,267 @@
|
|||||||
|
%YAML 1.1
|
||||||
|
%TAG !u! tag:unity3d.com,2011:
|
||||||
|
--- !u!29 &1
|
||||||
|
OcclusionCullingSettings:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
serializedVersion: 2
|
||||||
|
m_OcclusionBakeSettings:
|
||||||
|
smallestOccluder: 5
|
||||||
|
smallestHole: 0.25
|
||||||
|
backfaceThreshold: 100
|
||||||
|
m_SceneGUID: 00000000000000000000000000000000
|
||||||
|
m_OcclusionCullingData: {fileID: 0}
|
||||||
|
--- !u!104 &2
|
||||||
|
RenderSettings:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
serializedVersion: 9
|
||||||
|
m_Fog: 0
|
||||||
|
m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1}
|
||||||
|
m_FogMode: 3
|
||||||
|
m_FogDensity: 0.01
|
||||||
|
m_LinearFogStart: 0
|
||||||
|
m_LinearFogEnd: 300
|
||||||
|
m_AmbientSkyColor: {r: 0.212, g: 0.227, b: 0.259, a: 1}
|
||||||
|
m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1}
|
||||||
|
m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1}
|
||||||
|
m_AmbientIntensity: 1
|
||||||
|
m_AmbientMode: 0
|
||||||
|
m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1}
|
||||||
|
m_SkyboxMaterial: {fileID: 10304, guid: 0000000000000000f000000000000000, type: 0}
|
||||||
|
m_HaloStrength: 0.5
|
||||||
|
m_FlareStrength: 1
|
||||||
|
m_FlareFadeSpeed: 3
|
||||||
|
m_HaloTexture: {fileID: 0}
|
||||||
|
m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0}
|
||||||
|
m_DefaultReflectionMode: 0
|
||||||
|
m_DefaultReflectionResolution: 128
|
||||||
|
m_ReflectionBounces: 1
|
||||||
|
m_ReflectionIntensity: 1
|
||||||
|
m_CustomReflection: {fileID: 0}
|
||||||
|
m_Sun: {fileID: 705507994}
|
||||||
|
m_IndirectSpecularColor: {r: 0, g: 0, b: 0, a: 1}
|
||||||
|
m_UseRadianceAmbientProbe: 0
|
||||||
|
--- !u!157 &3
|
||||||
|
LightmapSettings:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
serializedVersion: 12
|
||||||
|
m_GIWorkflowMode: 1
|
||||||
|
m_GISettings:
|
||||||
|
serializedVersion: 2
|
||||||
|
m_BounceScale: 1
|
||||||
|
m_IndirectOutputScale: 1
|
||||||
|
m_AlbedoBoost: 1
|
||||||
|
m_EnvironmentLightingMode: 0
|
||||||
|
m_EnableBakedLightmaps: 1
|
||||||
|
m_EnableRealtimeLightmaps: 0
|
||||||
|
m_LightmapEditorSettings:
|
||||||
|
serializedVersion: 12
|
||||||
|
m_Resolution: 2
|
||||||
|
m_BakeResolution: 40
|
||||||
|
m_AtlasSize: 1024
|
||||||
|
m_AO: 0
|
||||||
|
m_AOMaxDistance: 1
|
||||||
|
m_CompAOExponent: 1
|
||||||
|
m_CompAOExponentDirect: 0
|
||||||
|
m_ExtractAmbientOcclusion: 0
|
||||||
|
m_Padding: 2
|
||||||
|
m_LightmapParameters: {fileID: 0}
|
||||||
|
m_LightmapsBakeMode: 1
|
||||||
|
m_TextureCompression: 1
|
||||||
|
m_FinalGather: 0
|
||||||
|
m_FinalGatherFiltering: 1
|
||||||
|
m_FinalGatherRayCount: 256
|
||||||
|
m_ReflectionCompression: 2
|
||||||
|
m_MixedBakeMode: 2
|
||||||
|
m_BakeBackend: 1
|
||||||
|
m_PVRSampling: 1
|
||||||
|
m_PVRDirectSampleCount: 32
|
||||||
|
m_PVRSampleCount: 500
|
||||||
|
m_PVRBounces: 2
|
||||||
|
m_PVREnvironmentSampleCount: 500
|
||||||
|
m_PVREnvironmentReferencePointCount: 2048
|
||||||
|
m_PVRFilteringMode: 2
|
||||||
|
m_PVRDenoiserTypeDirect: 0
|
||||||
|
m_PVRDenoiserTypeIndirect: 0
|
||||||
|
m_PVRDenoiserTypeAO: 0
|
||||||
|
m_PVRFilterTypeDirect: 0
|
||||||
|
m_PVRFilterTypeIndirect: 0
|
||||||
|
m_PVRFilterTypeAO: 0
|
||||||
|
m_PVREnvironmentMIS: 0
|
||||||
|
m_PVRCulling: 1
|
||||||
|
m_PVRFilteringGaussRadiusDirect: 1
|
||||||
|
m_PVRFilteringGaussRadiusIndirect: 5
|
||||||
|
m_PVRFilteringGaussRadiusAO: 2
|
||||||
|
m_PVRFilteringAtrousPositionSigmaDirect: 0.5
|
||||||
|
m_PVRFilteringAtrousPositionSigmaIndirect: 2
|
||||||
|
m_PVRFilteringAtrousPositionSigmaAO: 1
|
||||||
|
m_ExportTrainingData: 0
|
||||||
|
m_TrainingDataDestination: TrainingData
|
||||||
|
m_LightProbeSampleCountMultiplier: 4
|
||||||
|
m_LightingDataAsset: {fileID: 0}
|
||||||
|
m_LightingSettings: {fileID: 0}
|
||||||
|
--- !u!196 &4
|
||||||
|
NavMeshSettings:
|
||||||
|
serializedVersion: 2
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_BuildSettings:
|
||||||
|
serializedVersion: 2
|
||||||
|
agentTypeID: 0
|
||||||
|
agentRadius: 0.5
|
||||||
|
agentHeight: 2
|
||||||
|
agentSlope: 45
|
||||||
|
agentClimb: 0.4
|
||||||
|
ledgeDropHeight: 0
|
||||||
|
maxJumpAcrossDistance: 0
|
||||||
|
minRegionArea: 2
|
||||||
|
manualCellSize: 0
|
||||||
|
cellSize: 0.16666667
|
||||||
|
manualTileSize: 0
|
||||||
|
tileSize: 256
|
||||||
|
accuratePlacement: 0
|
||||||
|
debug:
|
||||||
|
m_Flags: 0
|
||||||
|
m_NavMeshData: {fileID: 0}
|
||||||
|
--- !u!1 &705507993
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInternal: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 705507995}
|
||||||
|
- component: {fileID: 705507994}
|
||||||
|
m_Layer: 0
|
||||||
|
m_Name: Directional Light
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!108 &705507994
|
||||||
|
Light:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInternal: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 705507993}
|
||||||
|
m_Enabled: 1
|
||||||
|
serializedVersion: 8
|
||||||
|
m_Type: 1
|
||||||
|
m_Color: {r: 1, g: 0.95686275, b: 0.8392157, a: 1}
|
||||||
|
m_Intensity: 1
|
||||||
|
m_Range: 10
|
||||||
|
m_SpotAngle: 30
|
||||||
|
m_CookieSize: 10
|
||||||
|
m_Shadows:
|
||||||
|
m_Type: 2
|
||||||
|
m_Resolution: -1
|
||||||
|
m_CustomResolution: -1
|
||||||
|
m_Strength: 1
|
||||||
|
m_Bias: 0.05
|
||||||
|
m_NormalBias: 0.4
|
||||||
|
m_NearPlane: 0.2
|
||||||
|
m_Cookie: {fileID: 0}
|
||||||
|
m_DrawHalo: 0
|
||||||
|
m_Flare: {fileID: 0}
|
||||||
|
m_RenderMode: 0
|
||||||
|
m_CullingMask:
|
||||||
|
serializedVersion: 2
|
||||||
|
m_Bits: 4294967295
|
||||||
|
m_Lightmapping: 1
|
||||||
|
m_LightShadowCasterMode: 0
|
||||||
|
m_AreaSize: {x: 1, y: 1}
|
||||||
|
m_BounceIntensity: 1
|
||||||
|
m_ColorTemperature: 6570
|
||||||
|
m_UseColorTemperature: 0
|
||||||
|
m_ShadowRadius: 0
|
||||||
|
m_ShadowAngle: 0
|
||||||
|
--- !u!4 &705507995
|
||||||
|
Transform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInternal: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 705507993}
|
||||||
|
m_LocalRotation: {x: 0.40821788, y: -0.23456968, z: 0.10938163, w: 0.8754261}
|
||||||
|
m_LocalPosition: {x: 0, y: 3, z: 0}
|
||||||
|
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||||
|
m_Children: []
|
||||||
|
m_Father: {fileID: 0}
|
||||||
|
m_RootOrder: 1
|
||||||
|
m_LocalEulerAnglesHint: {x: 50, y: -30, z: 0}
|
||||||
|
--- !u!1 &963194225
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInternal: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 963194228}
|
||||||
|
- component: {fileID: 963194227}
|
||||||
|
- component: {fileID: 963194226}
|
||||||
|
m_Layer: 0
|
||||||
|
m_Name: Main Camera
|
||||||
|
m_TagString: MainCamera
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!81 &963194226
|
||||||
|
AudioListener:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInternal: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 963194225}
|
||||||
|
m_Enabled: 1
|
||||||
|
--- !u!20 &963194227
|
||||||
|
Camera:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInternal: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 963194225}
|
||||||
|
m_Enabled: 1
|
||||||
|
serializedVersion: 2
|
||||||
|
m_ClearFlags: 1
|
||||||
|
m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0}
|
||||||
|
m_projectionMatrixMode: 1
|
||||||
|
m_SensorSize: {x: 36, y: 24}
|
||||||
|
m_LensShift: {x: 0, y: 0}
|
||||||
|
m_GateFitMode: 2
|
||||||
|
m_FocalLength: 50
|
||||||
|
m_NormalizedViewPortRect:
|
||||||
|
serializedVersion: 2
|
||||||
|
x: 0
|
||||||
|
y: 0
|
||||||
|
width: 1
|
||||||
|
height: 1
|
||||||
|
near clip plane: 0.3
|
||||||
|
far clip plane: 1000
|
||||||
|
field of view: 60
|
||||||
|
orthographic: 0
|
||||||
|
orthographic size: 5
|
||||||
|
m_Depth: -1
|
||||||
|
m_CullingMask:
|
||||||
|
serializedVersion: 2
|
||||||
|
m_Bits: 4294967295
|
||||||
|
m_RenderingPath: -1
|
||||||
|
m_TargetTexture: {fileID: 0}
|
||||||
|
m_TargetDisplay: 0
|
||||||
|
m_TargetEye: 3
|
||||||
|
m_HDR: 1
|
||||||
|
m_AllowMSAA: 1
|
||||||
|
m_AllowDynamicResolution: 0
|
||||||
|
m_ForceIntoRT: 0
|
||||||
|
m_OcclusionCulling: 1
|
||||||
|
m_StereoConvergence: 10
|
||||||
|
m_StereoSeparation: 0.022
|
||||||
|
--- !u!4 &963194228
|
||||||
|
Transform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInternal: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 963194225}
|
||||||
|
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||||
|
m_LocalPosition: {x: 0, y: 1, z: -10}
|
||||||
|
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||||
|
m_Children: []
|
||||||
|
m_Father: {fileID: 0}
|
||||||
|
m_RootOrder: 0
|
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 9fc0d4010bbf28b4594072e72b8655ab
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: c4bcb8ef44fa96f7faf04ea09278a639
|
||||||
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: a9b7ddeabba1be329a481d791203e35d
|
||||||
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -0,0 +1,22 @@
|
|||||||
|
%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: 6ef36b19b094710baaaabf5321e6d693, type: 3}
|
||||||
|
m_Name: Axe
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
itemId: axe
|
||||||
|
itemName: "\u0422\u043E\u043F\u043E\u0440"
|
||||||
|
description: "\u0418\u043D\u0441\u0442\u0440\u0443\u043C\u0435\u043D\u0442 \u0434\u043B\u044F
|
||||||
|
\u0440\u0443\u0431\u043A\u0438 \u0434\u0440\u0435\u0432\u0435\u0441\u0438\u043D\u044B."
|
||||||
|
icon: {fileID: 0}
|
||||||
|
itemColor: {r: 0.76, g: 0.72, b: 0.62, a: 1}
|
||||||
|
maxStack: 1
|
||||||
|
isResource: 0
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: c551cb9c94c31a384801812cc05d1f81
|
||||||
|
NativeFormatImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
mainObjectFileID: 11400000
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -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: 6ef36b19b094710baaaabf5321e6d693, type: 3}
|
||||||
|
m_Name: Bandage
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
itemId: bandage
|
||||||
|
itemName: "\u0411\u0438\u043D\u0442"
|
||||||
|
description: "\u0420\u0430\u0441\u0445\u043E\u0434\u043D\u044B\u0439 \u043F\u0440\u0435\u0434\u043C\u0435\u0442
|
||||||
|
\u0434\u043B\u044F \u0432\u043E\u0441\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D\u0438\u044F
|
||||||
|
\u0437\u0434\u043E\u0440\u043E\u0432\u044C\u044F."
|
||||||
|
icon: {fileID: 0}
|
||||||
|
itemColor: {r: 0.92, g: 0.9, b: 0.82, a: 1}
|
||||||
|
maxStack: 16
|
||||||
|
isResource: 0
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 8634b3cc04707e0e4969bee2ca258610
|
||||||
|
NativeFormatImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
mainObjectFileID: 11400000
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -0,0 +1,22 @@
|
|||||||
|
%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: 6ef36b19b094710baaaabf5321e6d693, type: 3}
|
||||||
|
m_Name: Coal
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
itemId: coal
|
||||||
|
itemName: "\u0423\u0433\u043E\u043B\u044C"
|
||||||
|
description: "\u0413\u043E\u0440\u044E\u0447\u0438\u0439 \u0440\u0435\u0441\u0443\u0440\u0441
|
||||||
|
\u0434\u043B\u044F \u0444\u0430\u043A\u0435\u043B\u043E\u0432."
|
||||||
|
icon: {fileID: 0}
|
||||||
|
itemColor: {r: 0.08, g: 0.08, b: 0.08, a: 1}
|
||||||
|
maxStack: 64
|
||||||
|
isResource: 1
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: a99f6c03555ffbb9a92ce0eadabe6d36
|
||||||
|
NativeFormatImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
mainObjectFileID: 11400000
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -0,0 +1,22 @@
|
|||||||
|
%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: 6ef36b19b094710baaaabf5321e6d693, type: 3}
|
||||||
|
m_Name: Crystal
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
itemId: crystal
|
||||||
|
itemName: "\u041A\u0440\u0438\u0441\u0442\u0430\u043B\u043B"
|
||||||
|
description: "\u0420\u0435\u0434\u043A\u0438\u0439 \u043C\u0430\u0433\u0438\u0447\u0435\u0441\u043A\u0438\u0439
|
||||||
|
\u0440\u0435\u0441\u0443\u0440\u0441."
|
||||||
|
icon: {fileID: 0}
|
||||||
|
itemColor: {r: 0.3, g: 0.8, b: 1, a: 1}
|
||||||
|
maxStack: 16
|
||||||
|
isResource: 1
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 2898554c86a407d8d8981f442762f1c7
|
||||||
|
NativeFormatImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
mainObjectFileID: 11400000
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -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: 6ef36b19b094710baaaabf5321e6d693, type: 3}
|
||||||
|
m_Name: Fiber
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
itemId: fiber
|
||||||
|
itemName: "\u0412\u043E\u043B\u043E\u043A\u043D\u043E"
|
||||||
|
description: "\u0413\u0438\u0431\u043A\u0438\u0439 \u043C\u0430\u0442\u0435\u0440\u0438\u0430\u043B
|
||||||
|
\u0434\u043B\u044F \u043F\u0435\u0440\u0435\u0432\u044F\u0437\u043A\u0438 \u0438
|
||||||
|
\u0441\u0432\u044F\u0437\u043A\u0438 \u0434\u0435\u0442\u0430\u043B\u0435\u0439."
|
||||||
|
icon: {fileID: 0}
|
||||||
|
itemColor: {r: 0.72, g: 0.78, b: 0.48, a: 1}
|
||||||
|
maxStack: 64
|
||||||
|
isResource: 1
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 731e9c550603b5428bb8d25a301e133a
|
||||||
|
NativeFormatImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
mainObjectFileID: 11400000
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -0,0 +1,22 @@
|
|||||||
|
%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: 6ef36b19b094710baaaabf5321e6d693, type: 3}
|
||||||
|
m_Name: Herb
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
itemId: herb
|
||||||
|
itemName: "\u0422\u0440\u0430\u0432\u0430"
|
||||||
|
description: "\u041B\u0435\u0447\u0435\u0431\u043D\u043E\u0435 \u0440\u0430\u0441\u0442\u0435\u043D\u0438\u0435
|
||||||
|
\u0434\u043B\u044F \u043F\u0440\u043E\u0441\u0442\u044B\u0445 \u0440\u0430\u0441\u0445\u043E\u0434\u043D\u0438\u043A\u043E\u0432."
|
||||||
|
icon: {fileID: 0}
|
||||||
|
itemColor: {r: 0.2, g: 0.66, b: 0.24, a: 1}
|
||||||
|
maxStack: 64
|
||||||
|
isResource: 1
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: a12d5518b1be9a23e8da20adbda04b3c
|
||||||
|
NativeFormatImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
mainObjectFileID: 11400000
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -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: 6ef36b19b094710baaaabf5321e6d693, type: 3}
|
||||||
|
m_Name: IronOre
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
itemId: iron_ore
|
||||||
|
itemName: "\u0416\u0435\u043B\u0435\u0437\u043D\u0430\u044F \u0440\u0443\u0434\u0430"
|
||||||
|
description: "\u041C\u0435\u0442\u0430\u043B\u043B\u0438\u0447\u0435\u0441\u043A\u043E\u0435
|
||||||
|
\u0441\u044B\u0440\u044C\u0435 \u0434\u043B\u044F \u043F\u0440\u043E\u0447\u043D\u044B\u0445
|
||||||
|
\u0438\u043D\u0441\u0442\u0440\u0443\u043C\u0435\u043D\u0442\u043E\u0432."
|
||||||
|
icon: {fileID: 0}
|
||||||
|
itemColor: {r: 0.56, g: 0.58, b: 0.64, a: 1}
|
||||||
|
maxStack: 64
|
||||||
|
isResource: 1
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 047912ffa2c6ea368bab6c09e1672723
|
||||||
|
NativeFormatImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
mainObjectFileID: 11400000
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -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: 6ef36b19b094710baaaabf5321e6d693, type: 3}
|
||||||
|
m_Name: Leather
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
itemId: leather
|
||||||
|
itemName: "\u041A\u043E\u0436\u0430"
|
||||||
|
description: "\u041F\u0440\u043E\u0447\u043D\u044B\u0439 \u043C\u0430\u0442\u0435\u0440\u0438\u0430\u043B
|
||||||
|
\u0434\u043B\u044F \u043A\u0440\u0435\u043F\u043B\u0435\u043D\u0438\u0439 \u0438
|
||||||
|
\u0443\u043A\u0440\u0430\u0448\u0435\u043D\u0438\u0439."
|
||||||
|
icon: {fileID: 0}
|
||||||
|
itemColor: {r: 0.45, g: 0.25, b: 0.12, a: 1}
|
||||||
|
maxStack: 32
|
||||||
|
isResource: 1
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 06dc698c3120cc05fbd3b3aa67b9d346
|
||||||
|
NativeFormatImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
mainObjectFileID: 11400000
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -0,0 +1,22 @@
|
|||||||
|
%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: 6ef36b19b094710baaaabf5321e6d693, type: 3}
|
||||||
|
m_Name: MagicAmulet
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
itemId: magic_amulet
|
||||||
|
itemName: "\u041C\u0430\u0433\u0438\u0447\u0435\u0441\u043A\u0438\u0439 \u0430\u043C\u0443\u043B\u0435\u0442"
|
||||||
|
description: "\u0420\u0435\u0434\u043A\u0438\u0439 \u043F\u0440\u0435\u0434\u043C\u0435\u0442,
|
||||||
|
\u0443\u0441\u0438\u043B\u0438\u0432\u0430\u044E\u0449\u0438\u0439 \u0433\u0435\u0440\u043E\u044F."
|
||||||
|
icon: {fileID: 0}
|
||||||
|
itemColor: {r: 0.55, g: 0.35, b: 0.95, a: 1}
|
||||||
|
maxStack: 1
|
||||||
|
isResource: 0
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: a5782aa7f5c5df04ebfd864dfcbe6626
|
||||||
|
NativeFormatImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
mainObjectFileID: 11400000
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -0,0 +1,22 @@
|
|||||||
|
%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: 6ef36b19b094710baaaabf5321e6d693, type: 3}
|
||||||
|
m_Name: Pickaxe
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
itemId: pickaxe
|
||||||
|
itemName: "\u041A\u0438\u0440\u043A\u0430"
|
||||||
|
description: "\u0418\u043D\u0441\u0442\u0440\u0443\u043C\u0435\u043D\u0442 \u0434\u043B\u044F
|
||||||
|
\u0434\u043E\u0431\u044B\u0447\u0438 \u043A\u0430\u043C\u043D\u044F \u0438 \u0440\u0443\u0434\u044B."
|
||||||
|
icon: {fileID: 0}
|
||||||
|
itemColor: {r: 0.65, g: 0.68, b: 0.72, a: 1}
|
||||||
|
maxStack: 1
|
||||||
|
isResource: 0
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 85e4e25ead3f0b85c8d8972487ea9070
|
||||||
|
NativeFormatImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
mainObjectFileID: 11400000
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -0,0 +1,22 @@
|
|||||||
|
%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: 6ef36b19b094710baaaabf5321e6d693, type: 3}
|
||||||
|
m_Name: Stick
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
itemId: stick
|
||||||
|
itemName: "\u041F\u0430\u043B\u043A\u0430"
|
||||||
|
description: "\u0413\u043E\u0442\u043E\u0432\u0430\u044F \u0440\u0443\u043A\u043E\u044F\u0442\u044C
|
||||||
|
\u0434\u043B\u044F \u043F\u0440\u043E\u0441\u0442\u044B\u0445 \u0440\u0435\u0446\u0435\u043F\u0442\u043E\u0432."
|
||||||
|
icon: {fileID: 0}
|
||||||
|
itemColor: {r: 0.64, g: 0.42, b: 0.2, a: 1}
|
||||||
|
maxStack: 64
|
||||||
|
isResource: 1
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 9b1e5b19a374df51f808e167cebefc6d
|
||||||
|
NativeFormatImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
mainObjectFileID: 11400000
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -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: 6ef36b19b094710baaaabf5321e6d693, type: 3}
|
||||||
|
m_Name: Stone
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
itemId: stone
|
||||||
|
itemName: "\u041A\u0430\u043C\u0435\u043D\u044C"
|
||||||
|
description: "\u0422\u0432\u0435\u0440\u0434\u044B\u0439 \u0440\u0435\u0441\u0443\u0440\u0441
|
||||||
|
\u0434\u043B\u044F \u043B\u0435\u0437\u0432\u0438\u0439 \u0438 \u0443\u0434\u0430\u0440\u043D\u044B\u0445
|
||||||
|
\u0447\u0430\u0441\u0442\u0435\u0439 \u0438\u043D\u0441\u0442\u0440\u0443\u043C\u0435\u043D\u0442\u043E\u0432."
|
||||||
|
icon: {fileID: 0}
|
||||||
|
itemColor: {r: 0.55, g: 0.55, b: 0.55, a: 1}
|
||||||
|
maxStack: 64
|
||||||
|
isResource: 1
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 6e529ec401f4921109b9361696784a0f
|
||||||
|
NativeFormatImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
mainObjectFileID: 11400000
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -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: 6ef36b19b094710baaaabf5321e6d693, type: 3}
|
||||||
|
m_Name: Torch
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
itemId: torch
|
||||||
|
itemName: "\u0424\u0430\u043A\u0435\u043B"
|
||||||
|
description: "\u0418\u0441\u0442\u043E\u0447\u043D\u0438\u043A \u0441\u0432\u0435\u0442\u0430,
|
||||||
|
\u0441\u043E\u0437\u0434\u0430\u0435\u0442\u0441\u044F \u043F\u043E \u0434\u0432\u0435
|
||||||
|
\u0448\u0442\u0443\u043A\u0438 \u0437\u0430 \u043A\u0440\u0430\u0444\u0442."
|
||||||
|
icon: {fileID: 0}
|
||||||
|
itemColor: {r: 1, g: 0.62, b: 0.18, a: 1}
|
||||||
|
maxStack: 16
|
||||||
|
isResource: 0
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: ef07b3851e19accb9ba9cee4b9e70176
|
||||||
|
NativeFormatImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
mainObjectFileID: 11400000
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -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: 6ef36b19b094710baaaabf5321e6d693, type: 3}
|
||||||
|
m_Name: Wood
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
itemId: wood
|
||||||
|
itemName: "\u0414\u0440\u0435\u0432\u0435\u0441\u0438\u043D\u0430"
|
||||||
|
description: "\u0411\u0430\u0437\u043E\u0432\u044B\u0439 \u0441\u0442\u0440\u043E\u0438\u0442\u0435\u043B\u044C\u043D\u044B\u0439
|
||||||
|
\u0440\u0435\u0441\u0443\u0440\u0441 \u0434\u043B\u044F \u0440\u0443\u043A\u043E\u044F\u0442\u0435\u0439
|
||||||
|
\u0438 \u043F\u0440\u043E\u0441\u0442\u044B\u0445 \u0438\u043D\u0441\u0442\u0440\u0443\u043C\u0435\u043D\u0442\u043E\u0432."
|
||||||
|
icon: {fileID: 0}
|
||||||
|
itemColor: {r: 0.58, g: 0.36, b: 0.16, a: 1}
|
||||||
|
maxStack: 64
|
||||||
|
isResource: 1
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: d983d260aa4f9da8086678d2a8ec253f
|
||||||
|
NativeFormatImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
mainObjectFileID: 11400000
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 7b08a7091ce6f3be38f44d0f046df44d
|
||||||
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -0,0 +1,29 @@
|
|||||||
|
%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: 6df24091ce261531692311bf89ece59a, type: 3}
|
||||||
|
m_Name: Recipe_Axe
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
recipeId: recipe_axe
|
||||||
|
recipeName: "\u0422\u043E\u043F\u043E\u0440"
|
||||||
|
description: "\u041F\u0440\u043E\u0441\u0442\u043E\u0439 \u0442\u043E\u043F\u043E\u0440
|
||||||
|
\u0438\u0437 \u0434\u0440\u0435\u0432\u0435\u0441\u0438\u043D\u044B, \u043F\u0430\u043B\u043A\u0438
|
||||||
|
\u0438 \u043A\u0430\u043C\u043D\u044F."
|
||||||
|
ingredients:
|
||||||
|
- item: {fileID: 11400000, guid: d983d260aa4f9da8086678d2a8ec253f, type: 2}
|
||||||
|
amount: 2
|
||||||
|
- item: {fileID: 11400000, guid: 9b1e5b19a374df51f808e167cebefc6d, type: 2}
|
||||||
|
amount: 1
|
||||||
|
- item: {fileID: 11400000, guid: 6e529ec401f4921109b9361696784a0f, type: 2}
|
||||||
|
amount: 1
|
||||||
|
result: {fileID: 11400000, guid: c551cb9c94c31a384801812cc05d1f81, type: 2}
|
||||||
|
resultAmount: 1
|
||||||
|
unlockedByDefault: 1
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: f82d1630587e20f43b0546706c1d44b7
|
||||||
|
NativeFormatImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
mainObjectFileID: 11400000
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -0,0 +1,27 @@
|
|||||||
|
%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: 6df24091ce261531692311bf89ece59a, type: 3}
|
||||||
|
m_Name: Recipe_Bandage
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
recipeId: recipe_bandage
|
||||||
|
recipeName: "\u0411\u0438\u043D\u0442"
|
||||||
|
description: "\u041F\u0440\u043E\u0441\u0442\u0430\u044F \u043B\u0435\u0447\u0435\u0431\u043D\u0430\u044F
|
||||||
|
\u043F\u043E\u0432\u044F\u0437\u043A\u0430 \u0438\u0437 \u0432\u043E\u043B\u043E\u043A\u043D\u0430
|
||||||
|
\u0438 \u0442\u0440\u0430\u0432\u044B."
|
||||||
|
ingredients:
|
||||||
|
- item: {fileID: 11400000, guid: 731e9c550603b5428bb8d25a301e133a, type: 2}
|
||||||
|
amount: 2
|
||||||
|
- item: {fileID: 11400000, guid: a12d5518b1be9a23e8da20adbda04b3c, type: 2}
|
||||||
|
amount: 1
|
||||||
|
result: {fileID: 11400000, guid: 8634b3cc04707e0e4969bee2ca258610, type: 2}
|
||||||
|
resultAmount: 1
|
||||||
|
unlockedByDefault: 1
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: d8be9c5cc62d097d3958ac4736f7c864
|
||||||
|
NativeFormatImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
mainObjectFileID: 11400000
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -0,0 +1,29 @@
|
|||||||
|
%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: 6df24091ce261531692311bf89ece59a, type: 3}
|
||||||
|
m_Name: Recipe_MagicAmulet
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
recipeId: recipe_magic_amulet
|
||||||
|
recipeName: "\u041C\u0430\u0433\u0438\u0447\u0435\u0441\u043A\u0438\u0439 \u0430\u043C\u0443\u043B\u0435\u0442"
|
||||||
|
description: "\u0420\u0435\u0434\u043A\u0438\u0439 \u0430\u043C\u0443\u043B\u0435\u0442
|
||||||
|
\u0438\u0437 \u043A\u0440\u0438\u0441\u0442\u0430\u043B\u043B\u043E\u0432, \u043A\u043E\u0436\u0438
|
||||||
|
\u0438 \u0436\u0435\u043B\u0435\u0437\u043D\u043E\u0439 \u0440\u0443\u0434\u044B."
|
||||||
|
ingredients:
|
||||||
|
- item: {fileID: 11400000, guid: 2898554c86a407d8d8981f442762f1c7, type: 2}
|
||||||
|
amount: 2
|
||||||
|
- item: {fileID: 11400000, guid: 06dc698c3120cc05fbd3b3aa67b9d346, type: 2}
|
||||||
|
amount: 1
|
||||||
|
- item: {fileID: 11400000, guid: 047912ffa2c6ea368bab6c09e1672723, type: 2}
|
||||||
|
amount: 1
|
||||||
|
result: {fileID: 11400000, guid: a5782aa7f5c5df04ebfd864dfcbe6626, type: 2}
|
||||||
|
resultAmount: 1
|
||||||
|
unlockedByDefault: 1
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 45fb87232e12f2d2a9965c283b06fdf9
|
||||||
|
NativeFormatImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
mainObjectFileID: 11400000
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -0,0 +1,29 @@
|
|||||||
|
%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: 6df24091ce261531692311bf89ece59a, type: 3}
|
||||||
|
m_Name: Recipe_Pickaxe
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
recipeId: recipe_pickaxe
|
||||||
|
recipeName: "\u041A\u0438\u0440\u043A\u0430"
|
||||||
|
description: "\u041F\u0440\u043E\u0447\u043D\u0430\u044F \u043A\u0438\u0440\u043A\u0430
|
||||||
|
\u0434\u043B\u044F \u0434\u043E\u0431\u044B\u0447\u0438 \u0442\u0432\u0435\u0440\u0434\u044B\u0445
|
||||||
|
\u0440\u0435\u0441\u0443\u0440\u0441\u043E\u0432."
|
||||||
|
ingredients:
|
||||||
|
- item: {fileID: 11400000, guid: d983d260aa4f9da8086678d2a8ec253f, type: 2}
|
||||||
|
amount: 2
|
||||||
|
- item: {fileID: 11400000, guid: 9b1e5b19a374df51f808e167cebefc6d, type: 2}
|
||||||
|
amount: 2
|
||||||
|
- item: {fileID: 11400000, guid: 047912ffa2c6ea368bab6c09e1672723, type: 2}
|
||||||
|
amount: 2
|
||||||
|
result: {fileID: 11400000, guid: 85e4e25ead3f0b85c8d8972487ea9070, type: 2}
|
||||||
|
resultAmount: 1
|
||||||
|
unlockedByDefault: 1
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: afc3c8211946bcabeaff227e59682442
|
||||||
|
NativeFormatImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
mainObjectFileID: 11400000
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -0,0 +1,28 @@
|
|||||||
|
%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: 6df24091ce261531692311bf89ece59a, type: 3}
|
||||||
|
m_Name: Recipe_Torch
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
recipeId: recipe_torch
|
||||||
|
recipeName: "\u0424\u0430\u043A\u0435\u043B"
|
||||||
|
description: "\u0414\u0432\u0430 \u0444\u0430\u043A\u0435\u043B\u0430 \u0438\u0437
|
||||||
|
\u043F\u0430\u043B\u043A\u0438, \u0443\u0433\u043B\u044F \u0438 \u0432\u043E\u043B\u043E\u043A\u043D\u0430."
|
||||||
|
ingredients:
|
||||||
|
- item: {fileID: 11400000, guid: 9b1e5b19a374df51f808e167cebefc6d, type: 2}
|
||||||
|
amount: 1
|
||||||
|
- item: {fileID: 11400000, guid: a99f6c03555ffbb9a92ce0eadabe6d36, type: 2}
|
||||||
|
amount: 1
|
||||||
|
- item: {fileID: 11400000, guid: 731e9c550603b5428bb8d25a301e133a, type: 2}
|
||||||
|
amount: 1
|
||||||
|
result: {fileID: 11400000, guid: ef07b3851e19accb9ba9cee4b9e70176, type: 2}
|
||||||
|
resultAmount: 2
|
||||||
|
unlockedByDefault: 1
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 35c59b62a86fde7098d98950b5162e6d
|
||||||
|
NativeFormatImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
mainObjectFileID: 11400000
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 3afeb133b057a3104bb998b23620d1ce
|
||||||
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
Binary file not shown.
@@ -0,0 +1,21 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: c14056149c9b9c76aa9cd6502d25ba1e
|
||||||
|
TrueTypeFontImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 4
|
||||||
|
fontSize: 16
|
||||||
|
forceTextureCase: -2
|
||||||
|
characterSpacing: 0
|
||||||
|
characterPadding: 1
|
||||||
|
includeFontData: 1
|
||||||
|
fontNames:
|
||||||
|
- Ubuntu
|
||||||
|
fallbackFontReferences: []
|
||||||
|
customCharacters:
|
||||||
|
fontRenderingMode: 0
|
||||||
|
ascentCalculationMode: 1
|
||||||
|
useLegacyBoundsCalculation: 0
|
||||||
|
shouldRoundAdvanceValue: 1
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
Binary file not shown.
@@ -0,0 +1,21 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: b1fad9eb69ff706f38e9998939ede672
|
||||||
|
TrueTypeFontImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 4
|
||||||
|
fontSize: 16
|
||||||
|
forceTextureCase: -2
|
||||||
|
characterSpacing: 0
|
||||||
|
characterPadding: 1
|
||||||
|
includeFontData: 1
|
||||||
|
fontNames:
|
||||||
|
- Ubuntu
|
||||||
|
fallbackFontReferences: []
|
||||||
|
customCharacters:
|
||||||
|
fontRenderingMode: 0
|
||||||
|
ascentCalculationMode: 1
|
||||||
|
useLegacyBoundsCalculation: 0
|
||||||
|
shouldRoundAdvanceValue: 1
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 4be8790008137d2d59646e5b0d44ce1b
|
||||||
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -0,0 +1,83 @@
|
|||||||
|
%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_Coal
|
||||||
|
m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
|
||||||
|
m_Parent: {fileID: 0}
|
||||||
|
m_ModifiedSerializedProperties: 0
|
||||||
|
m_ValidKeywords: []
|
||||||
|
m_InvalidKeywords: []
|
||||||
|
m_LightmapFlags: 4
|
||||||
|
m_EnableInstancingVariants: 0
|
||||||
|
m_DoubleSidedGI: 0
|
||||||
|
m_CustomRenderQueue: -1
|
||||||
|
stringTagMap: {}
|
||||||
|
disabledShaderPasses: []
|
||||||
|
m_LockedProperties:
|
||||||
|
m_SavedProperties:
|
||||||
|
serializedVersion: 3
|
||||||
|
m_TexEnvs:
|
||||||
|
- _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}
|
||||||
|
m_Ints: []
|
||||||
|
m_Floats:
|
||||||
|
- _BumpScale: 1
|
||||||
|
- _Cutoff: 0.5
|
||||||
|
- _DetailNormalMapScale: 1
|
||||||
|
- _DstBlend: 0
|
||||||
|
- _GlossMapScale: 1
|
||||||
|
- _Glossiness: 0.5
|
||||||
|
- _GlossyReflections: 1
|
||||||
|
- _Metallic: 0
|
||||||
|
- _Mode: 0
|
||||||
|
- _OcclusionStrength: 1
|
||||||
|
- _Parallax: 0.02
|
||||||
|
- _SmoothnessTextureChannel: 0
|
||||||
|
- _SpecularHighlights: 1
|
||||||
|
- _SrcBlend: 1
|
||||||
|
- _UVSec: 0
|
||||||
|
- _ZWrite: 1
|
||||||
|
m_Colors:
|
||||||
|
- _Color: {r: 0.05, g: 0.05, b: 0.05, a: 1}
|
||||||
|
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
|
||||||
|
m_BuildTextureStacks: []
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 7ffb63bded935f3d29d57e10683bfe5b
|
||||||
|
NativeFormatImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
mainObjectFileID: 2100000
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -0,0 +1,83 @@
|
|||||||
|
%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_Crystal
|
||||||
|
m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
|
||||||
|
m_Parent: {fileID: 0}
|
||||||
|
m_ModifiedSerializedProperties: 0
|
||||||
|
m_ValidKeywords: []
|
||||||
|
m_InvalidKeywords: []
|
||||||
|
m_LightmapFlags: 4
|
||||||
|
m_EnableInstancingVariants: 0
|
||||||
|
m_DoubleSidedGI: 0
|
||||||
|
m_CustomRenderQueue: -1
|
||||||
|
stringTagMap: {}
|
||||||
|
disabledShaderPasses: []
|
||||||
|
m_LockedProperties:
|
||||||
|
m_SavedProperties:
|
||||||
|
serializedVersion: 3
|
||||||
|
m_TexEnvs:
|
||||||
|
- _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}
|
||||||
|
m_Ints: []
|
||||||
|
m_Floats:
|
||||||
|
- _BumpScale: 1
|
||||||
|
- _Cutoff: 0.5
|
||||||
|
- _DetailNormalMapScale: 1
|
||||||
|
- _DstBlend: 0
|
||||||
|
- _GlossMapScale: 1
|
||||||
|
- _Glossiness: 0.5
|
||||||
|
- _GlossyReflections: 1
|
||||||
|
- _Metallic: 0
|
||||||
|
- _Mode: 0
|
||||||
|
- _OcclusionStrength: 1
|
||||||
|
- _Parallax: 0.02
|
||||||
|
- _SmoothnessTextureChannel: 0
|
||||||
|
- _SpecularHighlights: 1
|
||||||
|
- _SrcBlend: 1
|
||||||
|
- _UVSec: 0
|
||||||
|
- _ZWrite: 1
|
||||||
|
m_Colors:
|
||||||
|
- _Color: {r: 0.35, g: 0.78, b: 0.95, a: 1}
|
||||||
|
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
|
||||||
|
m_BuildTextureStacks: []
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 478f50271a91ee97fb488cf8dede7f11
|
||||||
|
NativeFormatImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
mainObjectFileID: 2100000
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -0,0 +1,83 @@
|
|||||||
|
%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_Fiber
|
||||||
|
m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
|
||||||
|
m_Parent: {fileID: 0}
|
||||||
|
m_ModifiedSerializedProperties: 0
|
||||||
|
m_ValidKeywords: []
|
||||||
|
m_InvalidKeywords: []
|
||||||
|
m_LightmapFlags: 4
|
||||||
|
m_EnableInstancingVariants: 0
|
||||||
|
m_DoubleSidedGI: 0
|
||||||
|
m_CustomRenderQueue: -1
|
||||||
|
stringTagMap: {}
|
||||||
|
disabledShaderPasses: []
|
||||||
|
m_LockedProperties:
|
||||||
|
m_SavedProperties:
|
||||||
|
serializedVersion: 3
|
||||||
|
m_TexEnvs:
|
||||||
|
- _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}
|
||||||
|
m_Ints: []
|
||||||
|
m_Floats:
|
||||||
|
- _BumpScale: 1
|
||||||
|
- _Cutoff: 0.5
|
||||||
|
- _DetailNormalMapScale: 1
|
||||||
|
- _DstBlend: 0
|
||||||
|
- _GlossMapScale: 1
|
||||||
|
- _Glossiness: 0.5
|
||||||
|
- _GlossyReflections: 1
|
||||||
|
- _Metallic: 0
|
||||||
|
- _Mode: 0
|
||||||
|
- _OcclusionStrength: 1
|
||||||
|
- _Parallax: 0.02
|
||||||
|
- _SmoothnessTextureChannel: 0
|
||||||
|
- _SpecularHighlights: 1
|
||||||
|
- _SrcBlend: 1
|
||||||
|
- _UVSec: 0
|
||||||
|
- _ZWrite: 1
|
||||||
|
m_Colors:
|
||||||
|
- _Color: {r: 0.48, g: 0.66, b: 0.34, a: 1}
|
||||||
|
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
|
||||||
|
m_BuildTextureStacks: []
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: ae27ac3759ab6ac33b16e1b0627fa6a4
|
||||||
|
NativeFormatImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
mainObjectFileID: 2100000
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -0,0 +1,83 @@
|
|||||||
|
%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_Floor
|
||||||
|
m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
|
||||||
|
m_Parent: {fileID: 0}
|
||||||
|
m_ModifiedSerializedProperties: 0
|
||||||
|
m_ValidKeywords: []
|
||||||
|
m_InvalidKeywords: []
|
||||||
|
m_LightmapFlags: 4
|
||||||
|
m_EnableInstancingVariants: 0
|
||||||
|
m_DoubleSidedGI: 0
|
||||||
|
m_CustomRenderQueue: -1
|
||||||
|
stringTagMap: {}
|
||||||
|
disabledShaderPasses: []
|
||||||
|
m_LockedProperties:
|
||||||
|
m_SavedProperties:
|
||||||
|
serializedVersion: 3
|
||||||
|
m_TexEnvs:
|
||||||
|
- _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}
|
||||||
|
m_Ints: []
|
||||||
|
m_Floats:
|
||||||
|
- _BumpScale: 1
|
||||||
|
- _Cutoff: 0.5
|
||||||
|
- _DetailNormalMapScale: 1
|
||||||
|
- _DstBlend: 0
|
||||||
|
- _GlossMapScale: 1
|
||||||
|
- _Glossiness: 0.5
|
||||||
|
- _GlossyReflections: 1
|
||||||
|
- _Metallic: 0
|
||||||
|
- _Mode: 0
|
||||||
|
- _OcclusionStrength: 1
|
||||||
|
- _Parallax: 0.02
|
||||||
|
- _SmoothnessTextureChannel: 0
|
||||||
|
- _SpecularHighlights: 1
|
||||||
|
- _SrcBlend: 1
|
||||||
|
- _UVSec: 0
|
||||||
|
- _ZWrite: 1
|
||||||
|
m_Colors:
|
||||||
|
- _Color: {r: 0.36, g: 0.42, b: 0.36, a: 1}
|
||||||
|
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
|
||||||
|
m_BuildTextureStacks: []
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 89b2c0b2cf9d4a8bdab2d11346663204
|
||||||
|
NativeFormatImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
mainObjectFileID: 2100000
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -0,0 +1,83 @@
|
|||||||
|
%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_Herb
|
||||||
|
m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
|
||||||
|
m_Parent: {fileID: 0}
|
||||||
|
m_ModifiedSerializedProperties: 0
|
||||||
|
m_ValidKeywords: []
|
||||||
|
m_InvalidKeywords: []
|
||||||
|
m_LightmapFlags: 4
|
||||||
|
m_EnableInstancingVariants: 0
|
||||||
|
m_DoubleSidedGI: 0
|
||||||
|
m_CustomRenderQueue: -1
|
||||||
|
stringTagMap: {}
|
||||||
|
disabledShaderPasses: []
|
||||||
|
m_LockedProperties:
|
||||||
|
m_SavedProperties:
|
||||||
|
serializedVersion: 3
|
||||||
|
m_TexEnvs:
|
||||||
|
- _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}
|
||||||
|
m_Ints: []
|
||||||
|
m_Floats:
|
||||||
|
- _BumpScale: 1
|
||||||
|
- _Cutoff: 0.5
|
||||||
|
- _DetailNormalMapScale: 1
|
||||||
|
- _DstBlend: 0
|
||||||
|
- _GlossMapScale: 1
|
||||||
|
- _Glossiness: 0.5
|
||||||
|
- _GlossyReflections: 1
|
||||||
|
- _Metallic: 0
|
||||||
|
- _Mode: 0
|
||||||
|
- _OcclusionStrength: 1
|
||||||
|
- _Parallax: 0.02
|
||||||
|
- _SmoothnessTextureChannel: 0
|
||||||
|
- _SpecularHighlights: 1
|
||||||
|
- _SrcBlend: 1
|
||||||
|
- _UVSec: 0
|
||||||
|
- _ZWrite: 1
|
||||||
|
m_Colors:
|
||||||
|
- _Color: {r: 0.18, g: 0.62, b: 0.25, a: 1}
|
||||||
|
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
|
||||||
|
m_BuildTextureStacks: []
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 24fa33cbdee87c59db1cc41cf362908c
|
||||||
|
NativeFormatImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
mainObjectFileID: 2100000
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -0,0 +1,83 @@
|
|||||||
|
%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_Iron
|
||||||
|
m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
|
||||||
|
m_Parent: {fileID: 0}
|
||||||
|
m_ModifiedSerializedProperties: 0
|
||||||
|
m_ValidKeywords: []
|
||||||
|
m_InvalidKeywords: []
|
||||||
|
m_LightmapFlags: 4
|
||||||
|
m_EnableInstancingVariants: 0
|
||||||
|
m_DoubleSidedGI: 0
|
||||||
|
m_CustomRenderQueue: -1
|
||||||
|
stringTagMap: {}
|
||||||
|
disabledShaderPasses: []
|
||||||
|
m_LockedProperties:
|
||||||
|
m_SavedProperties:
|
||||||
|
serializedVersion: 3
|
||||||
|
m_TexEnvs:
|
||||||
|
- _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}
|
||||||
|
m_Ints: []
|
||||||
|
m_Floats:
|
||||||
|
- _BumpScale: 1
|
||||||
|
- _Cutoff: 0.5
|
||||||
|
- _DetailNormalMapScale: 1
|
||||||
|
- _DstBlend: 0
|
||||||
|
- _GlossMapScale: 1
|
||||||
|
- _Glossiness: 0.5
|
||||||
|
- _GlossyReflections: 1
|
||||||
|
- _Metallic: 0
|
||||||
|
- _Mode: 0
|
||||||
|
- _OcclusionStrength: 1
|
||||||
|
- _Parallax: 0.02
|
||||||
|
- _SmoothnessTextureChannel: 0
|
||||||
|
- _SpecularHighlights: 1
|
||||||
|
- _SrcBlend: 1
|
||||||
|
- _UVSec: 0
|
||||||
|
- _ZWrite: 1
|
||||||
|
m_Colors:
|
||||||
|
- _Color: {r: 0.55, g: 0.58, b: 0.62, a: 1}
|
||||||
|
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
|
||||||
|
m_BuildTextureStacks: []
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 6e589cc10dd8bbc42a3d57dc51436190
|
||||||
|
NativeFormatImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
mainObjectFileID: 2100000
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -0,0 +1,83 @@
|
|||||||
|
%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_Player
|
||||||
|
m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
|
||||||
|
m_Parent: {fileID: 0}
|
||||||
|
m_ModifiedSerializedProperties: 0
|
||||||
|
m_ValidKeywords: []
|
||||||
|
m_InvalidKeywords: []
|
||||||
|
m_LightmapFlags: 4
|
||||||
|
m_EnableInstancingVariants: 0
|
||||||
|
m_DoubleSidedGI: 0
|
||||||
|
m_CustomRenderQueue: -1
|
||||||
|
stringTagMap: {}
|
||||||
|
disabledShaderPasses: []
|
||||||
|
m_LockedProperties:
|
||||||
|
m_SavedProperties:
|
||||||
|
serializedVersion: 3
|
||||||
|
m_TexEnvs:
|
||||||
|
- _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}
|
||||||
|
m_Ints: []
|
||||||
|
m_Floats:
|
||||||
|
- _BumpScale: 1
|
||||||
|
- _Cutoff: 0.5
|
||||||
|
- _DetailNormalMapScale: 1
|
||||||
|
- _DstBlend: 0
|
||||||
|
- _GlossMapScale: 1
|
||||||
|
- _Glossiness: 0.5
|
||||||
|
- _GlossyReflections: 1
|
||||||
|
- _Metallic: 0
|
||||||
|
- _Mode: 0
|
||||||
|
- _OcclusionStrength: 1
|
||||||
|
- _Parallax: 0.02
|
||||||
|
- _SmoothnessTextureChannel: 0
|
||||||
|
- _SpecularHighlights: 1
|
||||||
|
- _SrcBlend: 1
|
||||||
|
- _UVSec: 0
|
||||||
|
- _ZWrite: 1
|
||||||
|
m_Colors:
|
||||||
|
- _Color: {r: 0.2, g: 0.44, b: 0.82, a: 1}
|
||||||
|
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
|
||||||
|
m_BuildTextureStacks: []
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 6c80cc365d8fb2724b48543b7587aff6
|
||||||
|
NativeFormatImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
mainObjectFileID: 2100000
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -0,0 +1,83 @@
|
|||||||
|
%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_Stone
|
||||||
|
m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
|
||||||
|
m_Parent: {fileID: 0}
|
||||||
|
m_ModifiedSerializedProperties: 0
|
||||||
|
m_ValidKeywords: []
|
||||||
|
m_InvalidKeywords: []
|
||||||
|
m_LightmapFlags: 4
|
||||||
|
m_EnableInstancingVariants: 0
|
||||||
|
m_DoubleSidedGI: 0
|
||||||
|
m_CustomRenderQueue: -1
|
||||||
|
stringTagMap: {}
|
||||||
|
disabledShaderPasses: []
|
||||||
|
m_LockedProperties:
|
||||||
|
m_SavedProperties:
|
||||||
|
serializedVersion: 3
|
||||||
|
m_TexEnvs:
|
||||||
|
- _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}
|
||||||
|
m_Ints: []
|
||||||
|
m_Floats:
|
||||||
|
- _BumpScale: 1
|
||||||
|
- _Cutoff: 0.5
|
||||||
|
- _DetailNormalMapScale: 1
|
||||||
|
- _DstBlend: 0
|
||||||
|
- _GlossMapScale: 1
|
||||||
|
- _Glossiness: 0.5
|
||||||
|
- _GlossyReflections: 1
|
||||||
|
- _Metallic: 0
|
||||||
|
- _Mode: 0
|
||||||
|
- _OcclusionStrength: 1
|
||||||
|
- _Parallax: 0.02
|
||||||
|
- _SmoothnessTextureChannel: 0
|
||||||
|
- _SpecularHighlights: 1
|
||||||
|
- _SrcBlend: 1
|
||||||
|
- _UVSec: 0
|
||||||
|
- _ZWrite: 1
|
||||||
|
m_Colors:
|
||||||
|
- _Color: {r: 0.47, g: 0.48, b: 0.47, a: 1}
|
||||||
|
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
|
||||||
|
m_BuildTextureStacks: []
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: eee45428f603e1a31a832ea518178845
|
||||||
|
NativeFormatImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
mainObjectFileID: 2100000
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -0,0 +1,83 @@
|
|||||||
|
%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_Torch_Light
|
||||||
|
m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
|
||||||
|
m_Parent: {fileID: 0}
|
||||||
|
m_ModifiedSerializedProperties: 0
|
||||||
|
m_ValidKeywords: []
|
||||||
|
m_InvalidKeywords: []
|
||||||
|
m_LightmapFlags: 4
|
||||||
|
m_EnableInstancingVariants: 0
|
||||||
|
m_DoubleSidedGI: 0
|
||||||
|
m_CustomRenderQueue: -1
|
||||||
|
stringTagMap: {}
|
||||||
|
disabledShaderPasses: []
|
||||||
|
m_LockedProperties:
|
||||||
|
m_SavedProperties:
|
||||||
|
serializedVersion: 3
|
||||||
|
m_TexEnvs:
|
||||||
|
- _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}
|
||||||
|
m_Ints: []
|
||||||
|
m_Floats:
|
||||||
|
- _BumpScale: 1
|
||||||
|
- _Cutoff: 0.5
|
||||||
|
- _DetailNormalMapScale: 1
|
||||||
|
- _DstBlend: 0
|
||||||
|
- _GlossMapScale: 1
|
||||||
|
- _Glossiness: 0.5
|
||||||
|
- _GlossyReflections: 1
|
||||||
|
- _Metallic: 0
|
||||||
|
- _Mode: 0
|
||||||
|
- _OcclusionStrength: 1
|
||||||
|
- _Parallax: 0.02
|
||||||
|
- _SmoothnessTextureChannel: 0
|
||||||
|
- _SpecularHighlights: 1
|
||||||
|
- _SrcBlend: 1
|
||||||
|
- _UVSec: 0
|
||||||
|
- _ZWrite: 1
|
||||||
|
m_Colors:
|
||||||
|
- _Color: {r: 1, g: 0.55, b: 0.12, a: 1}
|
||||||
|
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
|
||||||
|
m_BuildTextureStacks: []
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 1e4c78e7e0315654084a34d5b9d3a16c
|
||||||
|
NativeFormatImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
mainObjectFileID: 2100000
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -0,0 +1,83 @@
|
|||||||
|
%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_Wood
|
||||||
|
m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
|
||||||
|
m_Parent: {fileID: 0}
|
||||||
|
m_ModifiedSerializedProperties: 0
|
||||||
|
m_ValidKeywords: []
|
||||||
|
m_InvalidKeywords: []
|
||||||
|
m_LightmapFlags: 4
|
||||||
|
m_EnableInstancingVariants: 0
|
||||||
|
m_DoubleSidedGI: 0
|
||||||
|
m_CustomRenderQueue: -1
|
||||||
|
stringTagMap: {}
|
||||||
|
disabledShaderPasses: []
|
||||||
|
m_LockedProperties:
|
||||||
|
m_SavedProperties:
|
||||||
|
serializedVersion: 3
|
||||||
|
m_TexEnvs:
|
||||||
|
- _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}
|
||||||
|
m_Ints: []
|
||||||
|
m_Floats:
|
||||||
|
- _BumpScale: 1
|
||||||
|
- _Cutoff: 0.5
|
||||||
|
- _DetailNormalMapScale: 1
|
||||||
|
- _DstBlend: 0
|
||||||
|
- _GlossMapScale: 1
|
||||||
|
- _Glossiness: 0.5
|
||||||
|
- _GlossyReflections: 1
|
||||||
|
- _Metallic: 0
|
||||||
|
- _Mode: 0
|
||||||
|
- _OcclusionStrength: 1
|
||||||
|
- _Parallax: 0.02
|
||||||
|
- _SmoothnessTextureChannel: 0
|
||||||
|
- _SpecularHighlights: 1
|
||||||
|
- _SrcBlend: 1
|
||||||
|
- _UVSec: 0
|
||||||
|
- _ZWrite: 1
|
||||||
|
m_Colors:
|
||||||
|
- _Color: {r: 0.55, g: 0.34, b: 0.16, a: 1}
|
||||||
|
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
|
||||||
|
m_BuildTextureStacks: []
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 0f93ed88afbdf7c718a1aff498c56030
|
||||||
|
NativeFormatImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
mainObjectFileID: 2100000
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -0,0 +1,83 @@
|
|||||||
|
%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_Workbench
|
||||||
|
m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
|
||||||
|
m_Parent: {fileID: 0}
|
||||||
|
m_ModifiedSerializedProperties: 0
|
||||||
|
m_ValidKeywords: []
|
||||||
|
m_InvalidKeywords: []
|
||||||
|
m_LightmapFlags: 4
|
||||||
|
m_EnableInstancingVariants: 0
|
||||||
|
m_DoubleSidedGI: 0
|
||||||
|
m_CustomRenderQueue: -1
|
||||||
|
stringTagMap: {}
|
||||||
|
disabledShaderPasses: []
|
||||||
|
m_LockedProperties:
|
||||||
|
m_SavedProperties:
|
||||||
|
serializedVersion: 3
|
||||||
|
m_TexEnvs:
|
||||||
|
- _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}
|
||||||
|
m_Ints: []
|
||||||
|
m_Floats:
|
||||||
|
- _BumpScale: 1
|
||||||
|
- _Cutoff: 0.5
|
||||||
|
- _DetailNormalMapScale: 1
|
||||||
|
- _DstBlend: 0
|
||||||
|
- _GlossMapScale: 1
|
||||||
|
- _Glossiness: 0.5
|
||||||
|
- _GlossyReflections: 1
|
||||||
|
- _Metallic: 0
|
||||||
|
- _Mode: 0
|
||||||
|
- _OcclusionStrength: 1
|
||||||
|
- _Parallax: 0.02
|
||||||
|
- _SmoothnessTextureChannel: 0
|
||||||
|
- _SpecularHighlights: 1
|
||||||
|
- _SrcBlend: 1
|
||||||
|
- _UVSec: 0
|
||||||
|
- _ZWrite: 1
|
||||||
|
m_Colors:
|
||||||
|
- _Color: {r: 0.42, g: 0.25, b: 0.12, a: 1}
|
||||||
|
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
|
||||||
|
m_BuildTextureStacks: []
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 9169a0a41ebd59007913e6dd9c72802e
|
||||||
|
NativeFormatImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
mainObjectFileID: 2100000
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -0,0 +1,83 @@
|
|||||||
|
%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_Workbench_Dark
|
||||||
|
m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
|
||||||
|
m_Parent: {fileID: 0}
|
||||||
|
m_ModifiedSerializedProperties: 0
|
||||||
|
m_ValidKeywords: []
|
||||||
|
m_InvalidKeywords: []
|
||||||
|
m_LightmapFlags: 4
|
||||||
|
m_EnableInstancingVariants: 0
|
||||||
|
m_DoubleSidedGI: 0
|
||||||
|
m_CustomRenderQueue: -1
|
||||||
|
stringTagMap: {}
|
||||||
|
disabledShaderPasses: []
|
||||||
|
m_LockedProperties:
|
||||||
|
m_SavedProperties:
|
||||||
|
serializedVersion: 3
|
||||||
|
m_TexEnvs:
|
||||||
|
- _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}
|
||||||
|
m_Ints: []
|
||||||
|
m_Floats:
|
||||||
|
- _BumpScale: 1
|
||||||
|
- _Cutoff: 0.5
|
||||||
|
- _DetailNormalMapScale: 1
|
||||||
|
- _DstBlend: 0
|
||||||
|
- _GlossMapScale: 1
|
||||||
|
- _Glossiness: 0.5
|
||||||
|
- _GlossyReflections: 1
|
||||||
|
- _Metallic: 0
|
||||||
|
- _Mode: 0
|
||||||
|
- _OcclusionStrength: 1
|
||||||
|
- _Parallax: 0.02
|
||||||
|
- _SmoothnessTextureChannel: 0
|
||||||
|
- _SpecularHighlights: 1
|
||||||
|
- _SrcBlend: 1
|
||||||
|
- _UVSec: 0
|
||||||
|
- _ZWrite: 1
|
||||||
|
m_Colors:
|
||||||
|
- _Color: {r: 0.22, g: 0.13, b: 0.07, a: 1}
|
||||||
|
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
|
||||||
|
m_BuildTextureStacks: []
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: d0eb5026f6be2629fb37b4b4a21a9be2
|
||||||
|
NativeFormatImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
mainObjectFileID: 2100000
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 77e92bd0075f2866b91c3d1e573dac23
|
||||||
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -0,0 +1,358 @@
|
|||||||
|
%YAML 1.1
|
||||||
|
%TAG !u! tag:unity3d.com,2011:
|
||||||
|
--- !u!1 &5829814451803810635
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 6459343351379154309}
|
||||||
|
- component: {fileID: 8717995849067780463}
|
||||||
|
- component: {fileID: 1282319196544063810}
|
||||||
|
m_Layer: 0
|
||||||
|
m_Name: ColorMarker
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!224 &6459343351379154309
|
||||||
|
RectTransform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 5829814451803810635}
|
||||||
|
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||||
|
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||||
|
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||||
|
m_ConstrainProportionsScale: 0
|
||||||
|
m_Children: []
|
||||||
|
m_Father: {fileID: 8511205067748525150}
|
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
|
m_AnchorMin: {x: 0.5, y: 1}
|
||||||
|
m_AnchorMax: {x: 0.5, y: 1}
|
||||||
|
m_AnchoredPosition: {x: 0, y: -10}
|
||||||
|
m_SizeDelta: {x: 58, y: 6}
|
||||||
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
|
--- !u!222 &8717995849067780463
|
||||||
|
CanvasRenderer:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 5829814451803810635}
|
||||||
|
m_CullTransparentMesh: 1
|
||||||
|
--- !u!114 &1282319196544063810
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 5829814451803810635}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
m_Material: {fileID: 0}
|
||||||
|
m_Color: {r: 0.18, g: 0.2, b: 0.22, a: 1}
|
||||||
|
m_RaycastTarget: 1
|
||||||
|
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
|
||||||
|
m_Maskable: 1
|
||||||
|
m_OnCullStateChanged:
|
||||||
|
m_PersistentCalls:
|
||||||
|
m_Calls: []
|
||||||
|
m_Sprite: {fileID: 0}
|
||||||
|
m_Type: 0
|
||||||
|
m_PreserveAspect: 0
|
||||||
|
m_FillCenter: 1
|
||||||
|
m_FillMethod: 4
|
||||||
|
m_FillAmount: 1
|
||||||
|
m_FillClockwise: 1
|
||||||
|
m_FillOrigin: 0
|
||||||
|
m_UseSpriteMesh: 0
|
||||||
|
m_PixelsPerUnitMultiplier: 1
|
||||||
|
--- !u!1 &8832731311822818504
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 4726682085316279144}
|
||||||
|
- component: {fileID: 2191000227811241233}
|
||||||
|
- component: {fileID: 5513200215906287969}
|
||||||
|
m_Layer: 0
|
||||||
|
m_Name: Number
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!224 &4726682085316279144
|
||||||
|
RectTransform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 8832731311822818504}
|
||||||
|
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||||
|
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||||
|
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||||
|
m_ConstrainProportionsScale: 0
|
||||||
|
m_Children: []
|
||||||
|
m_Father: {fileID: 8511205067748525150}
|
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
|
m_AnchorMin: {x: 0, y: 0}
|
||||||
|
m_AnchorMax: {x: 1, y: 1}
|
||||||
|
m_AnchoredPosition: {x: 0, y: 0}
|
||||||
|
m_SizeDelta: {x: -12, y: -8}
|
||||||
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
|
--- !u!222 &2191000227811241233
|
||||||
|
CanvasRenderer:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 8832731311822818504}
|
||||||
|
m_CullTransparentMesh: 1
|
||||||
|
--- !u!114 &5513200215906287969
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 8832731311822818504}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
m_Material: {fileID: 0}
|
||||||
|
m_Color: {r: 0.95, g: 0.9, b: 0.72, a: 1}
|
||||||
|
m_RaycastTarget: 1
|
||||||
|
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
|
||||||
|
m_Maskable: 1
|
||||||
|
m_OnCullStateChanged:
|
||||||
|
m_PersistentCalls:
|
||||||
|
m_Calls: []
|
||||||
|
m_FontData:
|
||||||
|
m_Font: {fileID: 12800000, guid: b1fad9eb69ff706f38e9998939ede672, type: 3}
|
||||||
|
m_FontSize: 12
|
||||||
|
m_FontStyle: 1
|
||||||
|
m_BestFit: 0
|
||||||
|
m_MinSize: 10
|
||||||
|
m_MaxSize: 40
|
||||||
|
m_Alignment: 0
|
||||||
|
m_AlignByGeometry: 0
|
||||||
|
m_RichText: 1
|
||||||
|
m_HorizontalOverflow: 0
|
||||||
|
m_VerticalOverflow: 0
|
||||||
|
m_LineSpacing: 1
|
||||||
|
m_Text: 1
|
||||||
|
--- !u!1 &8868523750042178275
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 8511205067748525150}
|
||||||
|
- component: {fileID: 5823146093928128117}
|
||||||
|
- component: {fileID: 4301068940017848693}
|
||||||
|
- component: {fileID: 1990059590688215063}
|
||||||
|
m_Layer: 0
|
||||||
|
m_Name: HotbarSlotPrefab
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!224 &8511205067748525150
|
||||||
|
RectTransform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 8868523750042178275}
|
||||||
|
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||||
|
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||||
|
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||||
|
m_ConstrainProportionsScale: 0
|
||||||
|
m_Children:
|
||||||
|
- {fileID: 6459343351379154309}
|
||||||
|
- {fileID: 4726682085316279144}
|
||||||
|
- {fileID: 536849590835176669}
|
||||||
|
m_Father: {fileID: 0}
|
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
|
m_AnchorMin: {x: 0.5, y: 0.5}
|
||||||
|
m_AnchorMax: {x: 0.5, y: 0.5}
|
||||||
|
m_AnchoredPosition: {x: 0, y: 0}
|
||||||
|
m_SizeDelta: {x: 78, y: 50}
|
||||||
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
|
--- !u!222 &5823146093928128117
|
||||||
|
CanvasRenderer:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 8868523750042178275}
|
||||||
|
m_CullTransparentMesh: 1
|
||||||
|
--- !u!114 &4301068940017848693
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 8868523750042178275}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
m_Material: {fileID: 0}
|
||||||
|
m_Color: {r: 0.1, g: 0.12, b: 0.15, a: 0.92}
|
||||||
|
m_RaycastTarget: 1
|
||||||
|
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
|
||||||
|
m_Maskable: 1
|
||||||
|
m_OnCullStateChanged:
|
||||||
|
m_PersistentCalls:
|
||||||
|
m_Calls: []
|
||||||
|
m_Sprite: {fileID: 0}
|
||||||
|
m_Type: 0
|
||||||
|
m_PreserveAspect: 0
|
||||||
|
m_FillCenter: 1
|
||||||
|
m_FillMethod: 4
|
||||||
|
m_FillAmount: 1
|
||||||
|
m_FillClockwise: 1
|
||||||
|
m_FillOrigin: 0
|
||||||
|
m_UseSpriteMesh: 0
|
||||||
|
m_PixelsPerUnitMultiplier: 1
|
||||||
|
--- !u!114 &1990059590688215063
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 8868523750042178275}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
m_Navigation:
|
||||||
|
m_Mode: 3
|
||||||
|
m_WrapAround: 0
|
||||||
|
m_SelectOnUp: {fileID: 0}
|
||||||
|
m_SelectOnDown: {fileID: 0}
|
||||||
|
m_SelectOnLeft: {fileID: 0}
|
||||||
|
m_SelectOnRight: {fileID: 0}
|
||||||
|
m_Transition: 1
|
||||||
|
m_Colors:
|
||||||
|
m_NormalColor: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
|
||||||
|
m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1}
|
||||||
|
m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
|
||||||
|
m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608}
|
||||||
|
m_ColorMultiplier: 1
|
||||||
|
m_FadeDuration: 0.1
|
||||||
|
m_SpriteState:
|
||||||
|
m_HighlightedSprite: {fileID: 0}
|
||||||
|
m_PressedSprite: {fileID: 0}
|
||||||
|
m_SelectedSprite: {fileID: 0}
|
||||||
|
m_DisabledSprite: {fileID: 0}
|
||||||
|
m_AnimationTriggers:
|
||||||
|
m_NormalTrigger: Normal
|
||||||
|
m_HighlightedTrigger: Highlighted
|
||||||
|
m_PressedTrigger: Pressed
|
||||||
|
m_SelectedTrigger: Selected
|
||||||
|
m_DisabledTrigger: Disabled
|
||||||
|
m_Interactable: 1
|
||||||
|
m_TargetGraphic: {fileID: 4301068940017848693}
|
||||||
|
m_OnClick:
|
||||||
|
m_PersistentCalls:
|
||||||
|
m_Calls: []
|
||||||
|
--- !u!1 &9046943137757957596
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 536849590835176669}
|
||||||
|
- component: {fileID: 6018107693226245326}
|
||||||
|
- component: {fileID: 6308247652655586929}
|
||||||
|
m_Layer: 0
|
||||||
|
m_Name: Label
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!224 &536849590835176669
|
||||||
|
RectTransform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 9046943137757957596}
|
||||||
|
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||||
|
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||||
|
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||||
|
m_ConstrainProportionsScale: 0
|
||||||
|
m_Children: []
|
||||||
|
m_Father: {fileID: 8511205067748525150}
|
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
|
m_AnchorMin: {x: 0, y: 0}
|
||||||
|
m_AnchorMax: {x: 1, y: 1}
|
||||||
|
m_AnchoredPosition: {x: 0, y: -6}
|
||||||
|
m_SizeDelta: {x: -8, y: -16}
|
||||||
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
|
--- !u!222 &6018107693226245326
|
||||||
|
CanvasRenderer:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 9046943137757957596}
|
||||||
|
m_CullTransparentMesh: 1
|
||||||
|
--- !u!114 &6308247652655586929
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 9046943137757957596}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
m_Material: {fileID: 0}
|
||||||
|
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
m_RaycastTarget: 1
|
||||||
|
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
|
||||||
|
m_Maskable: 1
|
||||||
|
m_OnCullStateChanged:
|
||||||
|
m_PersistentCalls:
|
||||||
|
m_Calls: []
|
||||||
|
m_FontData:
|
||||||
|
m_Font: {fileID: 12800000, guid: b1fad9eb69ff706f38e9998939ede672, type: 3}
|
||||||
|
m_FontSize: 10
|
||||||
|
m_FontStyle: 0
|
||||||
|
m_BestFit: 0
|
||||||
|
m_MinSize: 10
|
||||||
|
m_MaxSize: 40
|
||||||
|
m_Alignment: 4
|
||||||
|
m_AlignByGeometry: 0
|
||||||
|
m_RichText: 1
|
||||||
|
m_HorizontalOverflow: 0
|
||||||
|
m_VerticalOverflow: 0
|
||||||
|
m_LineSpacing: 1
|
||||||
|
m_Text: "\u041F\u0443\u0441\u0442\u043E"
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: e26cf0c50e79af629899d32d89888695
|
||||||
|
PrefabImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -0,0 +1,233 @@
|
|||||||
|
%YAML 1.1
|
||||||
|
%TAG !u! tag:unity3d.com,2011:
|
||||||
|
--- !u!1 &654021015502597689
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 5771015775015895729}
|
||||||
|
- component: {fileID: 8907070527988855256}
|
||||||
|
- component: {fileID: 8967416956651717888}
|
||||||
|
m_Layer: 0
|
||||||
|
m_Name: ColorMarker
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!224 &5771015775015895729
|
||||||
|
RectTransform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 654021015502597689}
|
||||||
|
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||||
|
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||||
|
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||||
|
m_ConstrainProportionsScale: 0
|
||||||
|
m_Children: []
|
||||||
|
m_Father: {fileID: 403367724355708623}
|
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
|
m_AnchorMin: {x: 0, y: 0.5}
|
||||||
|
m_AnchorMax: {x: 0, y: 0.5}
|
||||||
|
m_AnchoredPosition: {x: 12, y: 0}
|
||||||
|
m_SizeDelta: {x: 12, y: 16}
|
||||||
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
|
--- !u!222 &8907070527988855256
|
||||||
|
CanvasRenderer:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 654021015502597689}
|
||||||
|
m_CullTransparentMesh: 1
|
||||||
|
--- !u!114 &8967416956651717888
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 654021015502597689}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
m_Material: {fileID: 0}
|
||||||
|
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
m_RaycastTarget: 1
|
||||||
|
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
|
||||||
|
m_Maskable: 1
|
||||||
|
m_OnCullStateChanged:
|
||||||
|
m_PersistentCalls:
|
||||||
|
m_Calls: []
|
||||||
|
m_Sprite: {fileID: 0}
|
||||||
|
m_Type: 0
|
||||||
|
m_PreserveAspect: 0
|
||||||
|
m_FillCenter: 1
|
||||||
|
m_FillMethod: 4
|
||||||
|
m_FillAmount: 1
|
||||||
|
m_FillClockwise: 1
|
||||||
|
m_FillOrigin: 0
|
||||||
|
m_UseSpriteMesh: 0
|
||||||
|
m_PixelsPerUnitMultiplier: 1
|
||||||
|
--- !u!1 &8584998130243804125
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 529515145853354134}
|
||||||
|
- component: {fileID: 7847165235342149766}
|
||||||
|
- component: {fileID: 6121249524832871930}
|
||||||
|
m_Layer: 0
|
||||||
|
m_Name: Label
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!224 &529515145853354134
|
||||||
|
RectTransform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 8584998130243804125}
|
||||||
|
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||||
|
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||||
|
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||||
|
m_ConstrainProportionsScale: 0
|
||||||
|
m_Children: []
|
||||||
|
m_Father: {fileID: 403367724355708623}
|
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
|
m_AnchorMin: {x: 0, y: 0}
|
||||||
|
m_AnchorMax: {x: 1, y: 1}
|
||||||
|
m_AnchoredPosition: {x: 30, y: 0}
|
||||||
|
m_SizeDelta: {x: -36, y: 0}
|
||||||
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
|
--- !u!222 &7847165235342149766
|
||||||
|
CanvasRenderer:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 8584998130243804125}
|
||||||
|
m_CullTransparentMesh: 1
|
||||||
|
--- !u!114 &6121249524832871930
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 8584998130243804125}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
m_Material: {fileID: 0}
|
||||||
|
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
m_RaycastTarget: 1
|
||||||
|
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
|
||||||
|
m_Maskable: 1
|
||||||
|
m_OnCullStateChanged:
|
||||||
|
m_PersistentCalls:
|
||||||
|
m_Calls: []
|
||||||
|
m_FontData:
|
||||||
|
m_Font: {fileID: 12800000, guid: b1fad9eb69ff706f38e9998939ede672, type: 3}
|
||||||
|
m_FontSize: 12
|
||||||
|
m_FontStyle: 0
|
||||||
|
m_BestFit: 0
|
||||||
|
m_MinSize: 10
|
||||||
|
m_MaxSize: 40
|
||||||
|
m_Alignment: 3
|
||||||
|
m_AlignByGeometry: 0
|
||||||
|
m_RichText: 1
|
||||||
|
m_HorizontalOverflow: 0
|
||||||
|
m_VerticalOverflow: 0
|
||||||
|
m_LineSpacing: 1
|
||||||
|
m_Text: Item x0
|
||||||
|
--- !u!1 &8736899368409230451
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 403367724355708623}
|
||||||
|
- component: {fileID: 6967652642241594680}
|
||||||
|
- component: {fileID: 4480458111538750461}
|
||||||
|
m_Layer: 0
|
||||||
|
m_Name: InventorySlotPrefab
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!224 &403367724355708623
|
||||||
|
RectTransform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 8736899368409230451}
|
||||||
|
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||||
|
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||||
|
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||||
|
m_ConstrainProportionsScale: 0
|
||||||
|
m_Children:
|
||||||
|
- {fileID: 5771015775015895729}
|
||||||
|
- {fileID: 529515145853354134}
|
||||||
|
m_Father: {fileID: 0}
|
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
|
m_AnchorMin: {x: 0.5, y: 0.5}
|
||||||
|
m_AnchorMax: {x: 0.5, y: 0.5}
|
||||||
|
m_AnchoredPosition: {x: 0, y: 0}
|
||||||
|
m_SizeDelta: {x: 248, y: 26}
|
||||||
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
|
--- !u!222 &6967652642241594680
|
||||||
|
CanvasRenderer:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 8736899368409230451}
|
||||||
|
m_CullTransparentMesh: 1
|
||||||
|
--- !u!114 &4480458111538750461
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 8736899368409230451}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
m_Material: {fileID: 0}
|
||||||
|
m_Color: {r: 0.12, g: 0.15, b: 0.18, a: 0.95}
|
||||||
|
m_RaycastTarget: 1
|
||||||
|
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
|
||||||
|
m_Maskable: 1
|
||||||
|
m_OnCullStateChanged:
|
||||||
|
m_PersistentCalls:
|
||||||
|
m_Calls: []
|
||||||
|
m_Sprite: {fileID: 0}
|
||||||
|
m_Type: 0
|
||||||
|
m_PreserveAspect: 0
|
||||||
|
m_FillCenter: 1
|
||||||
|
m_FillMethod: 4
|
||||||
|
m_FillAmount: 1
|
||||||
|
m_FillClockwise: 1
|
||||||
|
m_FillOrigin: 0
|
||||||
|
m_UseSpriteMesh: 0
|
||||||
|
m_PixelsPerUnitMultiplier: 1
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: dc5a30561b57fd7eea3521ead4bd0df0
|
||||||
|
PrefabImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -0,0 +1,518 @@
|
|||||||
|
%YAML 1.1
|
||||||
|
%TAG !u! tag:unity3d.com,2011:
|
||||||
|
--- !u!1 &466050724344913444
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 8276900086796312822}
|
||||||
|
- component: {fileID: 1251325521853538463}
|
||||||
|
- component: {fileID: 3861777941305851783}
|
||||||
|
- component: {fileID: 4978188015053857466}
|
||||||
|
m_Layer: 0
|
||||||
|
m_Name: RecipeButtonPrefab
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!224 &8276900086796312822
|
||||||
|
RectTransform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 466050724344913444}
|
||||||
|
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||||
|
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||||
|
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||||
|
m_ConstrainProportionsScale: 0
|
||||||
|
m_Children:
|
||||||
|
- {fileID: 8135647511440596968}
|
||||||
|
- {fileID: 2627349799993333618}
|
||||||
|
- {fileID: 4591033556301185569}
|
||||||
|
- {fileID: 5688619778912533723}
|
||||||
|
- {fileID: 3498136644353183236}
|
||||||
|
m_Father: {fileID: 0}
|
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
|
m_AnchorMin: {x: 0.5, y: 0.5}
|
||||||
|
m_AnchorMax: {x: 0.5, y: 0.5}
|
||||||
|
m_AnchoredPosition: {x: 0, y: 0}
|
||||||
|
m_SizeDelta: {x: 336, y: 52}
|
||||||
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
|
--- !u!222 &1251325521853538463
|
||||||
|
CanvasRenderer:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 466050724344913444}
|
||||||
|
m_CullTransparentMesh: 1
|
||||||
|
--- !u!114 &3861777941305851783
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 466050724344913444}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
m_Material: {fileID: 0}
|
||||||
|
m_Color: {r: 0.13, g: 0.18, b: 0.2, a: 0.98}
|
||||||
|
m_RaycastTarget: 1
|
||||||
|
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
|
||||||
|
m_Maskable: 1
|
||||||
|
m_OnCullStateChanged:
|
||||||
|
m_PersistentCalls:
|
||||||
|
m_Calls: []
|
||||||
|
m_Sprite: {fileID: 0}
|
||||||
|
m_Type: 0
|
||||||
|
m_PreserveAspect: 0
|
||||||
|
m_FillCenter: 1
|
||||||
|
m_FillMethod: 4
|
||||||
|
m_FillAmount: 1
|
||||||
|
m_FillClockwise: 1
|
||||||
|
m_FillOrigin: 0
|
||||||
|
m_UseSpriteMesh: 0
|
||||||
|
m_PixelsPerUnitMultiplier: 1
|
||||||
|
--- !u!114 &4978188015053857466
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 466050724344913444}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
m_Navigation:
|
||||||
|
m_Mode: 3
|
||||||
|
m_WrapAround: 0
|
||||||
|
m_SelectOnUp: {fileID: 0}
|
||||||
|
m_SelectOnDown: {fileID: 0}
|
||||||
|
m_SelectOnLeft: {fileID: 0}
|
||||||
|
m_SelectOnRight: {fileID: 0}
|
||||||
|
m_Transition: 1
|
||||||
|
m_Colors:
|
||||||
|
m_NormalColor: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
m_HighlightedColor: {r: 0.9, g: 0.96, b: 1, a: 1}
|
||||||
|
m_PressedColor: {r: 0.76, g: 0.86, b: 0.92, a: 1}
|
||||||
|
m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
|
||||||
|
m_DisabledColor: {r: 0.7, g: 0.7, b: 0.7, a: 1}
|
||||||
|
m_ColorMultiplier: 1
|
||||||
|
m_FadeDuration: 0.1
|
||||||
|
m_SpriteState:
|
||||||
|
m_HighlightedSprite: {fileID: 0}
|
||||||
|
m_PressedSprite: {fileID: 0}
|
||||||
|
m_SelectedSprite: {fileID: 0}
|
||||||
|
m_DisabledSprite: {fileID: 0}
|
||||||
|
m_AnimationTriggers:
|
||||||
|
m_NormalTrigger: Normal
|
||||||
|
m_HighlightedTrigger: Highlighted
|
||||||
|
m_PressedTrigger: Pressed
|
||||||
|
m_SelectedTrigger: Selected
|
||||||
|
m_DisabledTrigger: Disabled
|
||||||
|
m_Interactable: 1
|
||||||
|
m_TargetGraphic: {fileID: 3861777941305851783}
|
||||||
|
m_OnClick:
|
||||||
|
m_PersistentCalls:
|
||||||
|
m_Calls: []
|
||||||
|
--- !u!1 &620987311805489350
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 5688619778912533723}
|
||||||
|
- component: {fileID: 6464313712068408882}
|
||||||
|
- component: {fileID: 209112026055323556}
|
||||||
|
m_Layer: 0
|
||||||
|
m_Name: Ingredients
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!224 &5688619778912533723
|
||||||
|
RectTransform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 620987311805489350}
|
||||||
|
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||||
|
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||||
|
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||||
|
m_ConstrainProportionsScale: 0
|
||||||
|
m_Children: []
|
||||||
|
m_Father: {fileID: 8276900086796312822}
|
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
|
m_AnchorMin: {x: 0, y: 0}
|
||||||
|
m_AnchorMax: {x: 0, y: 0}
|
||||||
|
m_AnchoredPosition: {x: 130, y: 12}
|
||||||
|
m_SizeDelta: {x: 230, y: 20}
|
||||||
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
|
--- !u!222 &6464313712068408882
|
||||||
|
CanvasRenderer:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 620987311805489350}
|
||||||
|
m_CullTransparentMesh: 1
|
||||||
|
--- !u!114 &209112026055323556
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 620987311805489350}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
m_Material: {fileID: 0}
|
||||||
|
m_Color: {r: 0.82, g: 0.86, b: 0.88, a: 1}
|
||||||
|
m_RaycastTarget: 1
|
||||||
|
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
|
||||||
|
m_Maskable: 1
|
||||||
|
m_OnCullStateChanged:
|
||||||
|
m_PersistentCalls:
|
||||||
|
m_Calls: []
|
||||||
|
m_FontData:
|
||||||
|
m_Font: {fileID: 12800000, guid: b1fad9eb69ff706f38e9998939ede672, type: 3}
|
||||||
|
m_FontSize: 10
|
||||||
|
m_FontStyle: 0
|
||||||
|
m_BestFit: 0
|
||||||
|
m_MinSize: 10
|
||||||
|
m_MaxSize: 40
|
||||||
|
m_Alignment: 6
|
||||||
|
m_AlignByGeometry: 0
|
||||||
|
m_RichText: 1
|
||||||
|
m_HorizontalOverflow: 0
|
||||||
|
m_VerticalOverflow: 0
|
||||||
|
m_LineSpacing: 1
|
||||||
|
m_Text: Ingredients
|
||||||
|
--- !u!1 &1768879006380979484
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 4591033556301185569}
|
||||||
|
- component: {fileID: 674971126409506187}
|
||||||
|
- component: {fileID: 5003833417921464190}
|
||||||
|
m_Layer: 0
|
||||||
|
m_Name: Result
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!224 &4591033556301185569
|
||||||
|
RectTransform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 1768879006380979484}
|
||||||
|
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||||
|
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||||
|
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||||
|
m_ConstrainProportionsScale: 0
|
||||||
|
m_Children: []
|
||||||
|
m_Father: {fileID: 8276900086796312822}
|
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
|
m_AnchorMin: {x: 1, y: 1}
|
||||||
|
m_AnchorMax: {x: 1, y: 1}
|
||||||
|
m_AnchoredPosition: {x: -58, y: -10}
|
||||||
|
m_SizeDelta: {x: 100, y: 20}
|
||||||
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
|
--- !u!222 &674971126409506187
|
||||||
|
CanvasRenderer:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 1768879006380979484}
|
||||||
|
m_CullTransparentMesh: 1
|
||||||
|
--- !u!114 &5003833417921464190
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 1768879006380979484}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
m_Material: {fileID: 0}
|
||||||
|
m_Color: {r: 0.78, g: 0.92, b: 1, a: 1}
|
||||||
|
m_RaycastTarget: 1
|
||||||
|
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
|
||||||
|
m_Maskable: 1
|
||||||
|
m_OnCullStateChanged:
|
||||||
|
m_PersistentCalls:
|
||||||
|
m_Calls: []
|
||||||
|
m_FontData:
|
||||||
|
m_Font: {fileID: 12800000, guid: b1fad9eb69ff706f38e9998939ede672, type: 3}
|
||||||
|
m_FontSize: 12
|
||||||
|
m_FontStyle: 1
|
||||||
|
m_BestFit: 0
|
||||||
|
m_MinSize: 10
|
||||||
|
m_MaxSize: 40
|
||||||
|
m_Alignment: 2
|
||||||
|
m_AlignByGeometry: 0
|
||||||
|
m_RichText: 1
|
||||||
|
m_HorizontalOverflow: 0
|
||||||
|
m_VerticalOverflow: 0
|
||||||
|
m_LineSpacing: 1
|
||||||
|
m_Text: Result
|
||||||
|
--- !u!1 &2945207311852698361
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 2627349799993333618}
|
||||||
|
- component: {fileID: 6490866579740557898}
|
||||||
|
- component: {fileID: 3765665971329954946}
|
||||||
|
m_Layer: 0
|
||||||
|
m_Name: Title
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!224 &2627349799993333618
|
||||||
|
RectTransform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 2945207311852698361}
|
||||||
|
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||||
|
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||||
|
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||||
|
m_ConstrainProportionsScale: 0
|
||||||
|
m_Children: []
|
||||||
|
m_Father: {fileID: 8276900086796312822}
|
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
|
m_AnchorMin: {x: 0, y: 1}
|
||||||
|
m_AnchorMax: {x: 0, y: 1}
|
||||||
|
m_AnchoredPosition: {x: 110, y: -10}
|
||||||
|
m_SizeDelta: {x: 190, y: 20}
|
||||||
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
|
--- !u!222 &6490866579740557898
|
||||||
|
CanvasRenderer:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 2945207311852698361}
|
||||||
|
m_CullTransparentMesh: 1
|
||||||
|
--- !u!114 &3765665971329954946
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 2945207311852698361}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
m_Material: {fileID: 0}
|
||||||
|
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
m_RaycastTarget: 1
|
||||||
|
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
|
||||||
|
m_Maskable: 1
|
||||||
|
m_OnCullStateChanged:
|
||||||
|
m_PersistentCalls:
|
||||||
|
m_Calls: []
|
||||||
|
m_FontData:
|
||||||
|
m_Font: {fileID: 12800000, guid: b1fad9eb69ff706f38e9998939ede672, type: 3}
|
||||||
|
m_FontSize: 13
|
||||||
|
m_FontStyle: 1
|
||||||
|
m_BestFit: 0
|
||||||
|
m_MinSize: 10
|
||||||
|
m_MaxSize: 40
|
||||||
|
m_Alignment: 0
|
||||||
|
m_AlignByGeometry: 0
|
||||||
|
m_RichText: 1
|
||||||
|
m_HorizontalOverflow: 0
|
||||||
|
m_VerticalOverflow: 0
|
||||||
|
m_LineSpacing: 1
|
||||||
|
m_Text: Recipe
|
||||||
|
--- !u!1 &7552565248394954394
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 3498136644353183236}
|
||||||
|
- component: {fileID: 1628749888021168507}
|
||||||
|
- component: {fileID: 2887941214273728211}
|
||||||
|
m_Layer: 0
|
||||||
|
m_Name: Status
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!224 &3498136644353183236
|
||||||
|
RectTransform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 7552565248394954394}
|
||||||
|
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||||
|
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||||
|
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||||
|
m_ConstrainProportionsScale: 0
|
||||||
|
m_Children: []
|
||||||
|
m_Father: {fileID: 8276900086796312822}
|
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
|
m_AnchorMin: {x: 1, y: 0}
|
||||||
|
m_AnchorMax: {x: 1, y: 0}
|
||||||
|
m_AnchoredPosition: {x: -46, y: 12}
|
||||||
|
m_SizeDelta: {x: 76, y: 18}
|
||||||
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
|
--- !u!222 &1628749888021168507
|
||||||
|
CanvasRenderer:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 7552565248394954394}
|
||||||
|
m_CullTransparentMesh: 1
|
||||||
|
--- !u!114 &2887941214273728211
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 7552565248394954394}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
m_Material: {fileID: 0}
|
||||||
|
m_Color: {r: 0.76, g: 0.95, b: 0.72, a: 1}
|
||||||
|
m_RaycastTarget: 1
|
||||||
|
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
|
||||||
|
m_Maskable: 1
|
||||||
|
m_OnCullStateChanged:
|
||||||
|
m_PersistentCalls:
|
||||||
|
m_Calls: []
|
||||||
|
m_FontData:
|
||||||
|
m_Font: {fileID: 12800000, guid: b1fad9eb69ff706f38e9998939ede672, type: 3}
|
||||||
|
m_FontSize: 10
|
||||||
|
m_FontStyle: 1
|
||||||
|
m_BestFit: 0
|
||||||
|
m_MinSize: 10
|
||||||
|
m_MaxSize: 40
|
||||||
|
m_Alignment: 8
|
||||||
|
m_AlignByGeometry: 0
|
||||||
|
m_RichText: 1
|
||||||
|
m_HorizontalOverflow: 0
|
||||||
|
m_VerticalOverflow: 0
|
||||||
|
m_LineSpacing: 1
|
||||||
|
m_Text: Status
|
||||||
|
--- !u!1 &7897347893793395270
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 8135647511440596968}
|
||||||
|
- component: {fileID: 299839379103462066}
|
||||||
|
- component: {fileID: 7821225369298082606}
|
||||||
|
m_Layer: 0
|
||||||
|
m_Name: StateStripe
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!224 &8135647511440596968
|
||||||
|
RectTransform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 7897347893793395270}
|
||||||
|
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||||
|
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||||
|
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||||
|
m_ConstrainProportionsScale: 0
|
||||||
|
m_Children: []
|
||||||
|
m_Father: {fileID: 8276900086796312822}
|
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
|
m_AnchorMin: {x: 0, y: 0.5}
|
||||||
|
m_AnchorMax: {x: 0, y: 0.5}
|
||||||
|
m_AnchoredPosition: {x: 3, y: 0}
|
||||||
|
m_SizeDelta: {x: 6, y: 44}
|
||||||
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
|
--- !u!222 &299839379103462066
|
||||||
|
CanvasRenderer:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 7897347893793395270}
|
||||||
|
m_CullTransparentMesh: 1
|
||||||
|
--- !u!114 &7821225369298082606
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 7897347893793395270}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
m_Material: {fileID: 0}
|
||||||
|
m_Color: {r: 0.24, g: 0.68, b: 0.36, a: 1}
|
||||||
|
m_RaycastTarget: 1
|
||||||
|
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
|
||||||
|
m_Maskable: 1
|
||||||
|
m_OnCullStateChanged:
|
||||||
|
m_PersistentCalls:
|
||||||
|
m_Calls: []
|
||||||
|
m_Sprite: {fileID: 0}
|
||||||
|
m_Type: 0
|
||||||
|
m_PreserveAspect: 0
|
||||||
|
m_FillCenter: 1
|
||||||
|
m_FillMethod: 4
|
||||||
|
m_FillAmount: 1
|
||||||
|
m_FillClockwise: 1
|
||||||
|
m_FillOrigin: 0
|
||||||
|
m_UseSpriteMesh: 0
|
||||||
|
m_PixelsPerUnitMultiplier: 1
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 58998e4d22ba3e88f84d28cb512e11d5
|
||||||
|
PrefabImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: d72b21baa1bfa4ad1902ce5a2ae19d1c
|
||||||
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,7 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 7a8c47a5c60a99479957089a951f9ed9
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: ebdd66ff36b797275913156b3f5047fb
|
||||||
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -0,0 +1,20 @@
|
|||||||
|
using UnityEngine;
|
||||||
|
|
||||||
|
public class CameraFollow : MonoBehaviour
|
||||||
|
{
|
||||||
|
public Transform target;
|
||||||
|
public Vector3 offset = new Vector3(0f, 8f, -7f);
|
||||||
|
public float followSpeed = 8f;
|
||||||
|
|
||||||
|
private void LateUpdate()
|
||||||
|
{
|
||||||
|
if (target == null)
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
Vector3 desiredPosition = target.position + offset;
|
||||||
|
transform.position = Vector3.Lerp(transform.position, desiredPosition, followSpeed * Time.deltaTime);
|
||||||
|
transform.rotation = Quaternion.Euler(58f, 0f, 0f);
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 6ce9cf7cdc7900e2183e5ea50b33da7e
|
||||||
|
MonoImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -0,0 +1,54 @@
|
|||||||
|
using UnityEngine;
|
||||||
|
using UnityEngine.UI;
|
||||||
|
|
||||||
|
public class CraftingDemoController : MonoBehaviour
|
||||||
|
{
|
||||||
|
public Inventory inventory;
|
||||||
|
public CraftingSystem craftingSystem;
|
||||||
|
public GameObject craftingPanel;
|
||||||
|
public Text hintText;
|
||||||
|
public bool addStartingResources;
|
||||||
|
|
||||||
|
private void Start()
|
||||||
|
{
|
||||||
|
if (addStartingResources && inventory != null && inventory.slots.Count == 0)
|
||||||
|
{
|
||||||
|
inventory.AddTestResources();
|
||||||
|
}
|
||||||
|
|
||||||
|
if (craftingSystem != null)
|
||||||
|
{
|
||||||
|
craftingSystem.lastMessage = "Нажмите кнопку рецепта, чтобы создать предмет.";
|
||||||
|
craftingSystem.Refresh();
|
||||||
|
}
|
||||||
|
|
||||||
|
UpdateHint();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void Update()
|
||||||
|
{
|
||||||
|
if (Input.GetKeyDown(KeyCode.R) && inventory != null)
|
||||||
|
{
|
||||||
|
inventory.AddTestResources();
|
||||||
|
if (craftingSystem != null)
|
||||||
|
{
|
||||||
|
craftingSystem.lastMessage = "Инвентарь сброшен к тестовому набору ресурсов.";
|
||||||
|
craftingSystem.Refresh();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if (Input.GetKeyDown(KeyCode.C) && craftingPanel != null)
|
||||||
|
{
|
||||||
|
craftingPanel.SetActive(!craftingPanel.activeSelf);
|
||||||
|
UpdateHint();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private void UpdateHint()
|
||||||
|
{
|
||||||
|
if (hintText != null)
|
||||||
|
{
|
||||||
|
hintText.text = "WASD - движение | E - подобрать | 1-9/0 - выбрать слот | F - использовать | R - тестовые ресурсы | C - UI";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: e84b636784b7d2fc1a62fc0f6defb8fe
|
||||||
|
MonoImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -0,0 +1,156 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Text;
|
||||||
|
using UnityEngine;
|
||||||
|
|
||||||
|
public class CraftingSystem : MonoBehaviour
|
||||||
|
{
|
||||||
|
public Inventory playerInventory;
|
||||||
|
public List<RecipeData> availableRecipes = new List<RecipeData>();
|
||||||
|
[TextArea(1, 3)] public string lastMessage;
|
||||||
|
|
||||||
|
public event Action OnCraftingChanged;
|
||||||
|
|
||||||
|
public bool CanCraft(RecipeData recipe)
|
||||||
|
{
|
||||||
|
if (recipe == null || playerInventory == null || recipe.result == null)
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!recipe.unlockedByDefault || recipe.ingredients == null)
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
for (int i = 0; i < recipe.ingredients.Length; i++)
|
||||||
|
{
|
||||||
|
Ingredient ingredient = recipe.ingredients[i];
|
||||||
|
if (ingredient == null || ingredient.item == null || ingredient.amount <= 0)
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!playerInventory.HasItem(ingredient.item, ingredient.amount))
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return playerInventory.CanAddItem(recipe.result, recipe.resultAmount);
|
||||||
|
}
|
||||||
|
|
||||||
|
public void Craft(RecipeData recipe)
|
||||||
|
{
|
||||||
|
if (recipe == null)
|
||||||
|
{
|
||||||
|
lastMessage = "Рецепт не выбран.";
|
||||||
|
Refresh();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (playerInventory == null)
|
||||||
|
{
|
||||||
|
lastMessage = "Инвентарь не подключен.";
|
||||||
|
Refresh();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!HasIngredients(recipe))
|
||||||
|
{
|
||||||
|
lastMessage = "Не хватает ресурсов: " + GetMissingIngredientsText(recipe);
|
||||||
|
Refresh();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (recipe.result == null || !playerInventory.CanAddItem(recipe.result, recipe.resultAmount))
|
||||||
|
{
|
||||||
|
lastMessage = "Недостаточно места в инвентаре для результата.";
|
||||||
|
Refresh();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Ingredients are removed only after confirming that the result can be added.
|
||||||
|
for (int i = 0; i < recipe.ingredients.Length; i++)
|
||||||
|
{
|
||||||
|
Ingredient ingredient = recipe.ingredients[i];
|
||||||
|
playerInventory.RemoveItem(ingredient.item, ingredient.amount);
|
||||||
|
}
|
||||||
|
|
||||||
|
playerInventory.AddItem(recipe.result, recipe.resultAmount);
|
||||||
|
lastMessage = "Создан предмет: " + recipe.GetResultText();
|
||||||
|
Refresh();
|
||||||
|
}
|
||||||
|
|
||||||
|
public string GetMissingIngredientsText(RecipeData recipe)
|
||||||
|
{
|
||||||
|
if (recipe == null || recipe.ingredients == null || playerInventory == null)
|
||||||
|
{
|
||||||
|
return "нет данных";
|
||||||
|
}
|
||||||
|
|
||||||
|
StringBuilder builder = new StringBuilder();
|
||||||
|
for (int i = 0; i < recipe.ingredients.Length; i++)
|
||||||
|
{
|
||||||
|
Ingredient ingredient = recipe.ingredients[i];
|
||||||
|
if (ingredient == null || ingredient.item == null)
|
||||||
|
{
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
|
int current = playerInventory.GetItemAmount(ingredient.item);
|
||||||
|
if (current >= ingredient.amount)
|
||||||
|
{
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (builder.Length > 0)
|
||||||
|
{
|
||||||
|
builder.Append(", ");
|
||||||
|
}
|
||||||
|
|
||||||
|
builder.Append(ingredient.item.itemName);
|
||||||
|
builder.Append(" ");
|
||||||
|
builder.Append(current);
|
||||||
|
builder.Append("/");
|
||||||
|
builder.Append(ingredient.amount);
|
||||||
|
}
|
||||||
|
|
||||||
|
return builder.Length == 0 ? "место в инвентаре" : builder.ToString();
|
||||||
|
}
|
||||||
|
|
||||||
|
public void SetRecipes(List<RecipeData> recipes)
|
||||||
|
{
|
||||||
|
availableRecipes = recipes ?? new List<RecipeData>();
|
||||||
|
Refresh();
|
||||||
|
}
|
||||||
|
|
||||||
|
public void Refresh()
|
||||||
|
{
|
||||||
|
OnCraftingChanged?.Invoke();
|
||||||
|
}
|
||||||
|
|
||||||
|
private bool HasIngredients(RecipeData recipe)
|
||||||
|
{
|
||||||
|
if (recipe == null || recipe.ingredients == null || playerInventory == null)
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
for (int i = 0; i < recipe.ingredients.Length; i++)
|
||||||
|
{
|
||||||
|
Ingredient ingredient = recipe.ingredients[i];
|
||||||
|
if (ingredient == null || ingredient.item == null || ingredient.amount <= 0)
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!playerInventory.HasItem(ingredient.item, ingredient.amount))
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: d65badc258c79888b99baf10cba8731b
|
||||||
|
MonoImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -0,0 +1,381 @@
|
|||||||
|
using System.Collections.Generic;
|
||||||
|
using UnityEngine;
|
||||||
|
using UnityEngine.UI;
|
||||||
|
|
||||||
|
public class CraftingUI : MonoBehaviour
|
||||||
|
{
|
||||||
|
public CraftingSystem craftingSystem;
|
||||||
|
public Inventory inventory;
|
||||||
|
public Transform recipeContainer;
|
||||||
|
public GameObject recipeButtonPrefab;
|
||||||
|
public Text messageText;
|
||||||
|
public Text selectedRecipeText;
|
||||||
|
public Font uiFont;
|
||||||
|
|
||||||
|
private readonly List<GameObject> recipeButtons = new List<GameObject>();
|
||||||
|
private RecipeData selectedRecipe;
|
||||||
|
|
||||||
|
private void OnEnable()
|
||||||
|
{
|
||||||
|
if (craftingSystem != null)
|
||||||
|
{
|
||||||
|
craftingSystem.OnCraftingChanged += RefreshRecipeButtons;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (inventory != null)
|
||||||
|
{
|
||||||
|
inventory.OnInventoryChanged += RefreshRecipeButtons;
|
||||||
|
}
|
||||||
|
|
||||||
|
BuildRecipeList();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void OnDisable()
|
||||||
|
{
|
||||||
|
if (craftingSystem != null)
|
||||||
|
{
|
||||||
|
craftingSystem.OnCraftingChanged -= RefreshRecipeButtons;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (inventory != null)
|
||||||
|
{
|
||||||
|
inventory.OnInventoryChanged -= RefreshRecipeButtons;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public void BuildRecipeList()
|
||||||
|
{
|
||||||
|
ClearRecipeButtons();
|
||||||
|
|
||||||
|
if (craftingSystem == null || recipeContainer == null || recipeButtonPrefab == null)
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
ConfigureRecipeContainer();
|
||||||
|
|
||||||
|
for (int i = 0; i < craftingSystem.availableRecipes.Count; i++)
|
||||||
|
{
|
||||||
|
RecipeData recipe = craftingSystem.availableRecipes[i];
|
||||||
|
if (recipe == null)
|
||||||
|
{
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
|
GameObject buttonObject = Instantiate(recipeButtonPrefab, recipeContainer);
|
||||||
|
buttonObject.SetActive(true);
|
||||||
|
ConfigureRecipeButtonFrame(buttonObject, i);
|
||||||
|
recipeButtons.Add(buttonObject);
|
||||||
|
|
||||||
|
Button button = buttonObject.GetComponent<Button>();
|
||||||
|
if (button != null)
|
||||||
|
{
|
||||||
|
RecipeData capturedRecipe = recipe;
|
||||||
|
button.onClick.AddListener(() => OnCraftButtonClicked(capturedRecipe));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
RefreshRecipeButtons();
|
||||||
|
if (selectedRecipe == null && craftingSystem.availableRecipes.Count > 0)
|
||||||
|
{
|
||||||
|
SelectRecipe(craftingSystem.availableRecipes[0]);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public void RefreshRecipeButtons()
|
||||||
|
{
|
||||||
|
if (craftingSystem == null)
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
for (int i = 0; i < recipeButtons.Count; i++)
|
||||||
|
{
|
||||||
|
GameObject buttonObject = recipeButtons[i];
|
||||||
|
RecipeData recipe = i < craftingSystem.availableRecipes.Count ? craftingSystem.availableRecipes[i] : null;
|
||||||
|
if (buttonObject == null || recipe == null)
|
||||||
|
{
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
|
bool canCraft = craftingSystem.CanCraft(recipe);
|
||||||
|
Button button = buttonObject.GetComponent<Button>();
|
||||||
|
if (button != null)
|
||||||
|
{
|
||||||
|
button.interactable = canCraft;
|
||||||
|
}
|
||||||
|
|
||||||
|
Image background = buttonObject.GetComponent<Image>();
|
||||||
|
if (background != null)
|
||||||
|
{
|
||||||
|
background.color = canCraft
|
||||||
|
? new Color(0.12f, 0.24f, 0.18f, 0.98f)
|
||||||
|
: new Color(0.13f, 0.16f, 0.18f, 0.98f);
|
||||||
|
}
|
||||||
|
|
||||||
|
Image stateStripe = buttonObject.transform.Find("StateStripe")?.GetComponent<Image>();
|
||||||
|
if (stateStripe != null)
|
||||||
|
{
|
||||||
|
stateStripe.color = canCraft
|
||||||
|
? new Color(0.25f, 0.75f, 0.38f, 1f)
|
||||||
|
: new Color(0.44f, 0.48f, 0.52f, 1f);
|
||||||
|
}
|
||||||
|
|
||||||
|
Text title = buttonObject.transform.Find("Title")?.GetComponent<Text>();
|
||||||
|
if (title != null)
|
||||||
|
{
|
||||||
|
title.text = recipe.recipeName;
|
||||||
|
}
|
||||||
|
|
||||||
|
Text result = buttonObject.transform.Find("Result")?.GetComponent<Text>();
|
||||||
|
if (result != null)
|
||||||
|
{
|
||||||
|
result.text = recipe.GetResultText();
|
||||||
|
}
|
||||||
|
|
||||||
|
Text ingredients = buttonObject.transform.Find("Ingredients")?.GetComponent<Text>();
|
||||||
|
if (ingredients != null)
|
||||||
|
{
|
||||||
|
ingredients.text = recipe.GetIngredientsText();
|
||||||
|
}
|
||||||
|
|
||||||
|
Text status = buttonObject.transform.Find("Status")?.GetComponent<Text>();
|
||||||
|
if (status != null)
|
||||||
|
{
|
||||||
|
status.text = canCraft ? "ГОТОВО" : "НЕТ РЕС.";
|
||||||
|
status.color = canCraft
|
||||||
|
? new Color(0.76f, 0.96f, 0.72f)
|
||||||
|
: new Color(0.94f, 0.72f, 0.62f);
|
||||||
|
}
|
||||||
|
|
||||||
|
Text label = buttonObject.transform.Find("Label")?.GetComponent<Text>();
|
||||||
|
if (label != null)
|
||||||
|
{
|
||||||
|
label.gameObject.SetActive(false);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if (messageText != null)
|
||||||
|
{
|
||||||
|
messageText.text = craftingSystem.lastMessage;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (selectedRecipe != null)
|
||||||
|
{
|
||||||
|
SelectRecipe(selectedRecipe);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public void SelectRecipe(RecipeData recipe)
|
||||||
|
{
|
||||||
|
selectedRecipe = recipe;
|
||||||
|
if (selectedRecipeText == null)
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (recipe == null)
|
||||||
|
{
|
||||||
|
selectedRecipeText.text = "Рецепт не выбран";
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
string missing = craftingSystem != null && !craftingSystem.CanCraft(recipe)
|
||||||
|
? "\nНе хватает: " + craftingSystem.GetMissingIngredientsText(recipe)
|
||||||
|
: "\nМожно создать сейчас.";
|
||||||
|
|
||||||
|
selectedRecipeText.text =
|
||||||
|
recipe.recipeName + ": " + recipe.description + "\n" +
|
||||||
|
"Ингредиенты: " + recipe.GetIngredientsText() + "\n" +
|
||||||
|
"Результат: " + recipe.GetResultText() + missing;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void OnCraftButtonClicked(RecipeData recipe)
|
||||||
|
{
|
||||||
|
SelectRecipe(recipe);
|
||||||
|
if (craftingSystem != null)
|
||||||
|
{
|
||||||
|
craftingSystem.Craft(recipe);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public void ClearRecipeButtons()
|
||||||
|
{
|
||||||
|
recipeButtons.Clear();
|
||||||
|
|
||||||
|
if (recipeContainer == null)
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
for (int i = recipeContainer.childCount - 1; i >= 0; i--)
|
||||||
|
{
|
||||||
|
Destroy(recipeContainer.GetChild(i).gameObject);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private void ConfigureRecipeContainer()
|
||||||
|
{
|
||||||
|
RectTransform containerRect = recipeContainer as RectTransform;
|
||||||
|
if (containerRect == null)
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
VerticalLayoutGroup layoutGroup = recipeContainer.GetComponent<VerticalLayoutGroup>();
|
||||||
|
if (layoutGroup != null)
|
||||||
|
{
|
||||||
|
layoutGroup.enabled = false;
|
||||||
|
}
|
||||||
|
|
||||||
|
containerRect.anchorMin = new Vector2(0.5f, 0.5f);
|
||||||
|
containerRect.anchorMax = new Vector2(0.5f, 0.5f);
|
||||||
|
containerRect.pivot = new Vector2(0.5f, 0.5f);
|
||||||
|
containerRect.anchoredPosition = new Vector2(0f, -8f);
|
||||||
|
containerRect.sizeDelta = new Vector2(336f, 286f);
|
||||||
|
|
||||||
|
Image panelImage = GetComponent<Image>();
|
||||||
|
if (panelImage != null)
|
||||||
|
{
|
||||||
|
panelImage.color = new Color(0.055f, 0.070f, 0.085f, 0.97f);
|
||||||
|
}
|
||||||
|
|
||||||
|
Text title = transform.Find("Recipe Title")?.GetComponent<Text>();
|
||||||
|
if (title != null)
|
||||||
|
{
|
||||||
|
SetRect(title.rectTransform, new Vector2(0.5f, 0.5f), new Vector2(0.5f, 0.5f), new Vector2(0f, 160f), new Vector2(336f, 30f), new Vector2(0.5f, 0.5f));
|
||||||
|
}
|
||||||
|
|
||||||
|
Text debug = transform.Find("Recipe Debug")?.GetComponent<Text>();
|
||||||
|
if (debug != null)
|
||||||
|
{
|
||||||
|
SetRect(debug.rectTransform, new Vector2(0.5f, 0.5f), new Vector2(0.5f, 0.5f), new Vector2(0f, -162f), new Vector2(336f, 24f), new Vector2(0.5f, 0.5f));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private void ConfigureRecipeButtonFrame(GameObject buttonObject, int index)
|
||||||
|
{
|
||||||
|
RectTransform rect = buttonObject.GetComponent<RectTransform>();
|
||||||
|
if (rect != null)
|
||||||
|
{
|
||||||
|
rect.anchorMin = new Vector2(0f, 1f);
|
||||||
|
rect.anchorMax = new Vector2(0f, 1f);
|
||||||
|
rect.pivot = new Vector2(0f, 1f);
|
||||||
|
rect.anchoredPosition = new Vector2(0f, -index * 58f);
|
||||||
|
rect.sizeDelta = new Vector2(336f, 52f);
|
||||||
|
rect.localScale = Vector3.one;
|
||||||
|
}
|
||||||
|
|
||||||
|
Image background = buttonObject.GetComponent<Image>();
|
||||||
|
if (background != null)
|
||||||
|
{
|
||||||
|
background.color = new Color(0.13f, 0.16f, 0.18f, 0.98f);
|
||||||
|
}
|
||||||
|
|
||||||
|
Text oldLabel = buttonObject.transform.Find("Label")?.GetComponent<Text>();
|
||||||
|
Font font = ResolveUIFont(oldLabel);
|
||||||
|
if (oldLabel != null)
|
||||||
|
{
|
||||||
|
oldLabel.gameObject.SetActive(false);
|
||||||
|
}
|
||||||
|
|
||||||
|
Image stateStripe = EnsureImageChild(buttonObject.transform, "StateStripe", new Color(0.44f, 0.48f, 0.52f, 1f));
|
||||||
|
SetRect(stateStripe.rectTransform, new Vector2(0f, 0.5f), new Vector2(0f, 0.5f), new Vector2(3f, 0f), new Vector2(6f, 44f), new Vector2(0.5f, 0.5f));
|
||||||
|
|
||||||
|
Text title = EnsureTextChild(buttonObject.transform, "Title", font, 13, FontStyle.Bold, TextAnchor.UpperLeft, Color.white);
|
||||||
|
SetRect(title.rectTransform, new Vector2(0f, 1f), new Vector2(0f, 1f), new Vector2(110f, -10f), new Vector2(190f, 20f), new Vector2(0.5f, 0.5f));
|
||||||
|
|
||||||
|
Text result = EnsureTextChild(buttonObject.transform, "Result", font, 12, FontStyle.Bold, TextAnchor.UpperRight, new Color(0.78f, 0.92f, 1f));
|
||||||
|
SetRect(result.rectTransform, new Vector2(1f, 1f), new Vector2(1f, 1f), new Vector2(-58f, -10f), new Vector2(100f, 20f), new Vector2(0.5f, 0.5f));
|
||||||
|
|
||||||
|
Text ingredients = EnsureTextChild(buttonObject.transform, "Ingredients", font, 9, FontStyle.Normal, TextAnchor.LowerLeft, new Color(0.82f, 0.86f, 0.88f));
|
||||||
|
ingredients.horizontalOverflow = HorizontalWrapMode.Wrap;
|
||||||
|
ingredients.verticalOverflow = VerticalWrapMode.Truncate;
|
||||||
|
SetRect(ingredients.rectTransform, new Vector2(0f, 0f), new Vector2(0f, 0f), new Vector2(130f, 12f), new Vector2(230f, 20f), new Vector2(0.5f, 0.5f));
|
||||||
|
|
||||||
|
Text status = EnsureTextChild(buttonObject.transform, "Status", font, 10, FontStyle.Bold, TextAnchor.LowerRight, new Color(0.94f, 0.72f, 0.62f));
|
||||||
|
SetRect(status.rectTransform, new Vector2(1f, 0f), new Vector2(1f, 0f), new Vector2(-46f, 12f), new Vector2(76f, 18f), new Vector2(0.5f, 0.5f));
|
||||||
|
}
|
||||||
|
|
||||||
|
private Text EnsureTextChild(Transform parent, string childName, Font font, int fontSize, FontStyle style, TextAnchor alignment, Color color)
|
||||||
|
{
|
||||||
|
Transform existing = parent.Find(childName);
|
||||||
|
GameObject child = existing != null ? existing.gameObject : new GameObject(childName, typeof(RectTransform), typeof(Text));
|
||||||
|
child.transform.SetParent(parent, false);
|
||||||
|
|
||||||
|
Text text = child.GetComponent<Text>();
|
||||||
|
text.font = font != null ? font : ResolveUIFont(null);
|
||||||
|
text.fontSize = fontSize;
|
||||||
|
text.fontStyle = style;
|
||||||
|
text.alignment = alignment;
|
||||||
|
text.color = color;
|
||||||
|
text.raycastTarget = false;
|
||||||
|
text.horizontalOverflow = HorizontalWrapMode.Wrap;
|
||||||
|
text.verticalOverflow = VerticalWrapMode.Truncate;
|
||||||
|
child.SetActive(true);
|
||||||
|
return text;
|
||||||
|
}
|
||||||
|
|
||||||
|
private Font ResolveUIFont(Text preferredText)
|
||||||
|
{
|
||||||
|
if (uiFont != null)
|
||||||
|
{
|
||||||
|
return uiFont;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (preferredText != null && preferredText.font != null)
|
||||||
|
{
|
||||||
|
uiFont = preferredText.font;
|
||||||
|
return uiFont;
|
||||||
|
}
|
||||||
|
|
||||||
|
Canvas canvas = GetComponentInParent<Canvas>();
|
||||||
|
if (canvas != null)
|
||||||
|
{
|
||||||
|
Text[] texts = canvas.GetComponentsInChildren<Text>(true);
|
||||||
|
for (int i = 0; i < texts.Length; i++)
|
||||||
|
{
|
||||||
|
if (texts[i] != null && texts[i].font != null && texts[i].font.name.ToLowerInvariant().Contains("ubuntu"))
|
||||||
|
{
|
||||||
|
uiFont = texts[i].font;
|
||||||
|
return uiFont;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
for (int i = 0; i < texts.Length; i++)
|
||||||
|
{
|
||||||
|
if (texts[i] != null && texts[i].font != null)
|
||||||
|
{
|
||||||
|
uiFont = texts[i].font;
|
||||||
|
return uiFont;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
uiFont = Resources.GetBuiltinResource<Font>("LegacyRuntime.ttf");
|
||||||
|
return uiFont;
|
||||||
|
}
|
||||||
|
|
||||||
|
private Image EnsureImageChild(Transform parent, string childName, Color color)
|
||||||
|
{
|
||||||
|
Transform existing = parent.Find(childName);
|
||||||
|
GameObject child = existing != null ? existing.gameObject : new GameObject(childName, typeof(RectTransform), typeof(Image));
|
||||||
|
child.transform.SetParent(parent, false);
|
||||||
|
|
||||||
|
Image image = child.GetComponent<Image>();
|
||||||
|
image.color = color;
|
||||||
|
image.raycastTarget = false;
|
||||||
|
child.SetActive(true);
|
||||||
|
return image;
|
||||||
|
}
|
||||||
|
|
||||||
|
private void SetRect(RectTransform rect, Vector2 anchorMin, Vector2 anchorMax, Vector2 anchoredPosition, Vector2 sizeDelta, Vector2 pivot)
|
||||||
|
{
|
||||||
|
rect.anchorMin = anchorMin;
|
||||||
|
rect.anchorMax = anchorMax;
|
||||||
|
rect.pivot = pivot;
|
||||||
|
rect.anchoredPosition = anchoredPosition;
|
||||||
|
rect.sizeDelta = sizeDelta;
|
||||||
|
rect.localScale = Vector3.one;
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: a203fb84ce0011b84b247ff5cd148925
|
||||||
|
MonoImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -0,0 +1,117 @@
|
|||||||
|
using System.Collections.Generic;
|
||||||
|
using UnityEngine;
|
||||||
|
using UnityEngine.UI;
|
||||||
|
|
||||||
|
public class HotbarUI : MonoBehaviour
|
||||||
|
{
|
||||||
|
public Inventory inventory;
|
||||||
|
public ItemUseSystem itemUseSystem;
|
||||||
|
public Transform slotContainer;
|
||||||
|
public GameObject slotPrefab;
|
||||||
|
public int slotCount = 10;
|
||||||
|
|
||||||
|
private readonly List<GameObject> views = new List<GameObject>();
|
||||||
|
|
||||||
|
private void OnEnable()
|
||||||
|
{
|
||||||
|
if (inventory != null)
|
||||||
|
{
|
||||||
|
inventory.OnInventoryChanged += RefreshUI;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (itemUseSystem != null)
|
||||||
|
{
|
||||||
|
itemUseSystem.OnSelectionChanged += RefreshUI;
|
||||||
|
}
|
||||||
|
|
||||||
|
BuildSlots();
|
||||||
|
RefreshUI();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void OnDisable()
|
||||||
|
{
|
||||||
|
if (inventory != null)
|
||||||
|
{
|
||||||
|
inventory.OnInventoryChanged -= RefreshUI;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (itemUseSystem != null)
|
||||||
|
{
|
||||||
|
itemUseSystem.OnSelectionChanged -= RefreshUI;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public void BuildSlots()
|
||||||
|
{
|
||||||
|
ClearSlots();
|
||||||
|
if (slotContainer == null || slotPrefab == null)
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
for (int i = 0; i < slotCount; i++)
|
||||||
|
{
|
||||||
|
GameObject view = Instantiate(slotPrefab, slotContainer);
|
||||||
|
view.SetActive(true);
|
||||||
|
int capturedIndex = i;
|
||||||
|
|
||||||
|
Button button = view.GetComponent<Button>();
|
||||||
|
if (button != null && itemUseSystem != null)
|
||||||
|
{
|
||||||
|
button.onClick.AddListener(() => itemUseSystem.SelectSlot(capturedIndex));
|
||||||
|
}
|
||||||
|
|
||||||
|
views.Add(view);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public void RefreshUI()
|
||||||
|
{
|
||||||
|
for (int i = 0; i < views.Count; i++)
|
||||||
|
{
|
||||||
|
GameObject view = views[i];
|
||||||
|
InventorySlot slot = inventory != null ? inventory.GetSlot(i) : null;
|
||||||
|
|
||||||
|
Text label = view.transform.Find("Label")?.GetComponent<Text>();
|
||||||
|
if (label != null)
|
||||||
|
{
|
||||||
|
label.text = slot != null ? slot.item.itemName + "\nx" + slot.amount : "Пусто";
|
||||||
|
}
|
||||||
|
|
||||||
|
Text number = view.transform.Find("Number")?.GetComponent<Text>();
|
||||||
|
if (number != null)
|
||||||
|
{
|
||||||
|
number.text = i == 9 ? "0" : (i + 1).ToString();
|
||||||
|
}
|
||||||
|
|
||||||
|
Image marker = view.transform.Find("ColorMarker")?.GetComponent<Image>();
|
||||||
|
if (marker != null)
|
||||||
|
{
|
||||||
|
marker.color = slot != null ? slot.item.itemColor : new Color(0.18f, 0.20f, 0.22f, 1f);
|
||||||
|
}
|
||||||
|
|
||||||
|
Image background = view.GetComponent<Image>();
|
||||||
|
if (background != null)
|
||||||
|
{
|
||||||
|
bool selected = itemUseSystem != null && itemUseSystem.selectedSlotIndex == i;
|
||||||
|
background.color = selected
|
||||||
|
? new Color(0.82f, 0.66f, 0.30f, 0.96f)
|
||||||
|
: new Color(0.10f, 0.12f, 0.15f, 0.92f);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public void ClearSlots()
|
||||||
|
{
|
||||||
|
views.Clear();
|
||||||
|
if (slotContainer == null)
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
for (int i = slotContainer.childCount - 1; i >= 0; i--)
|
||||||
|
{
|
||||||
|
Destroy(slotContainer.GetChild(i).gameObject);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: d2b8484cf82d01ee7afde9b971f40251
|
||||||
|
MonoImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user