Skip to main content

BuildProcessing.AndroidBuildProcessor Class

BFG SDK build processor for Android. More...

Public Member Functions

void OnPreprocessBuild (BuildReport report)
 
void OnPostGenerateGradleAndroidProject (string path)
 

Static Public Member Functions

static AndroidBuildContext Preprocess (AndroidBuildSettings settings)
 Apply all settings and modifications required by the BFG SDK to the Unity project prior to export. More...
 
static void Postprocess (AndroidBuildSettings settings, string buildPath, AndroidBuildContext context=default)
 Apply all settings and modifications required by the BFG SDK to an exported Android project. More...
 

Properties

int callbackOrder [get]
 

Detailed Description

BFG SDK build processor for Android. As a part of Unity's build processes, Postprocess will be invoked with the settings you have configured via BFGBuildSettings, or skipped if you have SDK build processing disabled. You can invoke certain build process behaviors by calling Postprocess or Preprocess directly with a custom-tailored instance of AndroidBuildSettings.

Member Function Documentation

◆ Postprocess()

static void BFGSDK.BuildProcessing.AndroidBuildProcessor.Postprocess (AndroidBuildSettings settings,
string buildPath,
AndroidBuildContext context = default 
)
inlinestatic
Apply all settings and modifications required by the BFG SDK to an exported Android project.
Parameters
settingsSettings that dictate which steps are performed, and specify game-specific information.
buildPathWhere Unity exported the Android project.
contextOptional build context returned from Preprocess.

◆ Preprocess()

static AndroidBuildContext BFGSDK.BuildProcessing.AndroidBuildProcessor.Preprocess (AndroidBuildSettings settings)
inlinestatic
Apply all settings and modifications required by the BFG SDK to the Unity project prior to export.
Parameters
settingsSettings that dictate which steps are performed, and specify game-specific information.
Returns
Context to use when calling Postprocess.