Sevdat Posted July 8 Share Posted July 8 (edited) Good evening, I'm watching the tutorial (https://www.youtube.com/watch?v=hHcUYQUlG00), but noticed that DestroyRenderResources, MethodSwap and MethodImpl isn't explained and couldn't find it in the documentation. What are they for? Edited July 8 by Sevdat Link to comment
arizmenda Posted July 9 Share Posted July 9 Hi, Sevdat! The information in tutorial is based on 2.10 version of SDK, which is currently not supported. To satisfy your curiosity here is link to the outdated documentation https://developer.unigine.com/en/docs/2.10/api/library/common/logic/class.worldlogic?rlang=cs But be sure to write components according to the actual one (you can switch the version on top of the page). The detailed information about MethodImpl you can find here https://learn.microsoft.com/en-us/dotnet/api/system.runtime.compilerservices.methodimplattribute?view=net-8.0 Also check the C# Component Samples demo source code for instance https://developer.unigine.com/en/docs/latest/sdk/demos/csharp_component_samples/?rlang=cs Thanks! 1 Link to comment
Recommended Posts