void Awake() { mUIRootObj = GameObject.Find("UIRoot"); mPathFinderCostTime = GenericHelper.FindChildByName(mUIRootObj, "PathFinderCost").GetComponent <Text>(); }