public void TakeAuthorityOverObject(NetworkInfo networkInfo)
    {
        Assert.IsTrue(networkInfo.GetAuthorityIndex() == 0);
#if DEBUG_AUTHORITY
        Debug.Log("client " + clientIndex + " took authority over cube " + networkInfo.GetCubeId());
#endif // #if DEBUG_AUTHORITY
        networkInfo.SetAuthorityIndex(authorityIndex);
        networkInfo.IncreaseAuthoritySequence();
        if (!IsServer())
        {
            networkInfo.ClearConfirmed();
        }
        else
        {
            networkInfo.SetConfirmed();
        }
    }