Esempio n. 1
0
        public void Awake()
        {
            // this array should be filled before you can use EncryptedPlayerPrefs :
            EncryptedPlayerPrefs.keys    = new string[5];
            EncryptedPlayerPrefs.keys[0] = "AFsT0m8Q";
            EncryptedPlayerPrefs.keys[1] = "WKvhyubv";
            EncryptedPlayerPrefs.keys[2] = "kOg6mN9l";
            EncryptedPlayerPrefs.keys[3] = "Ed3ri5U4";
            EncryptedPlayerPrefs.keys[4] = "GyVHft3j";

            OnEventCallback += new SocialNetwork.EventHandler(OnEventHandler);
        }
        public void Awake ()
        {
            // this array should be filled before you can use EncryptedPlayerPrefs :
            EncryptedPlayerPrefs.keys=new string[5];
            EncryptedPlayerPrefs.keys[0]="AFsT0m8Q";
            EncryptedPlayerPrefs.keys[1]="WKvhyubv";
            EncryptedPlayerPrefs.keys[2]="kOg6mN9l";
            EncryptedPlayerPrefs.keys[3]="Ed3ri5U4";
            EncryptedPlayerPrefs.keys[4]="GyVHft3j";

            OnEventCallback += new SocialNetwork.EventHandler(OnEventHandler);
        }