Ejemplo n.º 1
0
    void PickAppleFromGround(Vector3 pos)
    {
        Vector2 fingerPos = pos;

        if (tools.IsObjAtPosition(gameObject, fingerPos))
        {
            director.appleState = ObjStates.AppleState.InBag;
        }
    }