public TweenScaleStrategy(Transform target, ITweenSharedState sharedSharedState, IValueModifier <Vector2> modHandler, ITweenPlayStyleStrategy style) { _target = target; _mod = modHandler; _style = style; _sharedState = (TweenSharedState <Vector2>)sharedSharedState; _state = TweenComponentState.None; _remote = new TweenRemoteControl(); _style.InitializeState(); SubscribeToRemote(); }
public TweenAlphaStrategy(Graphic target, ITweenSharedState sharedState, IValueModifier <float> modHandler, ITweenPlayStyleStrategy style) { _target = target; _mod = modHandler; _style = style; _sharedState = (TweenSharedState <float>)sharedState; _state = TweenComponentState.None; _remote = new TweenRemoteControl(); _style.InitializeState(); SubscribeToRemote(); }