예제 #1
0
 private Tween GetTween(UniTweenObject uniTween, GameObject playerInstance, string playerDisplayName)
 {
     if (uniTween.tweenData == null)
     {
         Debug.LogError($"Tween sequence {SequenceInstance.stringId} found an empty tween data.", playerInstance);
         return(null);
     }
     return(uniTween.tweenData.ToTween(uniTween.target, playerInstance, playerDisplayName));
 }
예제 #2
0
 private Tween GetTween(UniTweenObject uniTween)
 {
     if (uniTween != null && uniTween.tweenData != null)
     {
         Tween t = uniTween.tweenData.GetTween(uniTween.target);
         t.SetDelay(uniTween.tweenData.delay);
         return(t);
     }
     return(null);
 }
예제 #3
0
 private void CreateNewUniTween()
 {
     for (int i = 0; i < uniTweens.Count; i++)
     {
         if (uniTweens[i] == null)
         {
             uniTweens[i] = new UniTweenObject();
         }
     }
 }