public static SpriteRequestCurrentStateMessage Send(uint spriteHandlerManager)
    {
        var msg = new SpriteRequestCurrentStateMessage()
        {
            SpriteHandlerManager = spriteHandlerManager
        };

        msg.Send();
        return(msg);
    }
Ejemplo n.º 2
0
    private IEnumerator WaitForNetInitialisation()
    {
        yield return(WaitFor.Seconds(3));

        SpriteRequestCurrentStateMessage.Send(this.GetComponent <NetworkIdentity>().netId);
    }