Beispiel #1
0
 protected virtual void Init()
 {
     Rb = gameObject.GetComponent <Rigidbody>();
     _childColliderList         = PhysicsUtils.GetAllChildColliders(transform);
     Transform                  = transform;
     _velocityMax               = 10;
     _distMaxForFollowingAngVel = 0.5f;
 }