24 lines
626 B
C#
24 lines
626 B
C#
using System;
|
|
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using Ichni.RhythmGame;
|
|
using TMPro;
|
|
using UnityEngine;
|
|
|
|
public class TimelineTab : MonoBehaviour
|
|
{
|
|
public TMP_Text Title;
|
|
public GameElement connectedGameElement;
|
|
public List<GameElement> GelementPointer;
|
|
public void SetTab(GameElement element, Type DisplayType)
|
|
{
|
|
connectedGameElement = element;
|
|
Title.text = DisplayType.ToString();
|
|
foreach (var i in element.childElementList) if (i.GetType() == DisplayType) GelementPointer.Add(i);
|
|
}
|
|
public void AddElement(GameElement gameElement)
|
|
{
|
|
|
|
}
|
|
}
|