Exemplo n.º 1
0
    void Start()
    {
        rigidBody   = GetComponent <Rigidbody2D>();
        boxCollider = GetComponent <BoxCollider2D>();

        freezeTimer = gameObject.AddComponent <Timer>();

        EventsManager.AddFreezeListener(FreezePaddle);
    }