Text Adventure in India
- February 13, 2023
- sushmita.narayana
Scratch effect - using System.Collections; using System.Collections.Generic; using UnityEngine; public class scratchcardeffect : MonoBehaviour { public GameObject maskprefab; private bool isPressed = false; // Update is called once per frame void Update() { var mousePos = Input.mousePosition; mousePos.z = 3; mousePos = Camera.main.ScreenToWorldPoint (mou…