Search Unity

Question Non-renderable NetworkVariable type

Discussion in 'Netcode for GameObjects' started by viktor_unity855, May 9, 2022.

  1. viktor_unity855

    viktor_unity855

    Joined:
    Jan 11, 2022
    Posts:
    5
    Right now if I create my own type it doesn't show up as a renderable type unless I do a script change and have a NetworkBehaviour component selected. This works since the list of the behaviours NetworkVariable list is empty and it defaults to the default PropertyDrawers.

    It would be nice to either render the variable with the default drawer or at least get a chance to implement a custom one. Is there any such features that I have missed or does anyone have any suggestions of how to do this.