public bool Execute(GraphicEntity entity) { var find = entity.GetComponents <GeneralCameraComponent>(); if (!find.Any()) { return(false); } entity.RemoveComponents <CameraMovementComponent>(); return(true); }
public bool Execute(GraphicEntity entity) { var find = entity.GetComponents <GeneralCameraComponent>(); if (!find.Any()) { return(false); } var ccom = find.First(); ccom.ResetToDefault(); entity.RemoveComponents <CameraMovementComponent>(); return(true); }