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
#!/usr/bin/env python | |
import random | |
import sys | |
cutLength = 1 | |
pasteDist = 1 | |
frames = 20 | |
imgSequence = False |
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; | |
using System.Collections.Generic; | |
using UnityEngine; | |
public class CharacterController2D : MonoBehaviour { | |
Rigidbody2D rigb; | |
BoxCollider2D col; | |
Vector2 pos, boxSize, boxOffset; | |
public LayerMask groundLayers; |
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; | |
using System.Collections.Generic; | |
using UnityEngine; | |
[CreateAssetMenu(fileName = "SinputCustomInput", menuName = "TFP/SinputCustomInput", order = 1)] | |
public class TFPSinput : TFPInput | |
{ | |
public override float XAxis() | |
{ | |
return Sinput.GetAxisRaw(xInName); |