Ejemplo n.º 1
0
 /// <inheritdoc />
 protected override void OnAncestryChanged(Instance child, Instance parent)
 {
     base.OnAncestryChanged(child, parent);
     _parentPart  = parent as Part;
     _is3D        = _parentPart != null;
     _attenuation = 1.0f;
     SoundService.SetSound3D(this, _is3D);
 }