示例#1
0
 // Start is called before the first frame update
 protected virtual void Start()
 {
     _velocity = Vector3.zero;
     _behavior = GetComponent <AIBehavior>();
     if (_behavior != null)
     {
         _behavior.Init(this);
     }
 }