amethyst / editor-core

Crate that allows an Amethyst game to communicate with an editor.
Other
44 stars 10 forks source link

Add more default types #47

Closed randomPoison closed 5 years ago

randomPoison commented 5 years ago

sync_default_types now registers FlyControlTag, HideCursor, WindowFocus, UiText, UiButton, UiTransform, CameraOrtho, DestroyAtTime, DestroyInTime, MouseReactive, and Named. Now all entities in the pong example appear to have components attached (whereas previously the entities for UI elements appeared to be empty). This is part of the work for #18, and I believe adds all the components and resources that can currently be supported.