Exemplo n.º 1
0
        public override void OnInspectorGUI()
        {
            base.OnInspectorGUI();
            UCL_TweenTimeManager manager = target as UCL_TweenTimeManager;

            m_ScrollPos = GUILayout.BeginScrollView(m_ScrollPos);
            manager.OnInspectorGUI();
            GUILayout.EndScrollView();
        }
Exemplo n.º 2
0
        public void Init()
        {
            if (m_Inited)
            {
                return;
            }

            m_Inited      = true;
            m_TimeManager = UCL_TweenTimeManager.Create(gameObject);
        }
Exemplo n.º 3
0
 /// <summary>
 /// Start the Tween on manager
 /// </summary>
 /// <returns></returns>
 virtual public UCL_Tween Start(UCL_TweenTimeManager manager = null)
 {
     if (manager == null)
     {
         if (UCL_TweenManager.Instance != null)
         {
             manager = UCL_TweenManager.Instance.TimeManager;
         }
     }
     if (manager != null)
     {
         manager.Add(this);
     }
     return(this);
 }