Skip to content

Add AfterAppearanceChange event to AppearanceSystem#6606

Open
MLGTASTICa wants to merge 1 commit into
space-wizards:masterfrom
MLGTASTICa:appearanceImprov
Open

Add AfterAppearanceChange event to AppearanceSystem#6606
MLGTASTICa wants to merge 1 commit into
space-wizards:masterfrom
MLGTASTICa:appearanceImprov

Conversation

@MLGTASTICa

Copy link
Copy Markdown
Contributor

Adds an AfterAppearanceChange event + methods in VisualiserSystem.
Very usefull for cases where someone might want to duplicate a existing ent's appearance/layer data for rendering else where (like showing an APC entity in a mirror with the current state properly created)

@slarticodefast

Copy link
Copy Markdown
Contributor

Can't you just use the appearance data given in the AppearanceChangedEvent for the mirrored entity as well instead of copying sprite layers after applying the changes?

@MLGTASTICa

Copy link
Copy Markdown
Contributor Author

Can't you just use the appearance data given in the AppearanceChangedEvent for the mirrored entity as well instead of copying sprite layers after applying the changes?

This is more generic and my use case is making item bundles that can contain and render multiple entities at once both in world and inventoryUI

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

Successfully merging this pull request may close these issues.

2 participants