Created
February 25, 2014 14:31
-
-
Save masayuki5160/9209888 to your computer and use it in GitHub Desktop.
Kii Cloud検証中なう。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
using System.Collections; | |
using KiiCorp.Cloud.Storage; | |
using KiiCorp.Cloud.Analytics; | |
public class KiiCloudManager : MonoBehaviour { | |
void Awake() | |
{ | |
string deviceID = SystemInfo.deviceUniqueIdentifier; | |
Kii.Initialize( Kii.AppId, Kii.AppKey, Kii.Site.JP ); | |
KiiAnalytics.Initialize( Kii.AppId, Kii.AppKey, KiiAnalytics.Site.JP, deviceID ); | |
registTest(); | |
} | |
private void registTest(){ | |
KiiUser.Builder builder; | |
builder = KiiUser.BuilderWithName("hogehoge"); | |
builder.WithEmail("[email protected]"); | |
KiiUser User = builder.Build(); | |
User.Register("hogehoge"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
まだいろいろやらなあかんけどひとまずつなぎの部分の設定はこんだけなのか?