//how to reference the position of a gameObject in unityusing System.Collections;
using System.Collections.Generic;
using UnityEngine;
publicclassExampleScript : MonoBehaviour
{
private Transform player;
privatevoidStart(){
player = GameObject.Find("Player").transform;
}
}