Display Controller is not working

Options

Hello, I started making a multiplayer car game with Photon PUN2 but I can't add display controller to character. I tried adding display controller to prefab but looks like prefabs doesn't allow canvas. The controller is in screen but players can't use it because its not set to any character, is there any code that automatically attaches canvas to joined player?


My code for controller:

Hastebin: Send and Save Text or Code Snippets for Free | Toptal®



Best Answer

  • godtengri
    godtengri
    Answer ✓
    Options

    I solved problem by myself, I just needed to also add canvas as a prefab.

Answers

  • godtengri
    godtengri
    Answer ✓
    Options

    I solved problem by myself, I just needed to also add canvas as a prefab.