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
The selected parent should be of the exact same class as the overriden item (otherwise fields might be missing) and should not be the child itself.
This check is currently done when setting the parent as:
if(parent.GetType()!=target.GetType()){Debug.Log("Only equal types can be selected as parent");return;}if(AssetDatabase.GetAssetPath(parent)==AssetDatabase.GetAssetPath(target)){Debug.Log("You can't select the same object as parent");return;}
It would be alot better to directly filter the possible candidates when selecting in the object, but adding the AssetSelector attribute with a filter, or building a custom ValueDropdown both did not work, not sure why.
The text was updated successfully, but these errors were encountered:
The selected parent should be of the exact same class as the overriden item (otherwise fields might be missing) and should not be the child itself.
This check is currently done when setting the parent as:
It would be alot better to directly filter the possible candidates when selecting in the object, but adding the
AssetSelector
attribute with a filter, or building a customValueDropdown
both did not work, not sure why.The text was updated successfully, but these errors were encountered: