public void Init() { thisDUDA = target as DynamicUMADnaAsset; //check the ID and paths bool doUpdate = thisDUDA.SetCurrentAssetPath(); if (doUpdate) { serializedObject.Update(); } initialized = true; }