示例#1
0
 private void Start()
 {
     _vfxSpawner = GetComponent <VfxSpawner>();
 }
示例#2
0
 void Start()
 {
     _rb = GetComponent <Rigidbody2D>();
     _triggerDetector = GetComponentInChildren <TriggerDetector>();
     _vfxSpawner      = GetComponent <VfxSpawner>();
 }