v1.0.0
Latest
2020.3+
Class FriendsPackageInitializer
FriendsPackageInitializer register the friends component and modifies the configuration based on the project's configuration.
Namespace: Unity.Services.Friends
Syntax
public class FriendsPackageInitializer : IInitializablePackage
Methods
Initialize(CoreRegistry)
Async Operation. Initialize the friends package based on different components.
Declaration
public Task Initialize(CoreRegistry registry)
Parameters
Type | Name | Description |
---|---|---|
CoreRegistry | registry | A container to store all available IInitializablePackage. |
Returns
Type | Description |
---|---|
Task | Awaitable task |