C# Class GooglePlayServices.PlayServicesResolver

Inheritance: UnityEditor.AssetPostprocessor
Show file Open project: googlesamples/unity-jar-resolver Class Usage Examples

Public Methods

Method Description
HandleOverwriteConfirmation ( Dependency oldDep, Dependency newDep ) : bool

Handles the overwrite confirmation.

RegisterResolver ( IResolver resolverImpl ) : IResolver

Registers the resolver.

The resolver with the greatest version number is retained

Private Methods

Method Description
AutoResolve ( ) : void

Resolve dependencies if auto-resolution is enabled.

DeleteFiles ( string filenames ) : bool

Delete the specified array of files and directories.

MenuResolve ( ) : void
NotAvailableDialog ( ) : void

Display a dialog explaining that the resolver is disabled in the current configuration.

OnPostprocessAllAssets ( string importedAssets, string deletedAssets, string movedAssets, string movedFromAssetPaths ) : void

Called by Unity when all assets have been updated. This is used to kick off resolving the dependendencies declared.

PlayServicesResolver ( ) : System

Initializes the GooglePlayServices.PlayServicesResolver class.

PollBundleId ( ) : void

If the user changes the bundle ID, perform resolution again.

Resolve ( System resolutionComplete = null ) : void

Resolve dependencies.

ResolveOnBundleIdChanged ( object sender, BundleIdChangedEventArgs args ) : void

If the user changes the bundle ID, perform resolution again.

SettingsDialog ( ) : void

Method Details

HandleOverwriteConfirmation() public static method

Handles the overwrite confirmation.
public static HandleOverwriteConfirmation ( Dependency oldDep, Dependency newDep ) : bool
oldDep Dependency Old dependency.
newDep Dependency New dependency replacing old.
return bool

RegisterResolver() public static method

Registers the resolver.
The resolver with the greatest version number is retained
public static RegisterResolver ( IResolver resolverImpl ) : IResolver
resolverImpl IResolver Resolver impl.
return IResolver