Esempio n. 1
0
        void Awake()
        {
            BeautyDataCustom = (float[])BeautyDataDefault.Clone();

            _http = gameObject.AddComponent <HttpComponent>();
            _http.SetHttpComplete(DrawUi);
            _http.SetDownloadComplete(DownloadComplete);
        }
Esempio n. 2
0
 private void Start()
 {
     m_HttpComponent = GameBox.GetComponent <HttpComponent>();
     m_HttpComponent.Register(this);
 }