/// <summary>
    /// Does the references to CameraFocusTransform, CameraTransform, PlayerGameobject CameraCamera and MenuManagementPause
    /// </summary>
    public void Initialise()
    {
        PlayerGameObject     = GameObject.Find("Player");
        CameraFocusTransform = GetComponent <Transform>();
        CameraTransform      = CameraFocusTransform.Find("PlayerCamera");

        Menu = GameObject.Find("Canvas").GetComponent <MenuManagement.MenuManager>();
    }
Esempio n. 2
0
 void Start()
 {
     Menu = GameObject.Find("Canvas").GetComponent <MenuManagement.MenuManager>();
 }