void ResetData()
    {
        hadSetVibrate        = hadSetWarning = hadLockScreen = false;
        transform.localScale = Vector3.one * ratioScaleDefault;

        // Color _c = Color.black;
        // _c.a = 0f;
        // txtCountDown.color = _c;

        diskShakeController.SetUpStopShake();
        diskShakeController.transform.localPosition = Vector3.zero;
        diskShakeController.transform.localRotation = Quaternion.identity;

        textCountDownShakeController.SetUpStopShake();
        textCountDownShakeController.transform.localPosition = Vector3.zero;
        textCountDownShakeController.transform.localRotation = Quaternion.identity;

        for (int i = 0; i < listItems.Count; i++)
        {
            listItems[i].sprite = null;
            listItems[i].transform.localRotation = Quaternion.identity;
            listItems[i].transform.localPosition = posItemHolder[i];
        }
    }
Beispiel #2
0
 void ResetData()
 {
     hadSetVibrate      = hadSetWarning = false;
     txtCountDown.color = Color.white;
     myShakeController.SetUpStopShake();
 }