예제 #1
0
 [Inject] public void Construct(DefaultModeBehaviour modeBehaviour, SurviveModeBehaviour surviveModeBehaviour)
 {
     _modeBehaviour        = modeBehaviour;
     _surviveModeBehaviour = surviveModeBehaviour;
 }
예제 #2
0
 public void Construct([InjectOptional] SurviveModeBehaviour modeBehaviour, SignalBus signalBus)
 {
     _modeBehaviour = modeBehaviour;
     _signalBus     = signalBus;
 }