Fix back to front initialisation order

This commit is contained in:
Dean Herbert 2021-03-20 10:51:58 +09:00
parent 68aaf90702
commit ca943a897a
1 changed files with 3 additions and 2 deletions

View File

@ -133,10 +133,11 @@ public virtual void Play()
protected override void LoadAsyncComplete()
{
base.LoadAsyncComplete();
// ensure samples are constructed before SkinChanged() is called via base.LoadAsyncComplete().
if (!samplesContainer.Any())
updateSamples();
base.LoadAsyncComplete();
}
/// <summary>