Old Aetheria Code
Imported and massively refactored a bunch of code from the old Aetheria project
This commit is contained in:
parent
c58ba0b1da
commit
d64d5ab729
69 changed files with 6197 additions and 2458 deletions
16
Assets/Scripts/Icons.cs
Normal file
16
Assets/Scripts/Icons.cs
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
[CreateAssetMenu(fileName = "Icons", menuName = "Aetheria/Icons")]
|
||||
public class Icons : ScriptableObject
|
||||
{
|
||||
public Texture2D plus;
|
||||
public Texture2D minus;
|
||||
|
||||
private const string AssetPath = "Icons";
|
||||
private static Icons _instance;
|
||||
public static Icons Instance {
|
||||
get { return _instance ?? (_instance = Resources.Load<Icons>(AssetPath)); }
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue