Esempio n. 1
0
        private void SetupInternal(double duration, DelegateUpdateCallback updateCallback)
        {
            this.duration       = duration;
            this.updateCallback = updateCallback;

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