public FieldAccessor(PanelEntry panel, bool editable = true) { _type = 2; _panel = panel; _editable = editable; _raw = new RawAccessor(_panel); }
public FieldAccessor(InputForm inputform, Asset parent, bool editable = true) { _type = 3; _inputform = inputform; _asset = parent; _raw = new RawAccessor(_asset); }
public FieldAccessor(PanelEntry panel, Asset parent, bool editable = true) { //Need a way to reference the parent Asset of a Panel without needing to always pass both to a function. //Its annoying because there is no better API functionality when dealing with Assets and their children Panels. _type = 2; _panel = panel; _asset = parent; _editable = editable; _raw = new RawAccessor(_panel); }
public FieldAccessor(Asset source, bool editable = true) { if (source == null) { throw new ArgumentNullException("source"); } _type = 1; _asset = source; _editable = editable; _raw = new RawAccessor(_asset); }