Обнаружение Unity во время выполненияC#

Место общения программистов C#
Anonymous
Обнаружение Unity во время выполнения

Сообщение Anonymous »


We have a C# library for multiple platforms and we are looking for a way to detect that it is a Unity application at runtime.

I have seen most approaches are focused on compilation directives, but that won't help because we are generating only one universal C# binary for all platforms.

Is there a straightforward way to sense that at runtime?


Источник: https://stackoverflow.com/questions/780 ... at-runtime

Вернуться в «C#»