Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using UnityEngine;
- using System.Collections;
- public class SyncScript : MonoBehaviour {
- // Use this for initialization
- void Start() {
- }
- // Update is called once per frame
- void Update() {
- }
- // other method
- // out: true/false --> return boolean
- public void CheckLoginFacebook() { }
- // return string
- public void GetIdFacebook() { }
- public void GetMyAvatar() { }
- // in: id; out: avatar
- public void GetAvatar() { }
- public void GetDataUser () { }
- public void GetDataParse() { }
- // main methood
- // in: user, pass; out: success/fail
- public void LoginFacebook() { }
- // out: id, level, avatar
- public void GetLevelsFacebook() { }
- // GetDataParse -> write file sqlite DataUser
- public void SyncDownload() { }
- // GetDataUser, getIdFacebook -> up to Parse.com
- public void SyncUpload() { }
- // prepare --> facebook, parse
- // facebook: id app, hashkey, package
- // parse: application id, .net id
- }
Advertisement
Add Comment
Please, Sign In to add comment