Exemplo n.º 1
0
    void Awake()
    {
        _newPosition = transform.position.AsVector2();
        _oldPosition = _newPosition;
        _vely        = 5 * GRAVITY;

        _snap       = GetComponent <SpiderSnap>();
        _blobBinder = GetComponentInChildren <BlobBinder>();
        _anim       = GetComponentInChildren <Animator>();
    }
Exemplo n.º 2
0
    void Awake()
    {
        _newPosition = transform.position.AsVector2();
        _oldPosition = _newPosition;
        _vely = 5*GRAVITY;

        _snap = GetComponent<SpiderSnap>();
        _blobBinder = GetComponentInChildren<BlobBinder>();
        _anim = GetComponentInChildren<Animator>();
    }