123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
- public class UserSelectionpaneEnterFX : MonoBehaviour
- {
- // Start is called before the first frame update
- public Vector3 moveToEndV3;
- public Quaternion moevToendRotV3;
- void Start()
- {
-
- }
- // Update is called once per frame
- void Update()
- {
-
- }
- public string currentEnterStr;
- public string LastStr;
- private bool isOne;
- public void userEnterClick(bool isEnter, string buttonName)
- {
- currentEnterStr = buttonName;
- if (currentEnterStr == currentUserClikcStr)
- {
- return;
- }
- else
- {
- if (isEnter)
- {
- this.gameObject.transform.position = moveToEndV3;
- this.gameObject.transform.rotation = moevToendRotV3;
- }
- else
- {
-
- }
- }
- }
- private string currentUserClikcStr;
- public void userClickButtonStr(string str)
- {
- currentUserClikcStr = str;
- }
- }
|