You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
string name = "";
public TimelineItem()
{
name = "TImeline Elemenet";
}
public bool label;
[NaughtyAttributes.ShowIf("label")]
public string LabelText = "Round 1";
public List<VideoItem> videos = new List<VideoItem>();
public bool loop;
[NaughtyAttributes.ShowIf("ShouldShowLoop")]
public int loopCount=1;
public bool startTimer;
[NaughtyAttributes.ShowIf("startTimer")]
public float timerTime = 60;
bool ShouldShowLoop()
{
return loop&&!label;
}
}
[Serializable]
public class VideoItem
{
List titles = new();
[Dropdown("titles")]
public string value;
public VideoItem() {
titles = TimelineCreator.sectionTitles;
}
}`
This is my class and I am using [SerializeField] List<TimelineItem> Timeline = new(); in the mono behavior. The dropdown is working great, no matter how deep it is. But the show if and enable if isn't working inside the list view.
So I will be greatful if you fix this issue. But I loved your work, thanks, will use it in every project I will create.
The text was updated successfully, but these errors were encountered:
`public class TimelineItem
{
}
[Serializable]
public class VideoItem
{
List titles = new();
[Dropdown("titles")]
public string value;
public VideoItem() {
titles = TimelineCreator.sectionTitles;
}
}`
This is my class and I am using
[SerializeField] List<TimelineItem> Timeline = new();
in the mono behavior. The dropdown is working great, no matter how deep it is. But the show if and enable if isn't working inside the list view.So I will be greatful if you fix this issue. But I loved your work, thanks, will use it in every project I will create.
The text was updated successfully, but these errors were encountered: