From fcd81c6d53f5467e98274c6347376c7f3c9d45ab Mon Sep 17 00:00:00 2001 From: Paul-Walcher <paulwalcher12@gmail.com> Date: Sun, 9 Jun 2024 15:04:04 +0200 Subject: [PATCH] Updated create fact tutorial --- DOC/create_fact.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/DOC/create_fact.md b/DOC/create_fact.md index 8083ce0..eb82985 100644 --- a/DOC/create_fact.md +++ b/DOC/create_fact.md @@ -63,8 +63,10 @@ 1. Create an Icon-image 1.1 Create an icon-image with dimensions: 200x200 and save it into: "Assets\Scripts\InventoryStuff\Items\images" 1.2 Change the "Texture Type" to: "Sprite (2D and UI)", the "Sprite Mode" to "single" and finally the "Pixel per unit" to "256". - 2. Create the prefab for you facticon in: "Assets\Resources\Prefabs\UI\Icons\FactIcons", and drag your created sprite into "Source Image" - 3. Open: "Assets\Scenes\Worlds\River World" - 4. Then search for "DisplayFacts" and open "Factscreen". - 5. In both factscreens search for the rownumber of your factclass in "Prefabt Type Readonly" (yes, this is the real name not a typo), + 2. Create the prefab for you facticon in: "Assets\Resources\Prefabs\UI\Icons\FactIcons" by copying an existing prefab. + 2.1 Drag your created sprite into "Source Image" + 2.2 Add or remove additional points associated with your prefab, then edit the variable: "Fact Text" in the script "Fact Object UI". + 4. Open: "Assets\Scenes\Worlds\River World" + 5. Then search for "DisplayFacts" and open "Factscreen". + 6. In both factscreens search for the rownumber of your factclass in "Prefabt Type Readonly" (yes, this is the real name not a typo), then drag your created prefab into "Prefab Data Config" into the row with the same rownumber. \ No newline at end of file -- GitLab