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; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Runtime.CompilerServices; | |
using System.Threading.Tasks; | |
using UnityEngine; | |
#region InnerWorkings | |
public interface CTaskAbortable { void Abort(); } |
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
// improved version of: https://gist.github.com/maraigue/739403 | |
using System; | |
public readonly struct Rational | |
{ | |
public readonly int numerator; | |
public readonly int denominator; | |
public Rational(int int_value) { | |
numerator = int_value; |