当我们使用Fusion2的时候,会发现NetworkedAttribute已经无法提供OnChanged方法来为我们实现同步UI等功能了,如图:
这种情况下我们只需查看Fusion2的官方文档,他们给出了合理的解决方法:
官网链接:https://doc.photonengine.com/fusion/current/tutorials/host-mode-basics/5-property-changes
当我们使用Fusion2的时候,会发现NetworkedAttribute已经无法提供OnChanged方法来为我们实现同步UI等功能了,如图:
这种情况下我们只需查看Fusion2的官方文档,他们给出了合理的解决方法:
官网链接:https://doc.photonengine.com/fusion/current/tutorials/host-mode-basics/5-property-changes