Skip to content

Instantly share code, notes, and snippets.


Tobias Heinemann Softdrink117

View GitHub Profile
Softdrink117 / MeshGraphic.cs
Last active Apr 7, 2020
An extension of UnityEngine.UI.MaskableGraphic that allows for the drawing of arbitrary meshes
View MeshGraphic.cs
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
namespace Softdrink
// Adapted from
// with significant modifications to account for arbitrary meshes and UVs

Unless otherwise specified, all gists abide by the following license:

MIT License

Copyright (c) 2020 Tobias Heinemann

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell

You can’t perform that action at this time.