Esempio n. 1
0
 protected override void AfterOnEnable()
 {
     if (_autoPickWhenDugUp && _onDugEvent != null)
     {
         _onDugEvent.RegisterListener(this);
     }
 }
Esempio n. 2
0
 // Start is called before the first frame update
 void Start()
 {
     laserSpawnEvent.RegisterListener(this);
 }
 private void OnEnable()
 {
     Event.RegisterListener(this);
 }
Esempio n. 4
0
 // Start is called before the first frame update
 void Start()
 {
     laserWarnEvent.RegisterListener(this);
 }