Scaling Issue with the Web view
Open
Nobody has claimed this yet.
- Dominant language
- Objective-C++
- Stars
- 2.7k
- Forks
- 734
- Avg merge
- 11h 39m
- Merged PRs (30d)
- 1
Description
I have developed a code for dragging for a panel in unity 3d ; But, That codes are not working with this Web view .. can i know a solution where i can make it ??
public class Dragpanel : MonoBehaviour
{
// Start is called before the first frame update
float OffsetX;
float OffsetY;
public void BeginDrag()
{
OffsetX = transform.position.x - Input.mousePosition.x;
OffsetY = transform.position.y - Input.mousePosition.y;
}
public void OnDrag()
{
transform.position = new Vector3(OffsetX + Input.mousePosition.x, OffsetY + Input.mousePosition.y);
}
}
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue with the Dragpanel class and its BeginDrag and OnDrag methods in the Unity web view. Compare the panel's coordinate and scaling behavior during dragging, including the web view's target platform and input handling. Done means the panel can be dragged reliably at the intended scale.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, unity
- Domain
- game-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100