Skip to content

Commit

Permalink
Implement new ListView interface requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
StayTalm committed Sep 10, 2020
1 parent 056fe5e commit 16521dc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Runtime/Scripts/Data/AssetData.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ sealed class AssetData : IListViewItemData<int>
public string type { get; private set; }
public GameObject preview { get; set; }

public bool selected => false;

public Object asset
{
get { return m_Asset; }
Expand Down
1 change: 1 addition & 0 deletions Runtime/Workspaces/PolyWorkspace/Scripts/PolyGridAsset.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ class PolyGridAsset : IListViewItemData<string>, IUsesWeb
public string template { get { return k_TemplateName; } }

public string index { get; private set; }
public bool selected => false;
public PolyAsset asset { get { return m_Asset; } }
public GameObject prefab { get { return m_Prefab; } }
public Texture2D thumbnail { get { return m_Thumbnail; } }
Expand Down

0 comments on commit 16521dc

Please sign in to comment.