Beamable SDK
|
from Unity docs https://docs.unity3d.com/ScriptReference/Scripting.PreserveAttribute.html More...
from Unity docs https://docs.unity3d.com/ScriptReference/Scripting.PreserveAttribute.html
For 3rd party libraries that do not want to take on a dependency on UnityEngine.dll, it is also possible to define their own PreserveAttribute. The code stripper will respect that too, and it will consider any attribute with the exact name "PreserveAttribute" as a reason not to strip the thing it is applied on, regardless of the namespace or assembly of the attribute.
The reason we need to use a custom PreserveAttribute is so that we can don't need to reference UnityEngine