Exemplo n.º 1
0
        public MTFadeToState(MTFadeTo action, GameObject target)
            : base(action, target)
        {
            ToOpacity = action.ToOpacity;

            var pRGBAProtocol = target;
            if (pRGBAProtocol != null)
            {
                FromOpacity = pRGBAProtocol.getOpacity();
            }
        }
Exemplo n.º 2
0
        public MTFadeToState(MTFadeTo action, GameObject target)
            : base(action, target)
        {
            ToOpacity = action.ToOpacity;

            var pRGBAProtocol = target;

            if (pRGBAProtocol != null)
            {
                FromOpacity = pRGBAProtocol.getOpacity();
            }
        }