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>();
 }
示例#3
0
 void Awake()
 {
     //Register custom loader class
     UIObjectFactory.SetLoaderExtension(typeof(MyGLoader));
     instance = this;
 }