Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add 'Custom ReadMe' to Unity Inspector Window for FTUE #21

Closed
SamuelAsherRivello opened this issue Mar 13, 2023 · 1 comment
Closed
Assignees
Milestone

Comments

@SamuelAsherRivello
Copy link

SamuelAsherRivello commented Mar 13, 2023

Background Info

Projects

  • Tezos SDK For Unity - Examples - A set of scene by scene examples showcasing SDK Features in isolation
  • Tezos SDK For Unity - Sample {tbd} Game - A complete game showcasing SDK Features together

Both projects will include a custom implementation of ReadMe within Unity.

ToDo

I suggest that the Tezos SDK itself also have this functionality. It provides good FTUE orientation and provides consistency with the projects above.

If the team agrees, please complete this ticket. Here are steps to complete and further below are some helpful demo resources.

  1. Copy Demo code from the Demo Project to the /Assets/ folder of the SDK Repo
    1 Validate the ReadMe works as shown in the video
  2. Move Demo code to the /Package/ of the repo (subfolder of your choice)
  3. Validate the ReadMe works (still) as shown in the video
  4. Update the ReadMe layout (video explains how) to meet your final specs

Dependencies

While not strictly required, I recommend to complete the following before starting this ticket.

Demo

Demo Resources

Demo Screenshot

image

@SamuelAsherRivello SamuelAsherRivello changed the title Add Custom Unity ReadMe Add 'Custom ReadMe' to Unity Inspector Window for FTUE Mar 13, 2023
@m-kus m-kus added this to the 1.2.0 milestone Apr 4, 2023
@m-kus m-kus assigned fraidev and unassigned mismirnov Apr 11, 2023
@m-kus m-kus modified the milestones: 1.2.0, 1.3.0 Apr 17, 2023
@SamuelAsherRivello
Copy link
Author

SamuelAsherRivello commented Apr 21, 2023

Great feedback on https://tezos-dev.slack.com/archives/C04JEV96Q2H/p1682035019596739

Here is a suggested workflow to use the RMC Readme without any UPM dependency on RMC libraries.

Steps

  1. Open the https://github.com/trilitech/internal-unity-readme-demo
  • Update the contents of the readme.asset to the desired text layout. Do this only if needed (it may be good as is). Once happy with it, move to the next step
  • Ensure the readme.asset displays automatically when the project first opens, that the readme.asset renders properly in the inspector window, and that the Unity top menu functions properly to pen the Readme.asset. This is existing, expected behavior.
  1. Copy the readme.asset and source files to the Tezos SDK package. Thus no dependency on any RMC-library is needed.
  • Ensure (again, now in the package) the readme.asset displays automatically when the project first opens, that the readme.asset renders properly in the inspector window, and that the Unity top menu functions properly to pen the Readme.asset. This is existing, expected behavior.
  1. Create a new unity project. Import the Tezos SDK package.
  • Ensure (again, now in the new project) the readme.asset displays automatically when the project first opens, that the readme.asset renders properly in the inspector window, and that the Unity top menu functions properly to pen the Readme.asset. This is existing, expected behavior.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants