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 System.Drawing; | |
namespace TexturePacker | |
{ | |
public class PackedNode | |
{ | |
public PackedNode Left { get; private set; } | |
public PackedNode Right { get; private set; } | |
public System.Drawing.Rectangle Rect { get; private set; } |
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 method was derived from the video by t3ssel8r found here: https://www.youtube.com/watch?v=KPoeNZZ6H4s | |
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
public class SecondOrderMotion : MonoBehaviour | |
{ | |
[Range(0.001f, 20)] | |
public float F = 2; |