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