void OnDestroy() { MyRVOManager.GetInstance().UnRegister(aipath); }
void init() { aipath = GetComponent <AIPath>(); MyRVOManager.GetInstance().Register(aipath); }