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
// This script will block tokens from going through "windows", | |
// or other transparent obstacles but allow sight through them. | |
// Will work for any paths drawn, even freehand and circles. | |
// (Circle/oval detection accuracy is reduced to save on processing time, | |
// because it's WAY harder to determine the intersect of an elipsoid vs. | |
// a line rather than line segments vs. a line. For better accuracy on curves, | |
// draw it freehand. Excessive use of this might cause slow performance) | |
// Default color for detecting the window path is yellow (#ffff00) | |
// You may change this color in the config below |
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
// By: Christopher Buchholz | |
// with heavy copying from, I mean use of as a Pattern, TokenMod | |
var ChangeTokenImg = ChangeTokenImg || (function() { | |
'use strict'; | |
var version = '0.1.32', | |
lastUpdate = 1509192678, | |
observers = { | |
tokenChange: [] |
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 System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
using System; | |
using Object = UnityEngine.Object; | |
using Debug = UnityEngine.Debug; | |
using System.Threading.Tasks; | |
using UnityEngine.Events; |
OlderNewer