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
.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; | |
} |
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.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; |