This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Collections.Generic; | |
using System.Globalization; | |
using UnityEditor; | |
using UnityEngine; | |
/* | |
Copyright (c) 2019-2020 Brian MacIntosh | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
// Include the DialogueDesigner namespace | |
using DD; | |
/// <summary> | |
/// Complete example that plays a Dialogue Designer dialogue in the unity debug console. | |
/// Use the number keys to make choices. | |
/// </summary> | |
public class DialogueDesignerExample : MonoBehaviour |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
using UnityEngine.UI; | |
// Based on the Unity built-in image source (Unity Reference-Only License, https://unity3d.com/legal/licenses/Unity_Reference_Only_License) | |
// Modified to add full-mesh UVs by Brian MacIntosh | |
namespace UI | |
{ | |
/// <summary> | |
/// Image override that fills the second UV channel with uniform UVs over the entire image. |
OlderNewer