NetworkingPeer.OpRemoveFromServerInstantiationsOfPlayer C# (CSharp) Method

OpRemoveFromServerInstantiationsOfPlayer() private method

private OpRemoveFromServerInstantiationsOfPlayer ( int actorNr ) : void
actorNr int
return void
    private void OpRemoveFromServerInstantiationsOfPlayer(int actorNr)
    {
        // removes all "Instantiation" events of player actorNr. this is not an event for anyone else
        RaiseEventOptions options = new RaiseEventOptions() { CachingOption = EventCaching.RemoveFromRoomCache, TargetActors = new int[] { actorNr } };
        this.OpRaiseEvent(PunEvent.Instantiation, null, true, options);
        //this.OpRaiseEvent(PunEvent.Instantiation, null, true, 0, new int[] { actorNr }, EventCaching.RemoveFromRoomCache);
    }
NetworkingPeer