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

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

            var pRGBAProtocol = target;

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