protected override void ApplySet() { if (source && target) { target.Inject(source.OutputSingle); } }
protected override void ApplySet() { if (childPrefab.Value == null || dataBundle.Value == null) { return; } if (spawnedChild == null) { spawnedChild = Instantiate(childPrefab.Value, transform); } spawnedChild.name = string.Format("{0} ({1})", childPrefab.Value.name, dataBundle.Value.id); spawnedChild.Inject(dataBundle); }