unity getcomponent transform.position

Code Example - unity getcomponent transform.position

                
                        player = GameObject.FindGameObjectWithTag("Player").GetComponent<Transform>();