// Token: 0x06005075 RID: 20597 RVA: 0x001B83FC File Offset: 0x001B67FC
    public static string WhyNotReady(this GameObject go)
    {
        if (go == null)
        {
            return("object is null");
        }
        NetworkMetadata component = go.GetComponent <NetworkMetadata>();

        return((!(component == null)) ? ((!component.isReady) ? ("waiting for " + component.waitingFor) : "ready") : "no metadata");
    }
示例#2
0
    // Token: 0x0600505D RID: 20573 RVA: 0x001B7E98 File Offset: 0x001B6298
    public static void BlockReady(this Component c)
    {
        if (c == null)
        {
            return;
        }
        NetworkMetadata orAddComponent = c.gameObject.GetOrAddComponent <NetworkMetadata>();

        if (orAddComponent != null)
        {
            orAddComponent.AddReadyBlock(c);
        }
    }