GUIStyle mystyle = new GUIStyle("some string from the list below");
- "CN Box"
- "Button"
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Reflection; | |
| using UnityEditor; | |
| using UnityEngine; | |
| /// <summary> | |
| /// A base class for creating editors that decorate Unity's built-in editor types. | |
| /// </summary> | |
| public abstract class DecoratorEditor : Editor |
##Generate and Install IPA's file in device through Command Line
###Thanks to Mattt and phonegap's scripts
Take a note: all this steps can be automatized in a single script, if you know how to write it. (Bash or Ruby will be fine)
1.- Install your Provisioning Profile and Developer Certificate
2.- Install Shenzhen and ios-deploy: the firstone will generate the IPA file and the secondone will install it onto your device
| function ValidateGooglePlaySignature( $responseData, $signature, $publicKey, &$status, &$response ) | |
| { | |
| $responseData = trim( $responseData ); | |
| $signature = trim( $signature ); | |
| $response = json_decode( $responseData ); | |
| // Create an RSA key compatible with openssl_verify from our Google Play sig | |
| $key = "-----BEGIN PUBLIC KEY-----\n". | |
| chunk_split($publicKey, 64,"\n"). | |
| '-----END PUBLIC KEY-----'; |