public void GetData() { PListData element = _basicPlist.Root["DataValue"] as PListData; Assert.IsNotNull(element); Assert.AreEqual(element.ToString(), "bXkgcGhvdG8="); }
protected override void DrawData(PListData element) { EditorGUI.BeginChangeCheck(); var value = EditorGUILayout.TextField(element.Value); if (EditorGUI.EndChangeCheck()) { element.Value = value; IsDirty = true; } }
protected abstract void DrawData(PListData element);
public void SpecifiedConstructor() { PListData b = new PListData("bXkgcGhvdG8="); Assert.AreEqual(b.Value, "bXkgcGhvdG8="); }
public void SetUp() { _element = new PListData(); }
protected override void DrawData(PListData element) { Style.MinWidthLabel(element.ToString(), PADDING); }