Add support for passing back value via reference to C# scripting event

This commit is contained in:
Wojciech Figat
2021-12-06 16:46:16 +01:00
parent f4b62ce384
commit 23303802ec
8 changed files with 44 additions and 15 deletions

View File

@@ -261,7 +261,7 @@ namespace FlaxEditor.Windows
InputActions.Add(options => options.StepFrame, Editor.Simulation.RequestPlayOneFrame);
}
private void OnPostRender(GPUContext context, RenderContext renderContext)
private void OnPostRender(GPUContext context, ref RenderContext renderContext)
{
// Debug Draw shapes
if (_showDebugDraw)