diff --git a/Packages/systems.speckle.speckle-unity/Runtime/Components/SpeckleReceiver.cs b/Packages/systems.speckle.speckle-unity/Runtime/Components/SpeckleReceiver.cs index e3ab1bc..ac86b67 100644 --- a/Packages/systems.speckle.speckle-unity/Runtime/Components/SpeckleReceiver.cs +++ b/Packages/systems.speckle.speckle-unity/Runtime/Components/SpeckleReceiver.cs @@ -77,20 +77,13 @@ namespace Speckle.ConnectorUnity.Components return true; } - /// - /// Receive the selected object, and converts ToNative as children of - /// This function is designed to be run as a coroutine - /// - /// - /// StartCoroutine(mySpeckleReceiver.ReceiveAndConvert_Routine(null); - /// Optional parent for the created root s - /// A filter function to allow for selectively excluding certain objects from being converted - /// function does not throw, instead calls , and calls upon completion - /// - /// + /// + /// + /// This function is designed to run as a coroutine i.e. + /// StartCoroutine(mySpeckleReceiver.ReceiveAndConvert_Routine()); + /// public IEnumerator ReceiveAndConvert_Routine( - Transform? parent, + Transform? parent = null, Predicate? predicate = null ) { @@ -134,9 +127,16 @@ namespace Speckle.ConnectorUnity.Components FinishOperation(); } - /// + /// + /// Receive the selected object, and converts ToNative as children of + /// + /// Optional parent for the created root s + /// A filter function to allow for selectively excluding certain objects from being converted + /// function does not throw, instead calls , and calls upon completion + /// + /// public async void ReceiveAndConvert_Async( - Transform? parent, + Transform? parent = null, Predicate? predicate = null ) {