diff --git a/unity/Assets/Scripts/FpinAgentController.cs b/unity/Assets/Scripts/FpinAgentController.cs index 9571325c7e..fef0ebaef1 100644 --- a/unity/Assets/Scripts/FpinAgentController.cs +++ b/unity/Assets/Scripts/FpinAgentController.cs @@ -899,15 +899,16 @@ spawnAssetActionFinished.actionReturn as ObjectSphereBounds } }; } else { - return new ActionFinished() { + return new ActionFinished() + { // TODO: change to a proper class once metadata return is defined - actionReturn = new Dictionary() + actionReturn: new Dictionary() { { "BoxBounds", this.BoxBounds }, { "cameraNearPlane", m_Camera.nearClipPlane }, { "cameraFarPlane", m_Camera.farClipPlane } } - }; + ); } }