Пример #1
0
    // Start is called before the first frame update
    protected override void Start()
    {
        base.Start();

        projectiles = GetComponent <ObjectPoolHandler>();
        aimer       = GetComponent <IKGunAim>();
    }
Пример #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);
 }