Home > Net >  Want to implement a function, to help bosses
Want to implement a function, to help bosses

Time:01-13

Can in some way to detect the existence of a DLL, reference, if any, effect and makes the related part of the code, if not failure makes the related code, want to apply, put the script on the U3D engineering, can only use basic function, also can use the additional function, but the additional function need DLL, only no DLL's additional function is not effective, not an error,
Want to consult the realization

CodePudding user response:

A "hot update" scheme under the U3D
Although it is "hot update is also can be said to be" plugin

The plug-in is loaded, there is no don't load,

CodePudding user response:

Reflection can, mark asked

CodePudding user response:

Reflection can be realized completely

CodePudding user response:

Using reflection can be achieved, but can't use obj. Do explicitly call method pattern,
Or write an interface that, using the method of a class you need to call the DLL method using reflection method to deal with the actual, in the main program to determine whether you need to call DLL, reflecting object again, assigned to the interface, use interface whether null availability to handle the menu or button

CodePudding user response:

Can go to see the reflection
  •  Tags:  
  • C#
  • Related