Skip to content

Instantly share code, notes, and snippets.

using System.Collections.Generic;
using UnityEngine;
namespace DeltaTimer
{
public interface IPathfindingWorld<T>
{
bool IsPositionLegalToPassThrough(T unit, Vector2Int position);
}
using System;
using UnityEngine;
public class ScrollCamera : MonoBehaviour {
public enum MovementType {
Unrestricted,
Elastic,
Clamped
}
@daleth90
daleth90 / .gitattributes
Last active November 23, 2020 17:08
.gitattributes for Unity LFS
# Treat everything not text if not specified
# Avoid autocrlf messing up things like .asset and ProjectSettings
* -text
# meta files end with LF in any platform
*.meta eol=lf
# Code
*.cs text=auto
using UnityEngine;
using System;
public class ScrollCamera : MonoBehaviour {
public enum MovementType {
Unrestricted,
Elastic,
Clamped
}
using System;
public interface TextDisplayer {
void Show();
void Hide();
void RegisterOnRequestNextDialog( Action method );
void SetText( string text );
}