// Start is called before the first frame update
    protected override void Start()
    {
        base.Start();

        projectiles = GetComponent <ObjectPoolHandler>();
        aimer       = GetComponent <IKGunAim>();
    }
Exemple #2
0
 // Start is called before the first frame update
 void Start()
 {
     playerAnimator = GetComponent <Animator>();
     rb             = GetComponent <Rigidbody>();
     aimer          = GetComponent <IKGunAim>();
     mousePlane     = new Plane(Vector3.up, Vector3.zero);
 }