FCSCommon.Helpers.MaterialHelpers.ChangeMaterialColor(string, UnityEngine.GameObject, UnityEngine.Color, UnityEngine.Color, UnityEngine.Color)

Here are the examples of the csharp api FCSCommon.Helpers.MaterialHelpers.ChangeMaterialColor(string, UnityEngine.GameObject, UnityEngine.Color, UnityEngine.Color, UnityEngine.Color) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

1 Examples 7

19 View Source File : MaterialHelpers.cs
License : MIT License
Project Creator : ccgould

[Obsolete("This method will be removed in upcoming update please use MaterialHelpers.ChangeMaterialColor instead.")]
        /// <summary>
        /// Change the color of the body of the gameobject
        /// </summary>
        /// <param name="matNameColor">The material to change</param>
        /// <param name="color">The color to change to</param>
        /// <param name="gameObject">The game object to apply the change too.</param>
        internal static void ChangeBodyColor(string matNameColor, Color color, GameObject gameObject)
        {
            MaterialHelpers.ChangeMaterialColor(matNameColor, gameObject, color);
        }