Exemple #1
0
    public void RPCTakeDamage(byte[] hitInfoBytes)
    {
        Debug.Log("RPC Take Damage Called");
        HitInfo hitInfo = HitInfo.BytesToHitInfo(hitInfoBytes);

        TakeDamage(hitInfo);
    }
Exemple #2
0
    public void RPCHitOneTank(byte[] hitInfoBytes)
    {
        Debug.Log("RPCHitOneTank called");
        HitInfo hitInfo = HitInfo.BytesToHitInfo(hitInfoBytes);

        HitOneTank(hitInfo);
    }