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