protected void Awake() { this.m_pathfindProfiler = new ThreadProfiler(); m_innerPathFind.OnAwake(); typeof(PathFind) .GetFieldByName("m_pathFindThread") .SetValue(this, m_innerPathFind.PathFindThread); }