private void OnTriggerEnter(Collider other) { if (other.name == "InnerCollider") { PushBoxCollider script = other.GetComponent <PushBoxCollider>(); if (script) { script.threshold = threshold; script.stickyTime = stickyTime; Client.Instance.SendMessage(MessageType.BoxLedge); } } }