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