Beispiel #1
0
        public void GetData()
        {
            PListData element = _basicPlist.Root["DataValue"] as PListData;

            Assert.IsNotNull(element);
            Assert.AreEqual(element.ToString(), "bXkgcGhvdG8=");
        }
Beispiel #2
0
        protected override void DrawData(PListData element)
        {
            EditorGUI.BeginChangeCheck();
            var value = EditorGUILayout.TextField(element.Value);

            if (EditorGUI.EndChangeCheck())
            {
                element.Value = value;
                IsDirty       = true;
            }
        }
Beispiel #3
0
 protected abstract void DrawData(PListData element);
Beispiel #4
0
        public void SpecifiedConstructor()
        {
            PListData b = new PListData("bXkgcGhvdG8=");

            Assert.AreEqual(b.Value, "bXkgcGhvdG8=");
        }
Beispiel #5
0
 public void SetUp()
 {
     _element = new PListData();
 }
Beispiel #6
0
 protected override void DrawData(PListData element)
 {
     Style.MinWidthLabel(element.ToString(), PADDING);
 }