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)); }
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); }
private void CreateNewUniTween() { for (int i = 0; i < uniTweens.Count; i++) { if (uniTweens[i] == null) { uniTweens[i] = new UniTweenObject(); } } }