private void OnFadeInCompleted() { var sampleMessage = UIElementsCreator.GetInstance().Create <SampleMessage>(); sampleMessage.Show(); }
private void Awake() { sampleWindow = UIElementsCreator.GetInstance().Create <SampleWindow>(); sampleImage = UIElementsCreator.GetInstance() .Create <SampleImage>(UILayer.Background); SubscribeToSampleImageEvents(); SubscribeToFadeAnimationEvents(); }