Skip to content

Instantly share code, notes, and snippets.

View VerzatileDev's full-sized avatar
🇪🇪
Looking for work

VerzatileDev VerzatileDev

🇪🇪
Looking for work
View GitHub Profile
@nndda
nndda / !custom-css.css
Last active June 22, 2024 10:24
My itch.io profile page (nnda.itch.io). Uncompressed.
.user_page_wrap {
--p: #e7e9e8; --t: #eaeaea;
--r: #fc3a78; --k: #eaeaea18;
--b: #17151e; --b2: #211e29;
--g1: -webkit-linear-gradient(0deg, #3ae5f9, #2a8aec);
--g2: -webkit-linear-gradient(0deg, #fc3a78, #b23ee0);
--g1: linear-gradient(90deg, #3ae5f9, #2a8aec);
--g2: linear-gradient(90deg, #fc3a78, #b23ee0);
padding-bottom: 2.5em;
}
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
using Random = System.Random;
// This source code is used for the video. It obviously requires heavy alterations to be used in a real project.
public class ExampleGrid : MonoBehaviour
{
[SerializeField] private Vector2Int _size;
[SerializeField] private Vector2 _gap;