I already made sort of a database, but I'm new to c# so I don't really know how to move one player witch in my code is "Stephen Curry". This would be a trade feature. So how can I move one player to another team?
Heres my code
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class NewBehaviourScript : MonoBehaviour
{
public List<Players> items = new List<Players>();
void BuildPlayerDatabase()
{
Players = new List<Players>()
{
new Players(1, "Stephen Curry", "A long range Shooter",
new Dictionary<string, int>{
{ "Shooting", 98 }
})
};
}
}