Esempio n. 1
0
 /// <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;
 }
Esempio n. 2
0
 /// <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;
 }
Esempio n. 3
0
 /// <summary>
 /// Constructor with the unmapped RemoteConfigParameter.
 /// </summary>
 /// <param name="param">The RemoteConfigParameter with no matching SyncTarget.</param>
 public UnmappedSyncElement(RemoteConfigParameter param) : base(param)
 {
 }
Esempio n. 4
0
 /// <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)
 {
 }