Which one is good on performance?
public Rigidbody rb;
public GameObject player;
//assign in the editor
vs
Rigidbody rb;
GameObject player;
string playertag = "Player";
Awake()
{
player = GameObject.FindGameObjectWithTag(playertag);
rb = player.GetComponent<Rigidbody>();
}