Quantcast
Channel: Recent Discussions — Photon Engine
Viewing all articles
Browse latest Browse all 15755

Remove specific events from cache room - Plugin

$
0
0
I have two events from PhotonNetwork.RaiseEvent:
1 - Event Sitdown. This action is being stored in the cache of the room.
2 - EventLiftup. This action is not stored in the cache of the room.

In my plugin, I check both actions. When I identify the action of lifting I have the need to remove the action "Sitdown" of the player stored in the room cache. This will prevent future players to see him sitting when in fact he already stood up ...

The problem is that I'm not understand how use this method "cache slice".

Can help me with this?

Viewing all articles
Browse latest Browse all 15755

Trending Articles