Skip to content
This repository has been archived by the owner on Feb 15, 2022. It is now read-only.

Implement implicit instancing of editable objects #26

Closed
AndrewPrifer opened this issue Nov 11, 2020 · 0 comments
Closed

Implement implicit instancing of editable objects #26

AndrewPrifer opened this issue Nov 11, 2020 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@AndrewPrifer
Copy link
Owner

AndrewPrifer commented Nov 11, 2020

For now, instancing is possible through having multiple editable objects in the scene with the same uniqueName. These Objects will share all editable properties. Since this is a dangerous thing to do (you won't get any warning if you unintentionally have duplicate uniqueNames), you'll have to opt into this by setting the allowImplicitInstancing prop of EditableManager to true, otherwise you get an error.

If you do opt into this behavior, only one instance will be visible in the editor.

This behavior is temporary until prefabs are implemented, and is discouraged, since you also opt out of any warnings for unintentional uniqueName duplicates. See #33.

@AndrewPrifer AndrewPrifer added the enhancement New feature or request label Nov 11, 2020
@AndrewPrifer AndrewPrifer added this to the Road to 1.0.0 milestone Nov 14, 2020
@AndrewPrifer AndrewPrifer changed the title Allow instancing of editable objects Implement implicit instancing of editable objects Nov 15, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant