>>16
intもそうですが、できれば構造を変えましょう。

//ランダムに1〜5を取得
string weaponId =myFile(UnityEngine.Random.Range(1, 6));