AdamsLair / duality

a 2D Game Development Framework
https://adamslair.github.io/duality
MIT License
1.4k stars 289 forks source link

Component members are not added in order #777

Closed Shadowblitz16 closed 4 years ago

Shadowblitz16 commented 4 years ago

Summary

Component members are not added in the order they are added and declared

How to reproduce

Workaround

Analysis

Attachments

image

image

deanljohnson commented 4 years ago

Pretty sure it is alphabetical, not random.

ilexp commented 4 years ago

This is a default-on setting in the inspector 🙂 Click the little icon with A and Z and an arrow in it to toggle this. You'll instead get the actual ordering of the properties.