Skip to content

Instantly share code, notes, and snippets.

View rico345100's full-sized avatar
I may be slow to respond.

.modernator rico345100

I may be slow to respond.
View GitHub Profile
rico345100 / AtlasSpriteLoader.cs
Created July 9, 2020 03:10
Simple Unity C# Script for using generated Atlas from Unity Sprite Atlas.
using UnityEngine;
using UnityEngine.U2D;
public class AtlasSpriteLoader : MonoBehaviour {
[SerializeField] private SpriteAtlas m_Atlas;
[SerializeField] private string m_SpriteName;
void Start() {
GetComponent<SpriteRenderer>().sprite = m_Atlas.GetSprite(m_SpriteName);
rico345100 / testcoins_rinkeby.txt
Created November 2, 2017 05:10