diff options
| author | Simon O'Shea <osheas1@wit.edu> | 2023-07-31 18:45:01 -0400 |
|---|---|---|
| committer | Simon O'Shea <osheas1@wit.edu> | 2023-07-31 18:45:01 -0400 |
| commit | 5f9e8f979deb94e9219113ed09b49142c040cb57 (patch) | |
| tree | a67bd606205f7fb28e48d351028b3478bc49145b /Pathfinding Visualizer/Assets/CodeMonkey/Assets.cs | |
| parent | 4699ce72871eaa6ee27c01971383b9d1fced1946 (diff) | |
import successful, grid has visuals
cell values and grid lines are displayed. no interaction available yet.
Diffstat (limited to 'Pathfinding Visualizer/Assets/CodeMonkey/Assets.cs')
| -rw-r--r-- | Pathfinding Visualizer/Assets/CodeMonkey/Assets.cs | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/Pathfinding Visualizer/Assets/CodeMonkey/Assets.cs b/Pathfinding Visualizer/Assets/CodeMonkey/Assets.cs new file mode 100644 index 0000000..96d50af --- /dev/null +++ b/Pathfinding Visualizer/Assets/CodeMonkey/Assets.cs @@ -0,0 +1,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; + + } + +} |
