Skip to main content
8 events
when toggle format what by license comment
Aug 7, 2020 at 13:03 vote accept kayra yorulmaz
Jul 31, 2020 at 11:08 history edited Candid Moon _Max_ CC BY-SA 4.0
Add result image.
Jul 31, 2020 at 11:04 comment added Candid Moon _Max_ @kayrayorulmaz I have tried to recreate it, so there are 3 scenarios. 1. It's just an object with Transform - works fine. 2. It's an object with Transform but inside Canvas - works fine. 3. It's a SpriteRenderer with RectTransform inside Canvas - it doesn't draw anything because Canvas doesn't recognise SpriteRenderer. After adding Image - works fine. I have posted an edit with my code that I have used for testing this.
Jul 31, 2020 at 10:49 comment added Candid Moon _Max_ @kayrayorulmaz do you have SpriteRenderers inside Canvas? I am trying to reproduce this scenario.
Jul 31, 2020 at 10:32 comment added kayra yorulmaz I have placed all of the intractable objects on layer 1, which is a layer higher than any other object in the scene. However, the blocks still don't move at all. All of the previous steps have also been taken.
Jul 31, 2020 at 10:23 comment added Candid Moon _Max_ @kayrayorulmaz have you tried all of the steps before this? It can be blocked if there are objects in front of it that also receive raycast hit.
Jul 31, 2020 at 10:19 comment added kayra yorulmaz How can a raycast be blocked?
Jul 31, 2020 at 9:14 history answered Candid Moon _Max_ CC BY-SA 4.0