duck

scriptableobject dialogue segment example

Aug 6th, 2012
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.38 KB | None | 0 0
  1. using UnityEngine;
  2. using System.Collections;
  3. using System.Collections.Generic;
  4.  
  5. public class DialogueSegment : ScriptableObject {
  6.    
  7.     public string title;
  8.     public string body;
  9.     public List<string> responseOptions;
  10.    
  11.     public DialogueSegment(string title, string body, List<string> responseOptions)
  12.     {
  13.         this.title = title;
  14.         this.body = body;  
  15.         this.frames = frames;  
  16.     }
  17.    
  18. }
Advertisement
Add Comment
Please, Sign In to add comment