Click or drag to resize

ModScriptBehaviourModSecurity Property

A reference to the IModSecurity interface that allows access to the mod security permissions at runtime. This is useful for determining whether the mod has permission to perform an action before hand. You should not access this property from 'Awake'. Instead use 'Start' or 'OnModLoaded'.

Namespace:  UMod
Assembly:  UMod-Interface (in UMod-Interface.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public IModSecurity ModSecurity { get; }

Property Value

Type: IModSecurity

Implements

IModContextModSecurity
See Also