コード例 #1
0
        public static void doDone(OtherAction actionObject)
        {
            var actor = SceneViews.instance.getCurFBScene().getActor(actionObject.objectID);

            if (actor.animator != null)
            {
                //Debuger.LogError(actionObject.physicalFrameNumber + "   ActorAnimatorState.Other " + processor.cache.ToString());
                actor.animator.SetInteger("state", (int)ActorAnimatorState.Other);
                actor.resetAnimtorSpeed();
                actor.hideRunEffect();
            }
        }
コード例 #2
0
        private static OtherAction GetOtherAction(ProductivityImportModel productivityImportModel)
        {
            var other = new OtherAction {
                Id           = productivityImportModel.DocumentNumber.Trim(),
                DocumentName = productivityImportModel.DocumentName,

                StartTime = productivityImportModel.StartTime,
                Duration  = TimeSpan.FromSeconds(productivityImportModel.OperationDuration),
                Operation = new Operation {
                    Name = productivityImportModel.Operation.Trim()
                },
                Employee = GetEmployee(productivityImportModel),
            };

            return(other);
        }
コード例 #3
0
 public override CCFiniteTimeAction Reverse()
 {
     return(new CCDeccelAmplitude((CCAmplitudeAction)OtherAction.Reverse(), Duration, Rate));
 }