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.Collections.Generic; | |
using UnityEngine; | |
// The game is available in browser | |
// https://justcore.itch.io/pawner-likes-fingers | |
public class PawnerAI : MonoBehaviour | |
{ | |
public class PossibleTurn | |
{ |
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
# maximum base - 36 | |
def dec_to_base(a, b): | |
sym='0123456789abcdefghijklmnopqrstuvwxyz' | |
s='' | |
while a > 0: | |
s += sym[a%b] | |
a//=b | |
s=s[::-1] | |
return s |
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.Linq; | |
using System.Reflection; | |
using UnityEditor; | |
using UnityEngine; | |
using UnityEngine.Rendering.Universal; | |
#if UNITY_EDITOR |
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.Rendering; | |
using UnityEngine.Rendering.Universal; | |
public class FullscreenShaderFeature : ScriptableRendererFeature | |
{ | |
[SerializeField] | |
private Material material; | |
class CustomRenderPass : ScriptableRenderPass |