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
import collections | |
import math | |
import os | |
import pickle | |
import random | |
import re | |
import time | |
import urllib.request | |
import matplotlib.pyplot as plt |
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 Unity.Mathematics; | |
using Unity.Rendering; | |
using UnityEngine; | |
namespace Realms | |
{ | |
/// <summary> | |
/// Based on Unity.Rendering.FrustumPlanes since those aren't public for some reason. | |
/// </summary> | |
public struct FrustumPlanes |
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 UnityEditor; | |
[InitializeOnLoad] | |
public class ExecutionOrderManager : Editor | |
{ | |
static ExecutionOrderManager() | |
{ | |
foreach (MonoScript monoScript in MonoImporter.GetAllRuntimeMonoScripts()) | |
{ |
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
#region killingSpreesRegex | |
killingSpreesRegexPattern = "<table cellpadding=\"\\d+?\" cellspacing=\"\\d+?\" border=\"\\d+?\" width=\"\\d+?\">\\s*?" + | |
"<tr>\\s*?" + | |
"<td class=\"\\w+?\" align=\"\\w+?\" colspan=\"\\d+?\">Killing Sprees by Type</td>\\s*?" + | |
"</tr>\\s*?" + | |
"<tr>\\s*?" + | |
"<td class=\"\\w+?\" align=\"\\w+?\" width=\"\\d+?\">Spree Type</td>\\s*?" + | |
"<td class=\"\\w+?\" align=\"\\w+?\" width=\"\\d+?\"># of Sprees</td>\\s*?" + | |
"<td class=\"\\w+?\" align=\"\\w+?\" width=\"\\d+?\">(Total Time \\(min\\)|Min\\. In Spree)</td>\\s*?" + | |
"<td class=\"\\w+?\" align=\"\\w+?\" width=\"\\d+?\">Total Kills</td>\\s*?" + |