improve Unity support