Skip to content

riveranb/UnityRTEvents

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UnityRTEvents

test (mouse) events in rendering to RenderTexture

TestMain.unity: 1 Camera, everything works just fine.

TestCamera2.unity: 2 Camera, events missed/broke

SceneCamera: "MainCamera", render cube to RenderTexture; using PhysicsRaycaster. ScreenCamera: only blits RenderTexture onto screen.

Issue

When RenderTexture is different sized with real screen, PhysicsRaycaster/EventSystem failed with incorrect cursor position.

About

test (mouse) events in rendering to RenderTexture

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages