예제 #1
0
 public void Inject(PigmanController controller)
 {
     animator        = controller.di.animator;
     physics         = controller.di.physics;
     animationEvents = controller.di.animationEvents;
     data            = controller.data;
     range           = controller.di.range;
 }
예제 #2
0
 public void Inject(PigmanController controller)
 {
     range        = controller.di.range;
     stateMachine = controller.di.stateMachine;
 }