void Awake() { details = GameObject.Find("Login Button").GetComponent<loginButton>(); consumerKey = details.consumerKey; consumerSecret = details.consumerSecret; }
// Use this for initialization void Start () { details = GameObject.Find("Login Button").GetComponent<loginButton>(); }
void Awake() { //Register custom loader class UIObjectFactory.SetLoaderExtension(typeof(MyGLoader)); instance = this; }