You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: