Determine if Plugin is running in the Client or Player

Hi

I have a plugin that is included when a is video exported. The plugin needs to perform some different actions depending on if its running in the client or the player. What would be the best way to determine which one its running in?

Thanks

Ian

Hi,

You can use EnvironmentManager.Instance.SmartClientInOfflineMode property to determine whether you are running in the client or in the player - offline mode means that you are running in the player.

Thanks Paulina

That worked well and the plugin is already to go.

Cheers

Ian