자주 사용되는 메소드들
자주 사용되는 메소드들
자주 사용되는 메소드들
자주 사용되는 메소드들
void Update() { if (movementController.TriggerShoot) { Transform lookAt = movementController.aimingTo.transform; GameObject arrow = objectPooler.SpawnFromPool("Arrow", firePoint.position, lookAt.rotation); ///arrow.transform.LookAt(new Vector3(lookAt.x, firePoint.position.y, lookAt.y)); arrow.GetComponent <ArrowProjectile>().Fire(firePoint); animationController.Fire(); } }