Skip to content

Instantly share code, notes, and snippets.

@eagleEggs
Last active January 26, 2018 22:56
Show Gist options
  • Save eagleEggs/09f365a75e62e406f5873e1ec83e45c2 to your computer and use it in GitHub Desktop.
Save eagleEggs/09f365a75e62e406f5873e1ec83e45c2 to your computer and use it in GitHub Desktop.
var go = GameObject.CreatePrimitive(PrimitiveType.Quad);
Color mesh = go.GetComponent<Renderer>().material.color = cs;
go.AddComponent<pixelSurrogate_hatch>();
go.transform.position = new Vector3(n, nn, 0);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment