Beamable SDK
BeamableReflection.PreserveAttribute Class Reference

from Unity docs https://docs.unity3d.com/ScriptReference/Scripting.PreserveAttribute.html More...

Inheritance diagram for BeamableReflection.PreserveAttribute:
Inheritance graph
[legend]
Collaboration diagram for BeamableReflection.PreserveAttribute:
Collaboration graph
[legend]

Detailed Description

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


The documentation for this class was generated from the following file: