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();
            }
        }
Exemple #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);
        }
 public override CCFiniteTimeAction Reverse()
 {
     return(new CCDeccelAmplitude((CCAmplitudeAction)OtherAction.Reverse(), Duration, Rate));
 }