Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

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.