Guest User

Untitled

a guest
Sep 16th, 2013
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.52 KB | None | 0 0
  1. using UnityEngine;
  2. using System.Collections;
  3. using System.Collections.Generic;
  4.  
  5. public class ActiveQuests : MonoBehaviour {
  6.     public string questList;
  7.     public List<string> quest = new List<string>();
  8.    
  9.    
  10.     // Use this for initialization
  11.     void Start () {
  12.        
  13.     }
  14.    
  15.     // Update is called once per frame
  16.     void Update () {
  17.        
  18.     }
  19.    
  20.     void OnGUI(){
  21.         QuestDropBox();
  22.     }
  23.    
  24.     void QuestDropBox(){
  25.         foreach(string quests in quest){
  26.             int sizeBetween = 10;
  27.             GUI.Label(new Rect(10, 100, 300, 300), quests);
  28.            
  29.         }
  30.     }
  31. }
Advertisement
Add Comment
Please, Sign In to add comment