Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
FrameWorld
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
FrameIT
FrameWorld
Commits
fcd81c6d
Commit
fcd81c6d
authored
9 months ago
by
Paul-Walcher
Browse files
Options
Downloads
Patches
Plain Diff
Updated create fact tutorial
parent
9f576220
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
DOC/create_fact.md
+6
-4
6 additions, 4 deletions
DOC/create_fact.md
with
6 additions
and
4 deletions
DOC/create_fact.md
+
6
−
4
View file @
fcd81c6d
...
@@ -63,8 +63,10 @@
...
@@ -63,8 +63,10 @@
1. Create an Icon-image
1. Create an Icon-image
1.1 Create an icon-image with dimensions: 200x200 and save it into: "Assets\Scripts\InventoryStuff\Items\images"
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".
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"
2. Create the prefab for you facticon in: "Assets\Resources\Prefabs\UI\Icons\FactIcons" by copying an existing prefab.
3. Open: "Assets\Scenes\Worlds\River World"
2.1 Drag your created sprite into "Source Image"
4. Then search for "DisplayFacts" and open "Factscreen".
2.2 Add or remove additional points associated with your prefab, then edit the variable: "Fact Text" in the script "Fact Object UI".
5. In both factscreens search for the rownumber of your factclass in "Prefabt Type Readonly" (yes, this is the real name not a typo),
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.
then drag your created prefab into "Prefab Data Config" into the row with the same rownumber.
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment