Skip to content

Instantly share code, notes, and snippets.

@jonathantsang
jonathantsang / README.md
Last active December 19, 2019 18:24
README.md for Glimmer Support for Storybook

Glimmer Support for Storybook

What?

  • Storybook is an open source tool for developing UI components in isolation for React, Vue, and Angular etc. For more details please check : Storybook documentation.
  • GlimmerJs is not one of the supported engines for Storybook.
  • This PR builds support for GlimmerJs on Storybook through the @glimmerx/storybook package.
  • The final goal is to contribute it back to the core Storybook repository.

[photo of storybook]

0xd2a059d921425DA9D293Cb819CDB33A5394d0fE7
0x5406532a6D6CF9301d83a2cE7353F919C15Cea7B
0x5406532a6D6CF9301d83a2cE7353F919C15Cea7B
0xF3F1A46BEC9A2ca51ec2637fecc49A78C87Bc8b1
public class dragcontroller : MonoBehaviour {
public Camera cam;
Vector2 initial;
Vector2 end;
// Update is called once per frame
void Update () {