It's the 15th anniversary of Google Maps Platform - Check out the latest news and announcements

Google.Maps.Util.IUnityEditorProxy

A proxy for UnityEditor functions. This allows us to skip a level of dependency.

Summary

Inheritance

Direct Known Subclasses:Google.Maps.Util.UnityEditorProxyStub

Public functions

AddToBeforeAssemblyReload(Delegate callback)
void
Add the specified delegate to a static method to beforeAssemblyReload.
CreateAssemblyReloadCallback(Action callback)
Delegate
Creates a BeforeAssemblyReload action to be passed in for AddToBeforeAssemblyReload and RemoveFromBeforeAssemblyReload
DisplayDialog(string title, string message, string ok, string cancel)
bool
Wrapper for EditorUtility.DisplayDialog.
GetBeforeAssemblyReloadDelegates()
Delegate[]
Return delegates from invocation list for beforeAssemblyReload.
IsBuildingPlayer()
bool
Is the player currently being built?
RemoveFromBeforeAssemblyReload(Delegate callback)
void
Remove the specified delegate to a static method to beforeAssemblyReload.
SetEditorUpdateEnabled(bool enabled)
void
Enable or disable continuous player loop updates (applicable only to edit mode).

Public functions

AddToBeforeAssemblyReload

void AddToBeforeAssemblyReload(
  Delegate callback
)

Add the specified delegate to a static method to beforeAssemblyReload.

CreateAssemblyReloadCallback

Delegate CreateAssemblyReloadCallback(
  Action callback
)

Creates a BeforeAssemblyReload action to be passed in for AddToBeforeAssemblyReload and RemoveFromBeforeAssemblyReload

DisplayDialog

bool DisplayDialog(
  string title,
  string message,
  string ok,
  string cancel
)

Wrapper for EditorUtility.DisplayDialog.

GetBeforeAssemblyReloadDelegates

Delegate[] GetBeforeAssemblyReloadDelegates()

Return delegates from invocation list for beforeAssemblyReload.

IsBuildingPlayer

bool IsBuildingPlayer()

Is the player currently being built?

Details
Returns
True if the player is currently being built, false otherwise.

RemoveFromBeforeAssemblyReload

void RemoveFromBeforeAssemblyReload(
  Delegate callback
)

Remove the specified delegate to a static method to beforeAssemblyReload.

SetEditorUpdateEnabled

void SetEditorUpdateEnabled(
  bool enabled
)

Enable or disable continuous player loop updates (applicable only to edit mode).

Details
Parameters
enabled
Whether to enable or disable continuous player loop updates.