Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
//https://gist.github.com/tsubaki/6bacf17a930e686722a9cecdc4900344
[CreateAssetMenu]
public class AddObjects : ResettableScriptableObject
{
public Text label {get; set;}
int count = 0;
public void Add()
{
count ++;
label.text = count.ToString("00");
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.