Created
December 1, 2019 08:44
-
-
Save yangruihan/5e3b4fa13da63d49fa692eb388e94794 to your computer and use it in GitHub Desktop.
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 UnityEngine.UI; | |
public class NonDrawingGraphic : Graphic | |
{ | |
public override void SetMaterialDirty() { return; } | |
public override void SetVerticesDirty() { return; } | |
protected override void OnPopulateMesh(VertexHelper vh) | |
{ | |
vh.Clear(); | |
return; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment