//private int layerMask = 1 << 9;

        public void Setup(MapPos mapPos, DelGetPosition getPosition, DelSetPosition setPosition, float speed)
        {
            this.mapPos      = mapPos;
            this.getPosition = getPosition;
            this.setPosition = setPosition;
            this.speed       = speed;
        }
Exemplo n.º 2
0
        //private int layerMask = 1 << 9;

        public void Setup(MapPos mapPos, DelGetPosition getPosition, DelSetPosition setPosition, float speed)
        {
            this.mapPos      = mapPos;
            this.getPosition = getPosition;
            this.setPosition = setPosition;
            this.speed       = speed;

            if (isMoving)
            {
                // Ignore Warning
            }
        }