C# Class HollowImage, UnityFramework

Inheritance: UnityEngine.UI.MaskableGraphic, UnityEngine.ICanvasRaycastFilter
Mostra file Open project: meta-42/uEasyKit

Public Properties

Property Type Description
HollowRect UnityEngine.RectTransform
pos Vector2
size Vector2

Public Methods

Method Description
IsRaycastLocationValid ( Vector2 sp, Camera eventCamera ) : bool

Protected Methods

Method Description
OnPopulateMesh ( UnityEngine vh ) : void

Private Methods

Method Description
AddQuad ( UnityEngine vertexHelper, Vector2 posMin, Vector2 posMax, Color32 color ) : void
Update ( ) : void

Method Details

IsRaycastLocationValid() public method

public IsRaycastLocationValid ( Vector2 sp, Camera eventCamera ) : bool
sp Vector2
eventCamera Camera
return bool

OnPopulateMesh() protected method

protected OnPopulateMesh ( UnityEngine vh ) : void
vh UnityEngine
return void

Property Details

HollowRect public_oe property

public RectTransform,UnityEngine HollowRect
return UnityEngine.RectTransform

pos public_oe property

public Vector2 pos
return Vector2

size public_oe property

public Vector2 size
return Vector2