using UnityEngine; using System.Collections; using Fungus; public class MenuRoom : Room { public Room writingRoom; public Room viewRoom; void OnEnter() { AddOption("1. Writing a story with Pages", MoveToWriting); AddOption("2. Controlling the camera with Views", MoveToViews); Choose("Choose an example"); } void MoveToWriting() { MoveToRoom(writingRoom); } void MoveToViews() { MoveToRoom(viewRoom); } }