how to get a gameobject tag in unity c# code example Example: find gameobject with tag GameObject.FindGameObjectsWithTag("Enemy");