Advance editor runtime and scripting integration
This commit is contained in:
@@ -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 =
|
||||
|
||||
Reference in New Issue
Block a user