KiiCloudUnitySDK : KiiCorp.Cloud.Unity Namespace

KiiInitializeBehaviour Class

Mandatory MonoBehaviour for scenes that use KiiCloud. You need to use this class to initialize Kii SDK instead of KiiCorp.Cloud.Storage.Kii.Initialize(string, string, KiiCorp.Cloud.Storage.Kii.Site)/KiiCorp.Cloud.Analytics.KiiAnalytics.Initialize(string, string, KiiCorp.Cloud.Analytics.KiiAnalytics.Site, string) method if you want to enjoy a lot of benefits.

Syntax

public class KiiInitializeBehaviour : UnityEngine.MonoBehaviour

Remarks

How to setup.
  1. Create an empty GameObject and attach the KiiInitializeBehaviour script component to it.
  2. Specify your AppID, AppKey and Site in the KiiInitializeBehaviour script.

Requirements

Namespace: KiiCorp.Cloud.Unity
Assembly: KiiCloudUnitySDK (in KiiCloudUnitySDK.dll)
Assembly Versions: 3.2.10.0

Members

See Also: Inherited members from UnityEngine.MonoBehaviour.

Public Constructors

Initializes a new instance of the KiiCorp.Cloud.Storage.KiiInitializeBehaviour class.

Public Fields

AppID string . The app ID.
AppKey string . The app Key.
ServerUrl string . The server URL.
Site KiiCorp.Cloud.Storage.Kii.Site . The site.

Public Properties

[read-only]
ApiTimeout int . Documentation for this section has not yet been entered.
[read-only]
static
Instance KiiInitializeBehaviour . Documentation for this section has not yet been entered.

Public Methods

Awake ()
Initializes the KiiCloudStorageSDK and KiiAnalyticsSDK.
SwitchApp (string, string, KiiCorp.Cloud.Storage.Kii.Site)
Switchs the app.
SwitchApp (string, string, string)
Switchs the app.

Member Details

KiiInitializeBehaviour Constructor

Initializes a new instance of the KiiCorp.Cloud.Storage.KiiInitializeBehaviour class.

Syntax

public KiiInitializeBehaviour ()

Remarks

This constructor is called by UnityGameEngine. Do not use it from your application.

Requirements

Namespace: KiiCorp.Cloud.Unity
Assembly: KiiCloudUnitySDK (in KiiCloudUnitySDK.dll)
Assembly Versions: 3.2.10.0

ApiTimeout Property

Documentation for this section has not yet been entered.

Syntax

public int ApiTimeout { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: KiiCorp.Cloud.Unity
Assembly: KiiCloudUnitySDK (in KiiCloudUnitySDK.dll)
Assembly Versions: 3.2.10.0

AppID Field

The app ID.

Syntax

[UnityEngine.SerializeField]
public string AppID

Remarks

Requirements

Namespace: KiiCorp.Cloud.Unity
Assembly: KiiCloudUnitySDK (in KiiCloudUnitySDK.dll)
Assembly Versions: 3.2.10.0

AppKey Field

The app Key.

Syntax

[UnityEngine.SerializeField]
public string AppKey

Remarks

Requirements

Namespace: KiiCorp.Cloud.Unity
Assembly: KiiCloudUnitySDK (in KiiCloudUnitySDK.dll)
Assembly Versions: 3.2.10.0

Awake Method

Initializes the KiiCloudStorageSDK and KiiAnalyticsSDK.

Syntax

public virtual void Awake ()

Remarks

This method is called by UnityGameEngine. Do not use it from your application.

Requirements

Namespace: KiiCorp.Cloud.Unity
Assembly: KiiCloudUnitySDK (in KiiCloudUnitySDK.dll)
Assembly Versions: 3.2.10.0

Instance Property

Documentation for this section has not yet been entered.

Syntax

public static KiiInitializeBehaviour Instance { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: KiiCorp.Cloud.Unity
Assembly: KiiCloudUnitySDK (in KiiCloudUnitySDK.dll)
Assembly Versions: 3.2.10.0

ServerUrl Field

The server URL.

Syntax

public string ServerUrl

Remarks

This attribute is intended for use in debug purposes. Use KiiInitializeBehaviour.Site instead. ex.) https://api.kii.com/api

Requirements

Namespace: KiiCorp.Cloud.Unity
Assembly: KiiCloudUnitySDK (in KiiCloudUnitySDK.dll)
Assembly Versions: 3.2.10.0

Site Field

The site.

Syntax

[UnityEngine.SerializeField]
public KiiCorp.Cloud.Storage.Kii.Site Site

Remarks

If KiiInitializeBehaviour.ServerUrl is set, this attribute will be ignored.

Requirements

Namespace: KiiCorp.Cloud.Unity
Assembly: KiiCloudUnitySDK (in KiiCloudUnitySDK.dll)
Assembly Versions: 3.2.10.0

SwitchApp Method

Switchs the app.

Syntax

public void SwitchApp (string appId, string appKey, KiiCorp.Cloud.Storage.Kii.Site site)

Parameters

appId
AppID.
appKey
AppKey.
site
Site.

Remarks

This method is for internal use only. Do not use it from your application.

Requirements

Namespace: KiiCorp.Cloud.Unity
Assembly: KiiCloudUnitySDK (in KiiCloudUnitySDK.dll)
Assembly Versions: 3.2.10.0

SwitchApp Method

Switchs the app.

Syntax

public void SwitchApp (string appId, string appKey, string serverUrl)

Parameters

appId
AppID.
appKey
AppID.
serverUrl
Server URL.

Remarks

This method is for internal use only. Do not use it from your application.

Requirements

Namespace: KiiCorp.Cloud.Unity
Assembly: KiiCloudUnitySDK (in KiiCloudUnitySDK.dll)
Assembly Versions: 3.2.10.0