com.caffeine
Version:
Caffeine package is a collection of utility methods, design patterns, and extensions for creating, previewing, and distributing interactive courses within Unity.
53 lines (46 loc) • 2 kB
text/xml
<AccessPolicy>
<!-- Internal system restrictions -->
<Rule id="InternalRestriction">
<assembly fullname="Mono.Security">
<type fullname="*"/>
</assembly>
<assembly fullname="MS.Internal">
<type fullname="*"/>
</assembly>
<assembly fullname="HybridCLR">
<type fullname="*"/>
</assembly>
</Rule>
<!-- Specific Unity restrictions -->
<Rule id="UnityRestriction">
<assembly fullname="UnityEngine.CoreModule">
<type fullname="UnityEngine.Resources.Load.*"/>
<type fullname="UnityEngine.Application.Quit"/>
<type fullname="UnityEngine.Object.FindObjectsOfTypeIncludingAssets.*"/>
<type fullname="UnityEngine.Networking.*"/>
<type fullname="UnityEngine.PlayerPrefs.*"/>
<type fullname="UnityEngine.Burst.*"/>
<type fullname="Unity.Burst.*"/>
<type fullname="UnityEngine.Lumin.*"/>
<type fullname="UnityEngine.DynamicGI.*"/>
</assembly>
</Rule>
<!-- Addressable assets specific permissions and restrictions -->
<Rule id="AddressableAssets">
<assembly fullname="Unity.Addressables">
<type fullname="*"/>
</assembly>
</Rule>
<!-- Core restrictions -->
<Rule id="CoreRestrictions">
<assembly fullname="mscorlib">
<type fullname="System.IO.*"/>
<type fullname="System.Reflection.*"/>
<type fullname="System.Reflection.MemberInfo" access="1"/>
<type fullname="System.Reflection.MemberInfo.Name" access="1"/>
<type fullname="System.Reflection.MemberInfo.get_Name" access="1"/>
</assembly>
</Rule>
<!-- Target Assemblies -->
<Target assembly="CaffeinePlus" accessAssemblyNotInRules="1" rules="InternalRestriction,UnityRestriction,AddressableAssets,CoreRestrictions"/>
</AccessPolicy>