【m】插件上传

This commit is contained in:
2026-04-28 16:48:04 +08:00
parent 459db5ec01
commit 753878bdbb
631 changed files with 91583 additions and 11 deletions

View File

@@ -0,0 +1,22 @@
using UnityEditor;
namespace Unity.RenderStreaming.Editor
{
static class SerializedPropertyExtension
{
public static SerializedProperty FindPropertyInChildren(this SerializedProperty target, string propertyName)
{
SerializedProperty property = null;
while (target.Next(true))
{
if (target.name == propertyName)
{
property = target.Copy();
break;
}
}
target.Reset();
return property;
}
}
}