コード例 #1
0
 /// <summary>
 /// This function is used to call into sub classes of
 /// VisBasePropertyModifer, in order for them to set their
 /// target property to the new value specified.
 /// </summary>
 /// <param name="propertyValue">The new value to set the property to.</param>
 public override void SetProperty(float propertyValue)
 {
     VisPropertyHelper.SetGameObjectProperty(gameObject, targetProperty, propertyValue);
     returnedValue = propertyValue;
     brutValue     = brutValue;
     //Debug.Log(returnedValue);
 }
コード例 #2
0
 /// <summary>
 /// This function is used to call into sub classes of
 /// VisBasePropertyModifer, in order for them to set their
 /// target property to the new value specified.
 /// </summary>
 /// <param name="propertyValue">The new value to set the property to.</param>
 public override void SetProperty(float propertyValue)
 {
     VisPropertyHelper.SetGameObjectProperty(gameObject, targetProperty, propertyValue);
 }