public IEnumerator Path() { yield return(LoadScene(sceneName)); var gameObject = Objects.Find <GameObject>("Text"); string path = Objects.AbsolutePath(gameObject); Assert.AreEqual("Canvas/Level/Button Two/Text", path); }