Exemple #1
0
 public bool SetInputWeight(int inputIndex, float weight)
 {
     if (this.CheckInputBounds(inputIndex))
     {
         Playable.SetInputWeightFromIndexInternal(ref this, inputIndex, weight);
         return(true);
     }
     return(false);
 }
        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);
        }