This file contains hidden or 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
def slow_type(text, interval = 0.005) | |
text.chars.each do |character| | |
print character | |
sleep(interval) | |
end | |
end |
This file contains hidden or 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
require_relative 'colors' | |
$haha = "________¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶__________ | |
______¶¶¶¶¶¶_____________¶¶¶¶¶¶________ | |
_____¶¶¶¶¶_________________¶¶¶¶¶¶______ | |
____¶¶¶¶_____________________¶¶¶¶¶_____ | |
___¶¶¶¶_______________________¶¶¶¶¶____ | |
__¶¶¶¶_____¶¶¶¶__________________¶¶¶___ | |
__¶¶¶_____¶¶¶¶¶¶______¶¶¶¶¶¶_____¶¶¶¶__ | |
_¶¶¶¶_____¶¶¶¶¶¶______¶¶¶¶¶¶______¶¶¶¶_ |
This file contains hidden or 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
# 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 |
This file contains hidden or 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 Follow : MonoBehaviour { | |
[SerializeField] | |
private Transform follow = null; | |
private Vector3 originalLocalPosition; |