A method of detector description transformation to Unity and its application in BESIII