This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// @creator: Slipp Douglas Thompson | |
/// @license: Public Domain per The Unlicense. See <http://unlicense.org/>. | |
/// @purpose: A UnityEngine.UI.Graphic subclass that provides only raycast targeting, skipping all drawing. | |
/// @why: Because this functionality should be built-into Unity. | |
/// @usage: Add a `NonDrawingGraphic` component to the GameObject you want clickable, but without its own image/graphics. | |
/// @intended project path: Assets/Plugins/UnityEngine UI Extensions/NonDrawingGraphic.cs | |
/// @interwebsouce: https://gist.github.com/capnslipp/349c18283f2fea316369 | |
using UnityEngine; | |
using UnityEngine.UI; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Tips from https://forum.unity3d.com/threads/c-script-template-how-to-make-custom-changes.273191/ | |
using UnityEngine; | |
using System.Linq; | |
#if UNITY_EDITOR | |
using UnityEditor; | |
/// <summary> | |
/// 스크립트를 생성할 때 스크립트의 Keyword를 컨버팅합니다. | |
/// </summary> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#region Header | |
/* ============================================ | |
* 작성자 : Strix | |
* 작성일 : 2019-10-21 오후 6:42:02 | |
* 개요 : | |
* | |
* 에디터 폴더에 있어야 정상 동작합니다. | |
* | |
* 참고한 원본 코드 링크 | |
* https://slway000.tistory.com/74 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#region Header | |
/* ============================================ | |
* Aurthor : Strix | |
* Initial Creation Date : 2020-02-05 | |
* Summary : | |
* Template : For Unity Editor V1 | |
============================================ */ | |
#endregion Header | |
using UnityEngine; |