Loot.Update C# (CSharp) Method

Update() private method

private Update ( ) : void
return void
    void Update()
    {
        if (isServer)
        {
            this.items.Items.Ent.Life -= Time.deltaTime;
            if (this.items.Quantity == this.items.Items.Size && this.items.Items.Ent.Prefab.GetComponent<SphereCollider>().enabled)
                this.items.Items.Ent.Prefab.GetComponent<SphereCollider>().enabled = false;
        }
    }