Skip to main content

ProjectVLoginSceneScope class

Base class for the Login scene's scope. Subclass it and register the Login UI in ConfigureLogin; the sign-in and startup presenters come from the ProjectV scope.

Namespace: SilverTiger.ProjectV.Unity.Presentation

public abstract class ProjectVLoginSceneScope : LifetimeScope

Methods​

FindParent() (protected)​

Uses the ProjectV scope as the parent, whether or not a player is signed in.

protected override LifetimeScope? FindParent();

Returns

LifetimeScope?: The ProjectV scope, or null when it has not been built yet.

Configure(IContainerBuilder builder) (protected)​

Calls ConfigureLogin.

protected override void Configure(IContainerBuilder builder);

Parameters

NameTypeDescription
builderIContainerBuilderThe container builder for this scene.

ConfigureLogin(IContainerBuilder builder) (protected)​

Register the Login scene's UI here.

protected abstract void ConfigureLogin(IContainerBuilder builder);

Parameters

NameTypeDescription
builderIContainerBuilderThe container builder for this scene.