I’m currently trying to convert this 2D code (sprite) to 3D (3D game objects), but I don’t know how. Can anyone tell me how to convert these things? This is the code
void InitializeSpriteDictionary() {
spriteDictionary = new Dictionary<char, Sprite> ();
spriteDictionary.Add (' ', none);
spriteDictionary.Add ('r', blackRook);
spriteDictionary.Add ('n', blackKnight);
spriteDictionary.Add ('b', blackBishop);
spriteDictionary.Add ('q', blackQueen);
spriteDictionary.Add ('k', blackKing);
spriteDictionary.Add ('p', blackPawn);
spriteDictionary.Add ('R', whiteRook);
spriteDictionary.Add ('N', whiteKnight);
spriteDictionary.Add ('B', whiteBishop);
spriteDictionary.Add ('Q', whiteQueen);
spriteDictionary.Add ('K', whiteKing);
spriteDictionary.Add ('P', whitePawn);
}