Art3m1s.me
Art3m1s.me
NNormal
Created by Art3m1s.me on 3/16/2024 in #🤝ask-a-question
No definition when trying to access DidChange callback
I have this error message: Assets/Scripts/GameState/GameStateSync.cs(17,27): error CS1061: 'GameStateModel' does not contain a definition for 'playerstatesDidChange' and no accessible extension method 'playerstatesDidChange' accepting a first argument of type 'GameStateModel' could be found (are you missing a using directive or an assembly reference?) This is how I defined playerstates in the model: [RealtimeProperty(1, true, true)] private RealtimeDictionary<PlayerStateModel> _playerstates;
16 replies