Пример #1
0
 public object Clone()
 {
     MessengerEventTag m = new MessengerEventTag();
     m.name = name;
     m.hash = hash;
     return m;
 }
Пример #2
0
        public object Clone()
        {
            MessengerEventTag m = new MessengerEventTag();

            m.name = name;
            m.hash = hash;
            return(m);
        }
 private void AddItem(ReorderableList list)
 {
     MessengerEventTag e = new MessengerEventTag();
     messengerData.eventTypes.Add(e);
     EditorUtility.SetDirty(messengerData);
 }