コード例 #1
0
        public void StartTween(T info)
        {
            if (this.m_CoroutineContainer == null)
            {
                Debug.LogWarning("Coroutine container not configured... did you forget to call Init?");
                return;
            }
            this.StopTween();
            if (!this.m_CoroutineContainer.gameObject.activeInHierarchy)
            {
                info.TweenValue(1f);
                return;
            }
            this.m_Tween = TweenRunner <T> .Start(info);

            this.m_CoroutineContainer.StartCoroutine(this.m_Tween);
        }