SW 중심대학 OSS GIT 서버 박건태, 이승준, 고기완, 이준호 새로운 배포
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

4 years ago
  1. /*
  2. ------------------- Code Monkey -------------------
  3. Thank you for downloading the Code Monkey Utilities
  4. I hope you find them useful in your projects
  5. If you have any questions use the contact form
  6. Cheers!
  7. unitycodemonkey.com
  8. --------------------------------------------------
  9. */
  10. using System.Collections;
  11. using System.Collections.Generic;
  12. using UnityEngine;
  13. namespace CodeMonkey {
  14. /*
  15. * Global Asset references
  16. * Edit Asset references in the prefab CodeMonkey/Resources/CodeMonkeyAssets
  17. * */
  18. public class Assets : MonoBehaviour {
  19. // Internal instance reference
  20. private static Assets _i;
  21. // Instance reference
  22. public static Assets i {
  23. get {
  24. if (_i == null) _i = Instantiate(Resources.Load<Assets>("CodeMonkeyAssets"));
  25. return _i;
  26. }
  27. }
  28. // All references
  29. public Sprite s_White;
  30. public Material m_White;
  31. }
  32. }