Google. Maps. Util. UnityEditorProxyStub
Stub class to throw exceptions if UnityEditor functions are called in non-editor mode.
Summary
Inheritance
Inherits from: Google.Maps.Util.IUnityEditorProxy
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?
Returns
|
|
True if the player is currently being built, false otherwise.
|
||
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).
Parameters |
|
|
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?
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).
enabled
|
Whether to enable or disable continuous player loop updates.
|