[RCC(12)]
static GameObject OnRollDie(GameObject prefab, Vector3 pos, Quaternion rot, Vector3 RandomRotation, Vector3 RandomTorque, string DieType, string DieColor, bool UseBanner, string GameDieTypeName)
{
GameObject _DiePrefab = Instantiate(Resources.Load("Prefabs/"+DieType+"_"+DieColor), pos, rot) as GameObject;
_DiePrefab.name = GameDieTypeName;
if(_DiePrefab.GetComponent<TNObject>().isMine)
{
GameManagerMethods.DieRollFromActiveHost(_DiePrefab, RandomRotation, RandomTorque, DieType, GameDieTypeName);
}
return _DiePrefab;
}