You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
1010 B
44 lines
1010 B
/*
|
|
------------------- Code Monkey -------------------
|
|
|
|
Thank you for downloading the Code Monkey Utilities
|
|
I hope you find them useful in your projects
|
|
If you have any questions use the contact form
|
|
Cheers!
|
|
|
|
unitycodemonkey.com
|
|
--------------------------------------------------
|
|
*/
|
|
|
|
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
namespace CodeMonkey {
|
|
|
|
/*
|
|
* Global Asset references
|
|
* Edit Asset references in the prefab CodeMonkey/Resources/CodeMonkeyAssets
|
|
* */
|
|
public class Assets : MonoBehaviour {
|
|
|
|
// Internal instance reference
|
|
private static Assets _i;
|
|
|
|
// Instance reference
|
|
public static Assets i {
|
|
get {
|
|
if (_i == null) _i = Instantiate(Resources.Load<Assets>("CodeMonkeyAssets"));
|
|
return _i;
|
|
}
|
|
}
|
|
|
|
|
|
// All references
|
|
|
|
public Sprite s_White;
|
|
public Material m_White;
|
|
|
|
}
|
|
|
|
}
|