private void SetupInternal(double duration, DelegateUpdateCallback updateCallback) { this.duration = duration; this.updateCallback = updateCallback; this.time = 0; this.Update(0); }
public static void Setup( IClientSceneObject sceneObject, double duration, DelegateUpdateCallback updateCallback) { sceneObject.AddComponent <ClientComponentGenericAnimationHelper>() .SetupInternal(duration, updateCallback); }