Browse Source

Fixed duplicate camera controller being created by Flash #84

master
chrisgregan 10 years ago
parent
commit
759ae1cb89
  1. 2
      Assets/Fungus/Dialog/Scripts/Dialog.cs

2
Assets/Fungus/Dialog/Scripts/Dialog.cs

@ -516,7 +516,7 @@ namespace Fungus
cameraController.screenFadeTexture = CameraController.CreateColorTexture(new Color(1f,1f,1f,1f), 32, 32);
cameraController.Fade(1f, duration, delegate {
cameraController.screenFadeTexture = CameraController.CreateColorTexture(new Color(1f,1f,1f,1f), 32, 32);
cameraController.Fade(0f, duration, delegate {Destroy(cameraController);});
cameraController.Fade(0f, duration, null);
});
}

Loading…
Cancel
Save