Esempio n. 1
0
    private void Initialize()
    {
        rb   = GetComponent <Rigidbody2D>();
        sr   = GetComponent <SpriteRenderer>();
        cols = GetComponents <CapsuleCollider2D>();
        ph   = GetComponent <PlayerHit>();

        startGrounderTimer = groundedTimer;

        ph.Initialize();
    }