Skip to content

Instantly share code, notes, and snippets.

View robofriven's full-sized avatar

Robert Brunnemer robofriven

  • University of North Dakota
  • 12:21 (UTC -05:00)
View GitHub Profile
@robofriven
robofriven / buttonSnippets.cs
Created September 13, 2015 05:46
The relevent pieces of code for my button not working.
public void Display (string message, List<string> buttonNames = null)
{
textField.GetComponent<Text>().text = message;
if (buttonNames != null && buttonNames.Count != 0)
{
for (int i = 0; i < buttonNames.Count; i++)
{
//Debug.Log(buttonNames.Count);