Class Moderation
The Moderation class provides the entry point to access the Moderation service. It provides an interface to report a specific player with predefined reasons, and provide contextual information. Ensure you call UnityServices.InitializeAsync() before accessing the Instance property.
Inherited Members
Namespace: Unity.Services.Moderation
Assembly: Unity.Services.Moderation.dll
Syntax
public static class Moderation
Properties
Instance
Provides access to the IModerationService instance. If the Moderation service is not properly initialized, an InvalidOperationException will be thrown.
Declaration
public static IModerationService Instance { get; }
Property Value
Type | Description |
---|---|
IModerationService |