![]() |
PiXYZ Plugin for Unity
Scripting API Documentation
|
Static Public Member Functions | |||
static string | GetLastError () | ||
static Compatibility | IsPluginCompatible () | ||
static Compatibility | IsPluginCompatible (out string message) | ||
static bool | Initialize () | ||
static bool | IsLicenseValid () | ||
static bool | CheckSetup () | ||
static bool | IsInitialized () | ||
static void | CheckForUpdate () | ||
Offline License | |||
Functions and attributes needed to deal with offline licenses. Generate activation code to the file
| |||
static bool | GenerateDeactivationCode (string path) | ||
static bool | InstallActivationCode (string path) | ||
Web License | |
Functions and attributes needed to deal with web licenses. | |
static bool | ConnectedToWebServer = false |
static WebLicense | CurrentLicense [get] |
static Plugin4UnityI.WebLicenseInfoList | Licenses [get] |
static void | RefreshAvailableLicenses () |
static bool | ConnectToWebServer (string username, string password) |
static bool | ReleaseWebLicense (int index) |
static bool | RequestWebLicense (int index) |
static bool | RetrieveCurrentLicense () |
Floating License | |
Functions and attributes needed to deal with floating licenses. summary>Class storing Floating license server settings | |
static bool | ConnectedToLicenseServer = false |
static LicenseServer | CurrentLicenseServer [get] |
static bool | IsFloatingLicense () |
static bool | RetrieveFloatingLicensingSetup () |
static bool | ConfigureLicenseServer (string address, ushort port, bool useFlexLM) |
Tokens | |
Functions and attributes needed to deal with tokens. Class to store token data | |
static List< Token >? | Tokens [get] |
static void | RetrieveTokens () |
static void | SelectAll () |
static void | DeselectAll () |
Functions and attibutes are sorted between Web License, Floating License, Offline License and Tokens.
|
static |
Check if there is a newer version of the plugin on pixyz website.
|
static |
Checks all prerequisites
|
static |
Try to connect to floating license server.
address | |
port | |
useFlexLM |
|
static |
Connect to PiXYZ web server using username and password.
This function automatically refresh the available licenses list.
username | |
password |
|
static |
Release all the tokens.
|
static |
GenerateDeactivationCode
path |
|
static |
Get the lastError catch by this class during one of its function execution.
|
static |
Initialize the PiXYZ Plugin and try to retrieve the previously used license.
|
static |
InstallActivationCode
path |
|
static |
Check if the current license is a floating.
|
static |
Check if the plugin is initialized.
This function does not initialize the product.
|
static |
Check if the current license is valid.
This function try to initialized the plugin if it's not initialized yet.
|
static |
Returns true if the current Unity version is compatible with this PiXYZ for Unity plugin version
|
static |
Returns true if the current Unity version is compatible with this PiXYZ for Unity plugin version Also returns a message
message | Compatibility message |
|
static |
Check on the web server the available licenses.
|
static |
Release installed license, this lets you install it on another computer.
index |
|
static |
Request license, this install the license on your computer.
index |
|
static |
Retrieve current valid license.
|
static |
Retrieve last floating license server settings used.
|
static |
update the Tokens list
|
static |
Request all the tokens.
|
static |
This attribute is set to true when the plugin succeed to connect to a PiXYZ floating license server.
|
static |
This attribute is set to true when the plugin succeed to connect to a PiXYZ web server.
|
staticget |
License currently used by the plugin.
Need to be connected to a web server.
|
staticget |
Current floating license server settings.
|
staticget |
The licenses available on the web server.
This list is not updated in realtime.
|
staticget |
list of tokens known by the plugin