Exemple #1
0
 /// <summary>
 /// Sets a property or field to tween,
 /// directly assigning the given <c>TweenPlugin</c> to it.
 /// Behaves as <c>NewProp()</c>, but without removing the other property tweens that were set in this <see cref="TweenParms"/>.
 /// </summary>
 /// <param name="p_propName">
 /// The name of the property.
 /// </param>
 /// <param name="p_plugin">
 /// The <see cref="ABSTweenPlugin"/> to use.
 /// </param>
 public TweenParms Prop(string p_propName, ABSTweenPlugin p_plugin)
 {
     return Prop(p_propName, p_plugin, false);
 }
Exemple #2
0
 internal TweenEvent(IHOTweenComponent p_tween, object[] p_parms, ABSTweenPlugin p_plugin)
 {
     _tween = p_tween;
     _parms = p_parms;
     _plugin = p_plugin;
 }
 /// <summary>
 /// Manages on plugin results behaviour.
 /// </summary>
 protected void OnPluginUpdated(ABSTweenPlugin p_plugin)
 {
     if (steadyIgnoreCallbacks || ignoreCallbacks) {
         return;
     }
     if (onPluginUpdated != null) {
         onPluginUpdated();
     } else if (onPluginUpdatedWParms != null) {
         onPluginUpdatedWParms(new TweenEvent(this, onPluginUpdatedParms, p_plugin));
     }
 }
Exemple #4
0
        // ***********************************************************************************
        // CONSTRUCTOR
        // ***********************************************************************************

        internal TweenEvent(IHOTweenComponent p_tween, object[] p_parms)
        {
            _tween = p_tween;
            _parms = p_parms;
            _plugin = null;
        }