// Use this for initialization void Start() { StartCoroutine("UpdateEveryMinute"); StartCoroutine("UpdateEvery2Sec"); _canvas = GetChildCalled(H.Canvas, gameObject); _resources = FindGameObjectInHierarchy("Resources", Canvas); //if resource is null is another Form. The MainMenu Form if (_resources != null) { _startPosIni = GetChildCalled(H.Start, Resources); //LoadMainInventory(); } //is the main gui if (transform.name.Contains("MainGUI")) { _showPathToSea = new ShowPathTo(); _miniHelper = FindObjectOfType <MiniHelper>(); } InitIconsAndNotis(); }