Does Unity have an equivalent to CCDirector?

In Cocos2D there’s something a class called CCDirector which will manage the active scene, push/pop/replace scenes, scene transitions etc. Is there an analogous class in Unity that will manage a scene stack or will I have to implement my own? I know its trivial but the more code I write the more I have to bug test. :wink:

Unity does not have an equivalent built in concept, you would have to roll your own Director.

  • For motion transitions you would probably move the camera or the root of all your objects (depending on the situation).
  • For fade transitions you would probably animate the alpha of an overlay.
  • For pause menu, instead of giving it its own scene, you can create a prefab and have the Director instantiate it on pause.