public List BoardPosition = new List();
public int CurrentPosition = 1;
public int DiceValues = 0;
public dice_raycast Dice1;
public dice_raycast Dice2;
void Start()
{
if(BoardPosition == 0) //error saying transform and int cant equal
BoardPosition.Add(GameObject.FindGameObjectsWithTag("SquareBoardPosition"));
// above has invalid arguments and cannot convert gameobject to transform.
CurrentPosition = 1;
}
I' m trying to create a board game movement script, but this part of my code gives me errors. I understand what they're saying I just don't know haw to fix them.
↧