Пример #1
0
        public void ShowTestPlay()
        {
            TestPlay test = Instantiate(mTestPlay, mTestPlay_Parent);

            test.Init();
            test.transform.localPosition = new Vector3(700, 250, 0);
            test.transform.DOLocalMoveX(-700, TESTPLAY_TIME).SetEase(Ease.Linear)
            .OnComplete(() => {
                Destroy(test.gameObject);
            });
        }