Ejemplo n.º 1
0
 public bool SetInputWeight(int inputIndex, float weight)
 {
     if (this.CheckInputBounds(inputIndex))
     {
         Playable.SetInputWeightFromIndexInternal(ref this, inputIndex, weight);
         return(true);
     }
     return(false);
 }
Ejemplo n.º 2
0
        public bool SetInputWeight(int inputIndex, float weight)
        {
            bool result;

            if (this.CheckInputBounds(inputIndex))
            {
                Playable.SetInputWeightFromIndexInternal(ref this, inputIndex, weight);
                result = true;
            }
            else
            {
                result = false;
            }
            return(result);
        }