public GroundCollider(
     LayerMask walkable,
     CharacterMotionController controller,
     QueryTriggerInteraction triggerInteraction,
     float tolerance     = 0.05f,
     float tinyTolerance = 0.01f)
 {
     this._walkableLayer      = walkable;
     this._controller         = controller;
     this._triggerInteraction = triggerInteraction;
     this._tolerance          = tolerance;
     this._tinyTolerance      = tinyTolerance;
 }
예제 #2
0
 public void AttachController(CharacterMotionController controller)
 {
     _controller = controller;
 }