Skip to content

Instantly share code, notes, and snippets.

def slow_type(text, interval = 0.005)
text.chars.each do |character|
print character
sleep(interval)
end
end
require_relative 'colors'
$haha = "________¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶__________
______¶¶¶¶¶¶_____________¶¶¶¶¶¶________
_____¶¶¶¶¶_________________¶¶¶¶¶¶______
____¶¶¶¶_____________________¶¶¶¶¶_____
___¶¶¶¶_______________________¶¶¶¶¶____
__¶¶¶¶_____¶¶¶¶__________________¶¶¶___
__¶¶¶_____¶¶¶¶¶¶______¶¶¶¶¶¶_____¶¶¶¶__
_¶¶¶¶_____¶¶¶¶¶¶______¶¶¶¶¶¶______¶¶¶¶_
# 0 Turn off all attributes
# 1 Set bright mode
# 4 Set underline mode
# 5 Set blink mode
# 7 Exchange foreground and background colors
# 8 Hide text (foreground color would be the same as background)
# 30 Black text
# 31 Red text
# 32 Green text
# 33 Yellow text
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Follow : MonoBehaviour {
[SerializeField]
private Transform follow = null;
private Vector3 originalLocalPosition;