Trade Menu Spreadsheet
Implemented generic spreadsheet component for the Trade menu with sortable and resizable data columns
This commit is contained in:
parent
e3de7158fd
commit
8036585ebc
46 changed files with 21429 additions and 17151 deletions
30
Assets/Scripts/SpreadsheetColumnHeader.cs
Normal file
30
Assets/Scripts/SpreadsheetColumnHeader.cs
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using TMPro;
|
||||
using UniRx.Triggers;
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
|
||||
public class SpreadsheetColumnHeader : MonoBehaviour
|
||||
{
|
||||
public TextMeshProUGUI Title;
|
||||
public RectTransform Rect;
|
||||
|
||||
public Button Button;
|
||||
public Image SortIcon;
|
||||
|
||||
public ObservableBeginDragTrigger ResizeBeginDragTrigger;
|
||||
public ObservableDragTrigger ResizeDragTrigger;
|
||||
public ObservableEndDragTrigger ResizeEndDragTrigger;
|
||||
// Start is called before the first frame update
|
||||
void Start()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
// Update is called once per frame
|
||||
void Update()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue