Last active
May 9, 2018 08:32
-
-
Save tsubaki/fb3da4eb39571aca6748 to your computer and use it in GitHub Desktop.
GraphicRaycasterの当たり判定だけを使う
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
using UnityEngine; | |
using System.Collections; | |
using UnityEngine.EventSystems; | |
using UnityEngine.UI; | |
#if UNITY_EDITOR | |
using UnityEditor; | |
#endif | |
namespace UnityEngine.UI | |
{ | |
public class GraphicCast : Graphic{ | |
protected override void OnFillVBO (System.Collections.Generic.List<UIVertex> vbo) | |
{ | |
base.OnFillVBO (vbo); | |
vbo.Clear(); | |
} | |
#if UNITY_EDITOR | |
[CustomEditor(typeof(GraphicCast))] | |
class GraphicCastEditor : Editor | |
{ | |
public override void OnInspectorGUI() { | |
} | |
} | |
#endif | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment