C# Class SeekerGame.Rendering.ScreenDrawer

Inheritance: MonoSingleton
Show file Open project: kingpowervrg/my_seeker

Public Properties

Property Type Description
SWIPE_THRESHOLD float
m_drawingTexture RenderTexture
paintBrushMode PaintBrushMode

Public Methods

Method Description
PauseAllBrush ( ) : void
ResumeAllBrush ( ) : void

Private Methods

Method Description
Awake ( ) : void
ChangeBrush ( Vector3 position ) : SeekerGame.Rendering.PaintBrush

更换画笔

InitBrushCamera ( ) : void

初始化画笔相机

InitBrushPool ( ) : void
OnDisable ( ) : void
OnDrawing ( Gesture gesture ) : void
OnDrawingEnd ( Gesture gesture ) : void
OnEnable ( ) : void
OnLeaveScene ( ) : void
RecycleBrush ( SeekerGame.Rendering.PaintBrush paintBrush ) : void

回收画笔

Update ( ) : void

Method Details

PauseAllBrush() public method

public PauseAllBrush ( ) : void
return void

ResumeAllBrush() public method

public ResumeAllBrush ( ) : void
return void

Property Details

SWIPE_THRESHOLD public property

public float SWIPE_THRESHOLD
return float

m_drawingTexture public property

public RenderTexture m_drawingTexture
return RenderTexture

paintBrushMode public property

public PaintBrushMode paintBrushMode
return PaintBrushMode