Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only. On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live. Read our full announcement for more information and let us know if you have any questions.

Question Button doesn't work even I try everything that I can find

Discussion in 'UGUI & TextMesh Pro' started by tksgkaka, Feb 24, 2024.

?

Button doesn't work even I try everything that I can find

  1. Anithing is Ok

    0 vote(s)
    0.0%
  2. Please help!

    0 vote(s)
    0.0%
Multiple votes are allowed.
  1. tksgkaka

    tksgkaka

    Joined:
    Feb 21, 2024
    Posts:
    1
    please help me!

    Button can't work even I used any method that I can find.

    ・I have EventSystem
    ・interactable(Button) is true
    ・Raycast Target is true(The image of the Button)
    ・I added a function in Onclick
    ・I added Canvas Groop component
     →interactable is true
     →Blocks Raycasts is false
     →ignore Parent Groups is true


    ①Canvas
    upload_2024-2-24_17-19-25.png
    upload_2024-2-24_17-19-32.png

    ②Button
    upload_2024-2-24_17-19-47.png

    ③Eventsystem
    upload_2024-2-24_17-8-47.png
     

    Attached Files: