Open
Description
Hi again, with Custom properties in Tiled i can change properties for Prefab Replacement ONLY of scripts. I cannot change values of BoxCollider2D, SpriteRenderer ecc. Only of my scripts.
In gameObjectExtensions.BroadcastProperty u call
var components = go.GetComponentsInChildren< MonoBehaviour >();
but u should call
var components = go.GetComponentsInChildren< Component >();
to check in all components, not only scripts.
Obviously FindXXXBySignature should change the type of param.
Metadata
Metadata
Assignees
Labels
No labels