Inheritance: UnityEngine.MonoBehaviour
Ejemplo n.º 1
0
 public void SetAdapter(IBaseAdapter adapter, int columnCount)
 {
     this.adapter     = adapter;
     this.itemCount   = adapter.GetCount();
     this.columnCount = columnCount;
     Draw();
 }
Ejemplo n.º 2
0
 public void SetAdapter(IBaseAdapter adapter, int columnCount)
 {
     this.adapter = adapter;
     this.itemCount = adapter.GetCount ();
     this.columnCount = columnCount;
     Draw ();
 }
Ejemplo n.º 3
0
 public void SetAdapter(IBaseAdapter adapter, int columnCount)
 {
     if (this == null)
     {
         return;
     }
     this.adapter     = adapter;
     this.itemCount   = adapter.GetCount();
     this.columnCount = columnCount;
     Draw();
 }
 protected GameObject GetList(IBaseAdapter adapter)
 {
     if (adapter != null)
     {
         GameObject listViewObj = GetObject(PrefabListView);
         ListView   listView    = listViewObj.GetComponent <ListView> ();
         listView.SetAdapter(adapter);
         listView.DrawList();
         return(listViewObj);
     }
     return(null);
 }
Ejemplo n.º 5
0
		protected GameObject GetList(IBaseAdapter adapter)
		{

			if (adapter != null) 
			{
				GameObject listViewObj = Instantiate (Resources.Load ("Prefabs/SimpleView/ListView")) as GameObject;
				ListView listView = listViewObj.GetComponent<ListView> ();
				//adapter.SetElements (status.GetStatusText ().GetStatusTextElements());
				listView.SetAdapter(adapter);
				listView.DrawList ();
				return listViewObj;
			} 
			return null;
		}
 private void DrawContent(IBaseAdapter adapter, int columnsCount)
 {
     content.SetAdapter(adapter, columnsCount);
 }
Ejemplo n.º 7
0
 public void SetAdapter(IBaseAdapter adapter)
 {
     this.adapter = adapter;
 }
Ejemplo n.º 8
0
 public void SetAdapter(IBaseAdapter adapter)
 {
     this.adapter = adapter;
 }