Skip to content

Instantly share code, notes, and snippets.

@Zurigan
Zurigan / main.dart
Created December 14, 2022 19:44
area_header
import 'dart:math';
import 'package:boxy/boxy.dart';
import 'package:flutter/material.dart';
const darkBlue = Color.fromARGB(255, 18, 32, 47);
void main() {
runApp(const MyApp());
}
@Zurigan
Zurigan / MeshRendererSortingEditor.cs
Last active December 7, 2021 21:22 — forked from sinbad/MeshRendererSortingEditor.cs
Expose sorting layer in MeshRenderer inspector, for rendering on top of sprites
using System;
using UnityEngine;
using UnityEditor;
using System.Linq;
using System.Reflection;
/// This just exposes the Sorting Layer / Order in MeshRenderer since it's there
/// but not displayed in the inspector. Getting MeshRenderer to render in front
/// of a SpriteRenderer is pretty hard without this.
/// Adapted from https://gist.github.com/sinbad/bd0c49bc462289fa1a018ffd70d806e3