Browse Source

Added dialog controller class

master
chrisgregan 11 years ago
parent
commit
cf861a3a27
  1. 24
      Assets/Fungus/Dialog/Scripts/DialogController.cs
  2. 8
      Assets/Fungus/Dialog/Scripts/DialogController.cs.meta

24
Assets/Fungus/Dialog/Scripts/DialogController.cs

@ -0,0 +1,24 @@
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.Events;
using System.Collections;
public class DialogController : MonoBehaviour
{
public Button optionButton;
public GridLayoutGroup optionButtonGrid;
public Text storyText;
public Text nameText;
public Image leftImage;
public Image rightImage;
public UnityEvent testEvent;
// Write story text over time
// Show character image (with side, fade in?)
// Hide / Show canvas
// Show continue image
// Show one button
// Show button grid
}

8
Assets/Fungus/Dialog/Scripts/DialogController.cs.meta

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 3a0bbe22c246e4c78ad8e9816cbae9d5
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
Loading…
Cancel
Save