Advance editor runtime and scripting integration

This commit is contained in:
2026-04-29 16:55:44 +08:00
parent 631bf32db2
commit 2e50c90167
60 changed files with 4071 additions and 228 deletions

View File

@@ -49,6 +49,10 @@ namespace Gameplay
public bool HasScriptableObjectType;
public bool HasScriptableObjectCreateInstance;
public bool HasRenderPipelineAssetScriptableObjectBase;
public bool HasScenePlanningContextType;
public bool HasPublicScenePlanningContextUseDefaultRequests;
public bool HasPublicScenePlanningContextAddCamera;
public bool HasPipelineAssetBuildSceneRenderRequests;
public bool HasPlanningContextType;
public bool HasPublicPlanningContextFramePlanId;
public bool HasRendererFeatureConfigureCameraFramePlan;
@@ -181,6 +185,8 @@ namespace Gameplay
typeof(ScriptableRenderContext);
System.Type requestContextType =
typeof(CameraRenderRequestContext);
System.Type scenePlanningContextType =
typeof(ScriptableRenderPipelineScenePlanningContext);
System.Type planningContextType =
typeof(ScriptableRenderPipelinePlanningContext);
System.Type pipelineAssetType =
@@ -420,6 +426,22 @@ namespace Gameplay
HasRenderPipelineAssetScriptableObjectBase =
scriptableObjectType != null &&
pipelineAssetType.BaseType == scriptableObjectType;
HasScenePlanningContextType =
scenePlanningContextType != null;
HasPublicScenePlanningContextUseDefaultRequests =
scenePlanningContextType.GetMethod(
"UseDefaultRequests",
PublicInstanceMethodFlags) != null;
HasPublicScenePlanningContextAddCamera =
scenePlanningContextType.GetMethod(
"AddCamera",
PublicInstanceMethodFlags) != null;
HasPipelineAssetBuildSceneRenderRequests =
pipelineAssetType.GetMethod(
"BuildSceneRenderRequests",
BindingFlags.Instance |
BindingFlags.Public |
BindingFlags.NonPublic) != null;
HasPlanningContextType =
planningContextType != null;
HasPublicPlanningContextFramePlanId =