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.EventSystems; | |
namespace RPG.Audio | |
{ | |
[AddComponentMenu("UI/Audio/Play Audio WWise")] | |
public class UIPlayAudioWWise : MonoBehaviour, IEventSystemHandler, IPointerEnterHandler, IPointerExitHandler, IPointerDownHandler, IPointerUpHandler | |
{ | |
public enum Event | |
{ |
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; | |
using System.Collections.Generic; | |
namespace RPG.Util { | |
public static class RandomExtensionMethods | |
{ | |
/// <summary> | |
/// Returns a random long from min (inclusive) to max (exclusive) | |
/// </summary> | |
/// <param name="random">The given random instance</param> |