mirror of
https://github.com/DerTyp7/example-top-down-unity.git
synced 2026-07-31 15:29:02 +02:00
char parse to sprite
This commit is contained in:
10
Assets/Scripts/CharSprites/CharSprite.cs
Normal file
10
Assets/Scripts/CharSprites/CharSprite.cs
Normal file
@@ -0,0 +1,10 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
[CreateAssetMenu(fileName = "CharSprite", menuName = "CharSprite", order = 1)]
|
||||
public class CharSprite : ScriptableObject
|
||||
{
|
||||
public char character;
|
||||
public Sprite sprite;
|
||||
}
|
||||
Reference in New Issue
Block a user