Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Refactor CallbackComponent for authoring entity management#2297

Open
SYBIOTE wants to merge 2 commits into
devir-engine/ir-engine:devfrom
IR-11497-MT-INT-Components-Trigger-values-are-not-reflected-in-the-UIir-engine/ir-engine:IR-11497-MT-INT-Components-Trigger-values-are-not-reflected-in-the-UICopy head branch name to clipboard
Open

Refactor CallbackComponent for authoring entity management#2297
SYBIOTE wants to merge 2 commits into
devir-engine/ir-engine:devfrom
IR-11497-MT-INT-Components-Trigger-values-are-not-reflected-in-the-UIir-engine/ir-engine:IR-11497-MT-INT-Components-Trigger-values-are-not-reflected-in-the-UICopy head branch name to clipboard

Conversation

@SYBIOTE

@SYBIOTE SYBIOTE commented Jul 4, 2025

Copy link
Copy Markdown
Contributor

Refactor the CallbackComponent to utilize the authoring entity for managing callbacks, ensuring that callbacks set on the authoring entity automatically reflect in the simulation. This change enhances the consistency and reliability of callback handling.

@HexaField HexaField left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When/why are we adding callbacks on authoring entities? Callbacks are not serializable, therefore should not be on the authoring layer.

@SYBIOTE

SYBIOTE commented Jul 5, 2025

Copy link
Copy Markdown
Contributor Author

When/why are we adding callbacks on authoring entities? Callbacks are not serializable, therefore should not be on the authoring layer.

Hmm, all entities in the scene already have callbacks for visibility, because of the object component

The trigger component
Properties panel, already queries over callbacks in the authoring layer

I assume then we dont want absolutely any callbacks in the authoring layer

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.

3 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.