错误整理

  1、GameObjject find 只能find active 是TRUE的物体


  bug13122101

  ngReferenceException: The object of type 'Transform' has been destroyed but you are still trying to access it.  Your script should either check if it is null or you should not      destroy the object.antMove16.Update () (at Assets/Script/ant/antMove16.cs:82)

      原因是  mayi= transform. Find("MaYi").transform;  第一个transform写成了gameobject      

  bug13122501

    SetDestination" can only be called on an active agent that has been placed on a NavMesh

你可能感兴趣的:(错误整理)