diff --git a/DOC/create_fact.md b/DOC/create_fact.md index 8083ce06d93e876a17919df4d51f1941ce06ba29..eb82985b86d414bae52ef63b69f9a097cdc3a7a6 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