예제 #1
0
        public static CommandDelegate AlphaFrom(Material material, float startAlpha, double duration, CommandEase ease = null)
        {
            CheckArgumentNonNull(material, "material");

            return ChangeFrom(material.ToAlphaRef(), startAlpha, duration, ease);
        }
예제 #2
0
        public static CommandDelegate AlphaBy(Material material, float offset, double duration, CommandEase ease = null)
        {
            CheckArgumentNonNull(material, "material");

            return ChangeBy(material.ToAlphaRef(), offset, duration, ease);
        }