Exemplo n.º 1
0
        public override void SetUpReference()
        {
            ISmoothLooker looker = smoothLookerAdaptor.GetSmoothLooker();
            IPlayerCharacterLookAtTarget lookAtTarget = GetLookAtTarget();

            lookAtTarget.SetSmoothLooker(looker);
            lookAtTarget.SetDirection(new Vector3(0f, 0f, 1f));
        }
Exemplo n.º 2
0
            public ConstArg(
                IProcessManager processManager,

                IPlayerCharacterLookAtTarget lookAtTarget,
                ISmoothLooker smoothLooker,
                int processOrder
                ) : base(
                    processManager
                    )
            {
                thisLookAtTarget = lookAtTarget;
                thisSmoothLooker = smoothLooker;
                thisProcessOrder = processOrder;
            }
 public IPlayerCharacterLookAtTargetMotionProcess CreateLookAtTargetMotionProcess(
     IPlayerCharacterLookAtTarget lookAtTarget,
     ISmoothLooker smoothLooker,
     int processOrder
     )
 {
     PlayerCharacterLookAtTargetMotionProcess.IConstArg arg = new PlayerCharacterLookAtTargetMotionProcess.ConstArg(
         thisProcessManager,
         lookAtTarget,
         smoothLooker,
         processOrder
         );
     return(new PlayerCharacterLookAtTargetMotionProcess(arg));
 }
Exemplo n.º 4
0
 public override void SetUp()
 {
     thisLookAtTarget = CreateLookAtTarget();
 }