This file contains hidden or 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
local ADDON, Addon = ... | |
local Mod = Addon:NewModule('QuestFrame') | |
local Config | |
local dataProvder | |
local hoveredQuestID | |
local MAPID_AZEROTH = 947 | |
-- Legion | |
local MAPID_BROKENISLES = 619 |
This file contains hidden or 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; | |
using UnityEngine; | |
namespace MochiLabs.FSM { | |
public interface IState { | |
void Link(StateMachine machine); | |
void Enter(); | |
IEnumerator Executing(); | |
void CheckParameter(); |
This file contains hidden or 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
// Includes functions for exporting active sheet or all sheets as JSON object (also Python object syntax compatible). | |
// Tweak the makePrettyJSON_ function to customize what kind of JSON to export. | |
// ignore row/column if first row/column contains this key | |
var IGNORE_KEYS = ["ignore", "void"]; | |
var EXPORT_FOLDER = "JsonExport"; | |
var EXPORT_TYPE_JSON = "Json"; | |
var EXPORT_TYPE_CSV = "Csv"; |
This file contains hidden or 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 System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine.UI; | |
namespace MochiLabs.UI.Effects { | |
[AddComponentMenu("UI/Effects/Tint")] | |
public class Tint : BaseVertexEffect { | |
[SerializeField] | |
private Color32 tintColor = new Color32(225,225,225,255); |
This file contains hidden or 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
// ---------------------------------------------------------------------------- | |
// Tuple structs for use in .NET Not-Quite-3.5 (e.g. Unity3D). | |
// | |
// Used Chapter 3 in http://functional-programming.net/ as a starting point. | |
// | |
// Note: .NET 4.0 Tuples are immutable classes so they're *slightly* different. | |
// ---------------------------------------------------------------------------- | |
using UnityEngine; | |
using System; |