/// <summary> /// Constructor for sync targets and groups found on GameObject resources/assets. /// </summary> /// <param name="syncItem">The sync target/group associated with this visual element.</param> public SyncElement(SyncItem syncItem) : this() { this.syncItem = syncItem; Param = rcData.GetOrCreateParameter(syncItem.FullKeyString); name = syncItem.FullKeyString; indentLevel = syncItem.FullKey.Count - 1; }
/// <summary> /// No-target constructor for parameters without an associated sync target/group in the /// current scene or global assets. /// </summary> /// <param name="param">The parameter associated with this visual element.</param> protected SyncElement(RemoteConfigParameter param) { Param = param; name = param.Key; }
/// <summary> /// Constructor with the unmapped RemoteConfigParameter. /// </summary> /// <param name="param">The RemoteConfigParameter with no matching SyncTarget.</param> public UnmappedSyncElement(RemoteConfigParameter param) : base(param) { }
/// <summary> /// No-target constructor for parameters without an associated SyncTarget in the /// current scene or global assets. /// </summary> /// <param name="param">The parameter associated with this visual element.</param> protected SyncTypeElement(RemoteConfigParameter param) : base(param) { }