internal void Initialize(ComponentTweenParam param, GameObject[] objs) { if (objs == null || objs.Length <= 0) { throw new Exception("GameObject is null"); } var currentCount = GetComponent(objs); _param = param; _isCacheDefaultValue = false; _begins = new TweenValue[currentCount]; _caches = new TweenValue[currentCount]; for (var i = 0; i < currentCount; i++) { _caches[i] = new TweenValue(); _begins[i] = new TweenValue(); } }
internal ComponentTweener(ComponentTweenParam param, TweenTarget target) { _param = param; _target = target; }