コード例 #1
0
 protected override void Awake()
 {
     base.Awake();
     Facade.AddMonoListener(LateUpdateCamera, UpdateType.LateUpdate, out lateUpdateID);
     Facade.AddEventListener(ControllerEventCodeParams.CONTROLLER_INPUT, CameraHandler);
     Facade.RegisterController(this);
 }
コード例 #2
0
 protected override void Awake()
 {
     base.Awake();
     animator            = GetComponentInChildren <Animator>();
     controllerEventArgs = new LogicEventArgs <CameraTarget>().SetData(GetComponentInChildren <CameraTarget>());
     Facade.SetInputDevice(new StandardInputDevice());
     Facade.RegisterController(this);
 }