Search Unity

Function not listed in receiver options

Discussion in 'Timeline' started by Predulus, Aug 31, 2021.

  1. Predulus

    Predulus

    Joined:
    Feb 5, 2018
    Posts:
    90
    I clearly don't understand how these things work yet.


    I have the following signal, 'TypeMessage'.

    signals1.PNG

    I select a GameObject 'Radio', which has the component RadioManager, some of whose functions are shown below.

    signals2.PNG






    Functions such as 'TurnOff' appear in the dropdown list of functions, but the one I want, 'TypeMessage', does not appear.

    Any ideas why please? TIA
     
    Last edited: Sep 2, 2021
  2. mgear

    mgear

    Joined:
    Aug 3, 2010
    Posts:
    9,443
    had similar issue with UI events, i think they only allow methods with one param?
     
  3. Predulus

    Predulus

    Joined:
    Feb 5, 2018
    Posts:
    90
    Thanks for the reply bud :)

    I gave it a try, turning it into a one-param function, but it still didn't work :(

    Any other ideas anyone?

    TIA