blob: 96d50afcd886d84dea702083977364a18b8c49d7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
/*
------------------- 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 Sprite s_Circle;
public Material m_White;
}
}
|