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

DropDownBox under UMAData doesn't work for multiple DNA #69

Open
freamtr opened this issue Oct 28, 2016 · 0 comments
Open

DropDownBox under UMAData doesn't work for multiple DNA #69

freamtr opened this issue Oct 28, 2016 · 0 comments

Comments

@freamtr
Copy link

freamtr commented Oct 28, 2016

In your Generator script, call addna on both umaDna and umaTutorialDNA. This is a UnityEditor issue.

The issue is in CharacterBaseEditor.cs with Rebuild methods. When selecting the dropdown for umaTutorialDNA, you can view the dna sliders. Once you try to update a dnaSlider the slider will reset back to umaDna. Rebuild is called on when ToolBarGui returns true on case 0 once a dnaSlider has changed.

ViewDna is updated to the dropdown index option but Rebuild is called twice once CharacterBaseEditor has finished which causes viewDna to reset back to index 0. Add a breakpoint on line 1073 and continue execution can be pressed twice when a dnaSlider is updated.

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

No branches or pull requests

1 participant